roneos
Operating System for the r-one robot
 All Data Structures Files Functions Variables Typedefs Groups
VS1053.h
1 #ifndef VS1053_H_
2 #define VS1053_H_
3 
4 /* MIDI COMMANDS for the VS1053 chip */
5 #define MIDI_CHANNEL_EVENT_TYPE_MASK 0xF0
6 #define MIDI_NOTEOFF 0x80 /* Note off */
7 #define MIDI_NOTEON 0x90 /* Note on */
8 #define MIDI_PRESSURE 0xa0 /* Polyphonic key pressure */
9 #define MIDI_CONTROL 0xb0 /* Control change */
10 #define MIDI_PROGRAM 0xc0 /* Program change */
11 #define MIDI_CHANPRES 0xd0 /* Channel pressure */
12 #define MIDI_PITCHB 0xe0 /* Pitch wheel change */
13 #define MIDI_SYSEX 0xf0 /* System exclusive data */
14 
15 #define MIDI_CHANNEL_EVENT_CHANNEL_MASK 0x0F
16 #define MIDI_CHANNEL_MASK MIDI_CHANNEL_EVENT_CHANNEL_MASK
17 
18 #endif