MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
8 #include <Settings/SettingsWrapper.hpp>
45 static bool isStatus(uint8_t data) {
return data & (1 << 7); }
47 static bool isData(uint8_t data) {
return (data & (1 << 7)) == 0; }
ChannelMessage getChannelMessage()
Get the latest MIDI channel message.
static bool isData(uint8_t data)
Check if the given byte is a MIDI data byte.
#define BEGIN_CS_NAMESPACE
@ NO_MESSAGE
No new incoming methods.
RealTimeMessage getRealTimeMessage()
Get the latest MIDI real-time message.
static bool isStatus(uint8_t data)
Check if the given byte is a MIDI header byte.
size_t getSysExLength() const
Get the length of the SysEx message.
MIDIReadEvent
Result of the MIDI interface read methods.
virtual SysExMessage getSysExMessage() const =0
Get the latest SysEx message.
const uint8_t * getSysExBuffer() const
Get the pointer to the SysEx data.