30#ifndef _NICMIDI_FILEREADMULTITRACK_H
31#define _NICMIDI_FILEREADMULTITRACK_H
72 virtual void mf_arbitrary(
MIDIClockTime time,
int len,
unsigned char *data);
73 virtual void mf_metamisc(
MIDIClockTime time,
int b1,
int b2,
unsigned char *ch);
74 virtual void mf_meta16(
MIDIClockTime time,
int type,
int b1,
int b2);
75 virtual void mf_smpte(
MIDIClockTime time,
int h,
int m,
int s,
int f,
int sf);
76 virtual void mf_timesig(
MIDIClockTime time,
int a,
int b,
int c,
int d);
77 virtual void mf_tempo(
MIDIClockTime time,
int b1,
int b2,
int b3);
78 virtual void mf_keysig(
MIDIClockTime time,
int sf,
int majmin);
79 virtual void mf_sqspecific(
MIDIClockTime time,
int len,
unsigned char *data);
80 virtual void mf_text(
MIDIClockTime time,
int type,
int len,
unsigned char *data);
87 virtual void mf_error(
const char* err);
88 virtual void mf_starttrack(
int trk);
89 virtual void mf_endtrack(
int trk);
90 virtual void mf_header(
int format_,
int ntrks_,
int division_);
Receives MIDI data from a MIDIFileReader (not documented) class and writes them to a MIDIMultiTrack.
Definition: filereadmultitrack.h:51
Holds an array of pointers to MIDITrack objects to be played simultaneously.
Definition: multitrack.h:50
Stores a buffer of MIDI data bytes in a std::vector, plus a byte for the checksum.
Definition: sysex.h:45
The MIDITimedMessage class inherits from the MIDIMessage and represents a message associated with a s...
Definition: msg.h:382
Contains the definition of the classes MIDIFileEventHandler and MIDIFileReader and of the struct MIDI...
unsigned long MIDIClockTime
The type of a variable which can hold a time in MIDI ticks.
Definition: midi.h:40
bool LoadMIDIFile(const char *filename, MIDIMultiTrack *tracks, MIDIFileHeader *const head=0)
Loads a MIDI file into a MIDIMultiTrack object.
MIDIFileHeader & GetMIDIFileHeader(const char *filename)
Returns the header of the MIDI file specified by filename.
Contains the definition of the classes MIDIMultiTrack, MIDIMultiTrackIteratorState,...