MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
8 #include <Settings/SettingsWrapper.hpp>
55 return this->header == other.
header && this->data1 == other.
data1 &&
56 this->data2 == other.
data2 && this->CN == other.
CN;
60 return !(*
this == other);
99 virtual uint8_t
getCN()
const {
return 0; };
108 static bool isData(uint8_t data);
ChannelMessage getChannelMessage()
Get the latest MIDI channel message.
bool operator==(const ChannelMessage &other) const
const uint8_t CHANNEL_PRESSURE
static bool isStatus(uint8_t data)
Check if the given byte is a MIDI header byte.
const uint8_t CONTROL_CHANGE
static bool isData(uint8_t data)
Check if the given byte is a MIDI data byte.
#define BEGIN_CS_NAMESPACE
const uint8_t TuneRequest
const uint8_t PROGRAM_CHANGE
virtual uint8_t getCN() const
Get the cable number of the latests MIDI message.
size_t getSysExLength() const
Get the length of the SysEx message.
bool operator!=(const ChannelMessage &other) const
virtual SysExMessage getSysEx() const =0
Get the latest SysEx message.
SysExMessage(const uint8_t *data, size_t length, uint8_t CN=0)
const uint8_t * getSysExBuffer() const
Get the pointer to the SysEx data.
const uint8_t KEY_PRESSURE