8#include <Settings/SettingsWrapper.hpp>
37 static bool isStatus(uint8_t data) {
return data & (1 << 7); }
39 static bool isData(uint8_t data) {
return (data & (1 << 7)) == 0; }
#define BEGIN_CS_NAMESPACE
Base class for MIDI parsers.
ChannelMessage getChannelMessage() const
Get the latest MIDI channel voice message.
RealTimeMessage getRealTimeMessage() const
Get the latest MIDI real-time message.
static bool isData(uint8_t data)
Check if the given byte is a MIDI data byte.
static bool isStatus(uint8_t data)
Check if the given byte is a MIDI header/status byte.
SysCommonMessage getSysCommonMessage() const
Get the latest MIDI system common message.