Navigation
API > API/Plugins > API/Plugins/HarmonixMidi
| Name | IMidiReceiver |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/HarmonixMidi/Public/HarmonixMidi/MidiReceiver.h |
| Include Path | #include "HarmonixMidi/MidiReceiver.h" |
Syntax
class IMidiReceiver
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMidiReceiver() |
HarmonixMidi/MidiReceiver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Finalize
(
int32 InLastFileTick |
Called when all tracks have been read. | HarmonixMidi/MidiReceiver.h | |
const IMidiReader * GetReader() |
HarmonixMidi/MidiReceiver.h | ||
bool OnAllTracksRead() |
HarmonixMidi/MidiReceiver.h | ||
bool OnEndOfTrack
(
int32 LastTick |
HarmonixMidi/MidiReceiver.h | ||
bool OnMidiMessage
(
int32 Tick, |
For standard 1- or 2-byte MIDI message | HarmonixMidi/MidiReceiver.h | |
bool OnNewTrack
(
int32 NewTrackIndex |
HarmonixMidi/MidiReceiver.h | ||
virtual bool OnTempo
(
int32 Tick, |
Tempo Change meta - event: tempo is in microseconds per quarter-note | HarmonixMidi/MidiReceiver.h | |
bool OnText
(
int32 Tick, |
Text, Copyright, TrackName, InstName, Lyric, Marker, CuePoint meta-event: "type" is the type of meta-event (constants defined in MidiConstants.h) | HarmonixMidi/MidiReceiver.h | |
virtual bool OnTimeSignature
(
int32 Tick, |
Time Signature meta - event: time signature is numerator/denominator | HarmonixMidi/MidiReceiver.h | |
bool Reset() |
The reader is about to read a new MIDI file. Now is your chance to reset your state. | HarmonixMidi/MidiReceiver.h | |
virtual void SetMidiReader
(
IMidiReader* InReader |
Called by the reader before it starts processing the midi data stream. | HarmonixMidi/MidiReceiver.h | |
virtual bool SetNumTracks
(
int32 Num |
Called when the reader has determined how many tracks are in the midi data | HarmonixMidi/MidiReceiver.h | |
void SkipCurrentTrack() |
Tells the reader to Skip the rest of this track and go to the next one | HarmonixMidi/MidiReceiver.h |