#include <MIDI_Inputs/MIDIInputElementMatchers.hpp>
Matcher for MIDI messages with 2 data bytes, such as Note On/Off, Control Change, Key Pressure.
Matches a range of addresses over multiple banks.
Definition at line 229 of file MIDIInputElementMatchers.hpp.
Classes | |
struct | Result |
Public Member Functions | |
BankableTwoByteRangeMIDIMatcher (BankConfig< BankSize > config, MIDIAddress address, uint8_t length) | |
Constructor. More... | |
Result | operator() (ChannelMessage m) |
Bank< BankSize > & | getBank () |
const Bank< BankSize > & | getBank () const |
setting_t | getSelection () const |
Get the current bank setting. More... | |
Static Public Member Functions | |
static constexpr setting_t | getBankSize () |
Public Attributes | |
BaseBankConfig< BankSize > | config |
MIDIAddress | address |
uint8_t | length |
struct BankableTwoByteRangeMIDIMatcher::Result |
|
inline |
Constructor.
Definition at line 231 of file MIDIInputElementMatchers.hpp.
|
inline |
Definition at line 242 of file MIDIInputElementMatchers.hpp.
|
inline |
Definition at line 254 of file MIDIInputElementMatchers.hpp.
|
inline |
Definition at line 255 of file MIDIInputElementMatchers.hpp.
|
inlinestaticconstexpr |
Definition at line 256 of file MIDIInputElementMatchers.hpp.
|
inline |
Get the current bank setting.
Definition at line 260 of file MIDIInputElementMatchers.hpp.
BaseBankConfig<BankSize> config |
Definition at line 262 of file MIDIInputElementMatchers.hpp.
MIDIAddress address |
Definition at line 263 of file MIDIInputElementMatchers.hpp.
uint8_t length |
Definition at line 264 of file MIDIInputElementMatchers.hpp.