#include <MIDI_Parsers/MIDI_Parser.hpp>
Public Member Functions | |
ChannelMessage | getChannelMessage () |
Get the latest MIDI channel message. More... | |
virtual SysExMessage | getSysEx () const =0 |
Get the latest SysEx 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... | |
virtual uint8_t | getCN () const |
Get the cable number of the latests MIDI 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 Attributes | |
ChannelMessage | midimsg = {} |
Definition at line 84 of file MIDI_Parser.hpp.
ChannelMessage getChannelMessage | ( | ) |
Get the latest MIDI channel message.
Definition at line 17 of file MIDI_Parser.cpp.
|
pure virtual |
Get the latest SysEx message.
Implemented in USBMIDI_Parser, and SerialMIDI_Parser.
|
inline |
Get the pointer to the SysEx data.
Definition at line 95 of file MIDI_Parser.hpp.
|
inline |
Get the length of the SysEx message.
Definition at line 97 of file MIDI_Parser.hpp.
|
inlinevirtual |
Get the cable number of the latests MIDI message.
Reimplemented in USBMIDI_Parser.
Definition at line 99 of file MIDI_Parser.hpp.
|
static |
Check if the given byte is a MIDI header byte.
Definition at line 11 of file MIDI_Parser.cpp.
|
static |
Check if the given byte is a MIDI data byte.
Definition at line 15 of file MIDI_Parser.cpp.
|
protected |
Definition at line 102 of file MIDI_Parser.hpp.