41 OnMidi(
int nTick,
unsigned char nStatus,
unsigned char nData1,
unsigned char nData2) = 0;
49 virtual void OnTempo(
int nTick,
int nMicrosecondsPerBeat) = 0;
58 virtual void OnText(
int nTick,
const char *pszText,
unsigned char nType) = 0;
Listener a MIDI file reader reports each track and event to.
Definition midireceiver.h:8
virtual void OnText(int nTick, const char *pszText, unsigned char nType)=0
Report a text meta event.
virtual void OnTimeSignature(int nTick, int nNumerator, int nDenominator)=0
Report a time signature.
virtual void OnTempo(int nTick, int nMicrosecondsPerBeat)=0
Report a tempo change.
virtual void OnAllDone()=0
End the file.
virtual void OnEndTrack()=0
End the track.
virtual void OnNewTrack(unsigned char nTrack)=0
Begin a track.
virtual void OnMidi(int nTick, unsigned char nStatus, unsigned char nData1, unsigned char nData2)=0
Report a channel message.
virtual ~MidiReceiver()
Release the receiver.
Definition midireceiver.h:16