#include <MIDI_Parsers/USBMIDI_Parser.hpp>
Public Member Functions | |
MIDIReadEvent | parse (uint8_t *packet) |
SysExMessage | getSysExMessage () const override |
Get the latest SysEx message. More... | |
ChannelMessage | getChannelMessage () |
Get the latest MIDI channel message. More... | |
RealTimeMessage | getRealTimeMessage () |
Get the latest MIDI real-time message. More... | |
const uint8_t * | getSysExBuffer () const |
Get the pointer to the SysEx data. More... | |
size_t | getSysExLength () const |
Get the length of the SysEx message. More... | |
Static Public Member Functions | |
static bool | isStatus (uint8_t data) |
Check if the given byte is a MIDI header byte. More... | |
static bool | isData (uint8_t data) |
Check if the given byte is a MIDI data byte. More... | |
Protected Member Functions | |
void | startSysEx (uint8_t CN) |
void | endSysEx (uint8_t CN) |
bool | addSysExByte (uint8_t CN, uint8_t data) |
bool | receivingSysEx (uint8_t CN) const |
Protected Attributes | |
uint8_t | activeSysExCN = 0 |
ChannelMessage | midimsg = {0xFF, 0x00, 0x00, 0x0} |
RealTimeMessage | rtmsg = {0xFF, 0x0} |
Private Attributes | |
Array< SysExBuffer, 1 > | sysexbuffers |
Definition at line 19 of file USBMIDI_Parser.hpp.
MIDIReadEvent parse | ( | uint8_t * | packet | ) |
Definition at line 7 of file USBMIDI_Parser.cpp.
|
inlineoverridevirtual |
Get the latest SysEx message.
Implements MIDI_Parser.
Definition at line 24 of file USBMIDI_Parser.hpp.
|
inlineprotected |
Definition at line 32 of file USBMIDI_Parser.hpp.
|
inlineprotected |
Definition at line 33 of file USBMIDI_Parser.hpp.
|
inlineprotected |
Definition at line 37 of file USBMIDI_Parser.hpp.
|
inlineprotected |
Definition at line 40 of file USBMIDI_Parser.hpp.
|
inlineinherited |
Get the latest MIDI channel message.
Definition at line 25 of file MIDI_Parser.hpp.
|
inlineinherited |
Get the latest MIDI real-time message.
Definition at line 27 of file MIDI_Parser.hpp.
|
inlineinherited |
Get the pointer to the SysEx data.
Definition at line 35 of file MIDI_Parser.hpp.
|
inlineinherited |
Get the length of the SysEx message.
Definition at line 37 of file MIDI_Parser.hpp.
|
inlinestaticinherited |
Check if the given byte is a MIDI header byte.
Definition at line 45 of file MIDI_Parser.hpp.
|
inlinestaticinherited |
Check if the given byte is a MIDI data byte.
Definition at line 47 of file MIDI_Parser.hpp.
|
protected |
Definition at line 45 of file USBMIDI_Parser.hpp.
|
private |
Definition at line 49 of file USBMIDI_Parser.hpp.
|
protectedinherited |
Definition at line 40 of file MIDI_Parser.hpp.
|
protectedinherited |
Definition at line 41 of file MIDI_Parser.hpp.