2#ifndef DSY_MIDI_PARSER_H
3#define DSY_MIDI_PARSER_H
55 const uint8_t kStatusByteMask = 0x80;
56 const uint8_t kMessageMask = 0x70;
57 const uint8_t kDataByteMask = 0x7F;
58 const uint8_t kChannelMask = 0x0F;
59 const uint8_t kSystemRealTimeMask = 0x07;
Definition leddriver.h:33
Utility class for parsing raw byte streams into MIDI messages.
Definition midi_parser.h:16
MidiParser()
Definition midi_parser.h:18
~MidiParser()
Definition midi_parser.h:19
void Reset()
Reset parser to default state.
bool Parse(uint8_t byte, MidiEvent *event_out)
Parse one MIDI byte. If the byte completes a parsed event, its value will be assigned to the derefere...
void Init()
Definition midi_parser.h:21
MidiMessageType
Definition MidiEvent.h:21
Hardware defines and helpers for daisy field platform.
Definition index.h:2
Definition MidiEvent.h:240