Loading...
Searching...
No Matches
Go to the documentation of this file.
13#define MIDI_DATA(d) (0x7f & (d))
14#define MIDI_CHANNEL(c) (0x0f & ((c) - 1))
15#define MIDI_PORT(c) (((c) - 1) >> 4)
16#define MIDI_PROGRAM(p) MIDI_DATA((p) - 1)
18#define MIDI_STATUS_BIT 0x80
19#define MIDI_COMMON 0x70
20#define MIDI_CODE_MASK 0xf0
21#define MIDI_CHN_MASK 0x0f
22#define MIDI_REALTIME 0xf8
23#define MIDI_CHAN_MODE 0xfa
25#define MIDI_OFF_NOTE 0x80
26#define MIDI_ON_NOTE 0x90
27#define MIDI_POLY_TOUCH 0xa0
29#define MIDI_CH_PROGRAM 0xc0
30#define MIDI_TOUCH 0xd0
33#ifdef UNIX_IRIX_MIDIFNS
34#define CMT_MIDI_SYSEX 0xf0
35#define CMT_MIDI_EOX 0xf7
37#define MIDI_SYSEX 0xf0
40#define MIDI_Q_FRAME 0xf1
41#define MIDI_SONG_POINTER 0xf2
42#define MIDI_SONG_SELECT 0xf3
45#define MIDI_TUNE_REQ 0xf6
46#define MIDI_TIME_CLOCK 0xf8
48#define MIDI_START 0xfa
49#define MIDI_CONTINUE 0xfb
52#define MIDI_ACTIVE_SENSING 0xfe
53#define MIDI_SYS_RESET 0xff
55#define MIDI_LOCAL 0x7a
56#define MIDI_LOCAL_OFF 0x00
57#define MIDI_LOCAL_ON 0x7f
58#define MIDI_ALL_OFF 0x7b
59#define MIDI_OMNI_OFF 0x7c
60#define MIDI_OMNI_ON 0x7d
61#define MIDI_MONO_ON 0x7e
62#define MIDI_POLY_ON 0x7f