MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
43 return base == toMatch;
52 bool equalChannelAndCN =
55 return valid && addressInRange && equalChannelAndCN;
MIDIAddress operator+(const RelativeMIDIAddress &rhs) const
Add a relative offset.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
MIDIAddress & operator-=(const RelativeMIDIAddress &rhs)
Subtract a relative offset from this address.
A class for saving an offset to a MIDI address.
#define BEGIN_CS_NAMESPACE
RelativeMIDIAddress & operator+=(RelativeMIDIAddress that)
Compound addition.
static bool matchAddressInRange(const MIDIAddress &toMatch, const MIDIAddress &base, uint8_t length)
Check if an address falls within a range of MIDI addresses, starting with address base,...
MIDIAddress & operator+=(const RelativeMIDIAddress &rhs)
Add a relative offset to this address.
static bool matchSingle(const MIDIAddress &toMatch, const MIDIAddress &base)
Check if two addresses match (are equal).
MIDIAddress operator-(const RelativeMIDIAddress &rhs) const
Subtract a relative offset.