#include <MIDI_Inputs/MIDIInputElementMatchers.hpp>
Matcher for MIDI messages with 1 data byte, such as Channel Pressure and Program Change.
Matches a single address over multiple banks.
Definition at line 110 of file MIDIInputElementMatchers.hpp.
Classes | |
struct | Result |
Public Member Functions | |
BankableOneByteMIDIMatcher (BankConfig< BankSize, BankType::ChangeChannel > config, MIDIChannelCable address) | |
Result | operator() (ChannelMessage m) |
Bank< BankSize > & | getBank () |
const Bank< BankSize > & | getBank () const |
BankType | getBankType () const |
setting_t | getSelection () const |
Get the current bank setting. | |
Static Public Member Functions | |
static constexpr setting_t | getBankSize () |
Public Attributes | |
BaseBankConfig< BankSize > | config |
MIDIChannelCable | address |
|
inline |
Definition at line 111 of file MIDIInputElementMatchers.hpp.
|
inline |
Definition at line 122 of file MIDIInputElementMatchers.hpp.
|
inline |
Definition at line 132 of file MIDIInputElementMatchers.hpp.
|
inline |
Definition at line 133 of file MIDIInputElementMatchers.hpp.
|
inline |
Definition at line 134 of file MIDIInputElementMatchers.hpp.
|
inlinestaticconstexpr |
Definition at line 135 of file MIDIInputElementMatchers.hpp.
|
inline |
Get the current bank setting.
Definition at line 139 of file MIDIInputElementMatchers.hpp.
BaseBankConfig<BankSize> config |
Definition at line 141 of file MIDIInputElementMatchers.hpp.
MIDIChannelCable address |
Definition at line 142 of file MIDIInputElementMatchers.hpp.