#include <inttypes.h>
#include "Compatibility_v2.5.h"
Go to the source code of this file.
Classes | |
struct | midimsg |
class | MIDI_Class |
Defines | |
#define | COMPATIBILITY_V25 1 |
#define | COMPFLAG_MIDI_IN 1 |
#define | COMPFLAG_MIDI_OUT 1 |
#define | USE_SERIAL_PORT Serial |
#define | USE_RUNNING_STATUS 1 |
#define | MIDI_BAUDRATE 31250 |
#define | MIDI_CHANNEL_OMNI 0 |
#define | MIDI_CHANNEL_OFF 17 |
#define | MIDI_SYSEX_ARRAY_SIZE 255 |
Typedefs | |
typedef uint8_t | byte |
Enumerations | |
enum | kMIDIType { NoteOff = 0x80, NoteOn = 0x90, AfterTouchPoly = 0xA0, ControlChange = 0xB0, ProgramChange = 0xC0, AfterTouchChannel = 0xD0, PitchBend = 0xE0, SystemExclusive = 0xF0, TimeCodeQuarterFrame = 0xF1, SongPosition = 0xF2, SongSelect = 0xF3, TuneRequest = 0xF6, Clock = 0xF8, Start = 0xFA, Continue = 0xFB, Stop = 0xFC, ActiveSensing = 0xFE, SystemReset = 0xFF, InvalidType = 0x00 } |
enum | kThruFilterMode { Off = 0, Full = 1, SameChannel = 2, DifferentChannel = 3 } |
Variables | |
MIDI_Class | MIDI |
Project MIDI Library
Definition in file MIDI.h.
typedef uint8_t byte |
enum kMIDIType |
Enumeration of MIDI types
Definition at line 65 of file MIDI.h.
00065 { 00066 NoteOff = 0x80, // Note Off 00067 NoteOn = 0x90, // Note On 00068 AfterTouchPoly = 0xA0, // Polyphonic AfterTouch 00069 ControlChange = 0xB0, // Control Change / Channel Mode 00070 ProgramChange = 0xC0, // Program Change 00071 AfterTouchChannel = 0xD0, // Channel (monophonic) AfterTouch 00072 PitchBend = 0xE0, // Pitch Bend 00073 SystemExclusive = 0xF0, // System Exclusive 00074 TimeCodeQuarterFrame = 0xF1, // System Common - MIDI Time Code Quarter Frame 00075 SongPosition = 0xF2, // System Common - Song Position Pointer 00076 SongSelect = 0xF3, // System Common - Song Select 00077 TuneRequest = 0xF6, // System Common - Tune Request 00078 Clock = 0xF8, // System Real Time - Timing Clock 00079 Start = 0xFA, // System Real Time - Start 00080 Continue = 0xFB, // System Real Time - Continue 00081 Stop = 0xFC, // System Real Time - Stop 00082 ActiveSensing = 0xFE, // System Real Time - Active Sensing 00083 SystemReset = 0xFF, // System Real Time - System Reset 00084 InvalidType = 0x00 // For notifying errors 00085 };
enum kThruFilterMode |
Enumeration of Thru filter modes
Definition at line 88 of file MIDI.h.
00088 { 00089 Off = 0, // Thru disabled (nothing passes through). 00090 Full = 1, // Fully enabled Thru (every incoming message is sent back). 00091 SameChannel = 2, // Only the messages on the Input Channel will be sent back. 00092 DifferentChannel = 3 // All the messages but the ones on the Input Channel will be sent back. 00093 };