MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
45 return base == toMatch;
55 bool equalChannelAndCN =
58 return valid && addressInRange && equalChannelAndCN;
MIDICNChannelAddress operator-(const RelativeMIDICNChannelAddress &rhs) const
RawMIDICNChannelAddress addresses
static bool matchAddressInRange(const MIDICNChannelAddress &toMatch, const MIDICNChannelAddress &base, uint8_t length)
Check if an address falls within a range of addresses, starting with address base,...
#define BEGIN_CS_NAMESPACE
A class for saving an offset to a MIDI address.
static bool matchSingle(const MIDICNChannelAddress &toMatch, const MIDICNChannelAddress &base)
Check if two addresses match.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
constexpr bool isValid() const
Check if the MIDI address is valid.
RawMIDICNChannelAddress addresses
MIDICNChannelAddress & operator-=(const RelativeMIDICNChannelAddress &rhs)
MIDICNChannelAddress operator+(const RelativeMIDICNChannelAddress &rhs) const
MIDICNChannelAddress & operator+=(const RelativeMIDICNChannelAddress &rhs)
constexpr bool isValid() const