28#define META_EVENT 0xFF
30#define ME_TRACK_SEQ_NUMBER 0x00
32#define ME_COPYRIGHT 0x02
33#define ME_SEQ_OR_TRACK_NAME 0x03
34#define ME_TRACK_INSTR_NAME 0x04
37#define ME_CUE_POINT 0x07
38#define ME_CHANNEL_PREFIX 0x20
39#define ME_MIDI_PORT 0x21
40#define ME_SET_TEMPO 0x51
41#define ME_SMPTE_OFFSET 0x54
42#define ME_TIME_SIGNATURE 0x58
43#define ME_KEY_SIGNATURE 0x59
48#define ME_END_OF_TRACK 0x2F
51#define PERCUSSION_CHANNEL 9
53#define KMID_EXTERNAL_MIDI 1