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