Workbench Library  0.1b
workbench_midi.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #define MIDI_CODE_MASK \
13  0xf0
14 #define MIDI_CHN_MASK \
15  0x0f
17 // #define MIDI_REALTIME 0xf8 /**< @brief Realtime MIDI message. */
18 // #define MIDI_CHAN_MODE 0xfa /**< @brief Channel mode MIDI message. */
19 
20 #define MIDI_OFF_NOTE 0x80
21 #define MIDI_ON_NOTE 0x90
22 #define MIDI_POLY_TOUCH \
23  0xa0
24 #define MIDI_CTRL 0xb0
25 #define MIDI_CH_PROGRAM 0xc0
26 #define MIDI_TOUCH \
27  0xd0
28 #define MIDI_BEND 0xe0
30 #define MIDI_SYSEX 0xf0
31 #define MIDI_Q_FRAME 0xf1
32 #define MIDI_SONG_POINTER \
33  0xf2
34 #define MIDI_SONG_SELECT 0xf3
35 #define MIDI_TUNE_REQ 0xf6
36 #define MIDI_EOX 0xf7
37 #define MIDI_TIME_CLOCK 0xf8
38 #define MIDI_START 0xfa
39 #define MIDI_CONTINUE 0xfb
40 #define MIDI_STOP 0xfc
41 #define MIDI_ACTIVE_SENSING 0xfe
42 #define MIDI_SYS_RESET 0xff
44 #define MIDI_ALL_SOUND_OFF 0x78
45 #define MIDI_RESET_CONTROLLERS \
46  0x79
47 #define MIDI_LOCAL 0x7a
48 #define MIDI_ALL_OFF 0x7b
49 #define MIDI_OMNI_OFF 0x7c
50 #define MIDI_OMNI_ON 0x7d
51 #define MIDI_MONO_ON 0x7e
52 #define MIDI_POLY_ON 0x7f