xref: /reactos/sdk/include/reactos/libs/sound/midi.h (revision c2c66aff)
1*c2c66affSColin Finck /*
2*c2c66affSColin Finck     ReactOS Sound System
3*c2c66affSColin Finck     MIDI constants
4*c2c66affSColin Finck 
5*c2c66affSColin Finck     Author:
6*c2c66affSColin Finck         Andrew Greenwood (silverblade@reactos.org)
7*c2c66affSColin Finck 
8*c2c66affSColin Finck     History:
9*c2c66affSColin Finck         26 May 2008 - Created
10*c2c66affSColin Finck */
11*c2c66affSColin Finck 
12*c2c66affSColin Finck #ifndef ROS_MIDI
13*c2c66affSColin Finck #define ROS_MIDI
14*c2c66affSColin Finck 
15*c2c66affSColin Finck /* Channel-based MIDI status bytes */
16*c2c66affSColin Finck #define MIDI_NOTE_OFF                   0x80
17*c2c66affSColin Finck #define MIDI_NOTE_ON                    0x90
18*c2c66affSColin Finck #define MIDI_KEY_PRESSURE               0xA0
19*c2c66affSColin Finck #define MIDI_CONTROL_CHANGE             0xB0
20*c2c66affSColin Finck #define MIDI_PROGRAM_CHANGE             0xC0
21*c2c66affSColin Finck #define MIDI_CHANNEL_PRESSURE           0xD0
22*c2c66affSColin Finck #define MIDI_PITCH_BEND                 0xE0
23*c2c66affSColin Finck 
24*c2c66affSColin Finck /* System MIDI status bytes */
25*c2c66affSColin Finck #define MIDI_SYSEX_START                0xF0
26*c2c66affSColin Finck #define MIDI_QUARTER_FRAME              0xF1
27*c2c66affSColin Finck #define MIDI_SONG_POSITION              0xF2
28*c2c66affSColin Finck #define MIDI_SONG_SELECT                0xF3
29*c2c66affSColin Finck #define MIDI_TUNE_REQUEST               0xF6
30*c2c66affSColin Finck #define MIDI_SYSEX_END                  0xF7
31*c2c66affSColin Finck #define MIDI_CLOCK                      0xF8
32*c2c66affSColin Finck #define MIDI_TICK                       0xF9
33*c2c66affSColin Finck #define MIDI_START                      0xFA
34*c2c66affSColin Finck #define MIDI_CONTINUE                   0xFB
35*c2c66affSColin Finck #define MIDI_STOP                       0xFC
36*c2c66affSColin Finck #define MIDI_ACTIVE_SENSE               0xFE
37*c2c66affSColin Finck #define MIDI_RESET                      0xFF
38*c2c66affSColin Finck 
39*c2c66affSColin Finck #endif
40