#include <MIDI_Inputs/MCU/VU.hpp>
MIDI Input matcher for Mackie Control Universal VU meters with bank support.
Collaboration diagram for BankableVUMatcher< BankSize >:Classes | |
| struct | Result |
| Output data of the matcher/parser. More... | |
Public Member Functions | |
| BankableVUMatcher (BankConfig< BankSize > config, MIDIAddress address) | |
| Constructor. More... | |
| Result | operator() (ChannelMessage m) |
| Parse and try to match the incoming MIDI message. More... | |
| Bank< BankSize > & | getBank () |
| const Bank< BankSize > & | getBank () const |
| BankType | getBankType () 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 |
| Bank configuration. More... | |
| MIDIAddress | address |
| MIDI address to compare incoming messages with. More... | |
| struct MCU::BankableVUMatcher::Result |
Collaboration diagram for BankableVUMatcher< BankSize >::Result:| Class Members | ||
|---|---|---|
| bool | match | Whether the address of the message matched our address. |
| uint8_t | data | The data to update the VU meter with [0x0, 0xF]. |
| uint8_t | bankIndex | The bank index of the message [0, BankSize-1]. |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inline |
Get the current bank setting.
| BaseBankConfig<BankSize> config |
| MIDIAddress address |