MIDI Control Surface library for Arduino
|
uint8_t getTracksPerBank() const
Get the number of tracks per bank.
A class for changing the address of BankableMIDIOutputs.
A base class for all MIDIOutputElements that can have one of many addresses.
A class that groups Bankable BankableMIDIOutputs and BankableMIDIInputs, and allows the user to chang...
setting_t getSelection() const
Get the bank setting.
setting_t getRawBankSetting() const
Get the actual bank setting (no matter whether the element is locked or not).
OutputBankableMIDIAddress(BaseOutputBankConfig config)
Create a new OutputBankableMIDIAddress object.
A class for saving an offset to a MIDI address.
#define BEGIN_CS_NAMESPACE
A base class for all MIDIOutputElements that can be banked.
OutputBankableMIDIAddress(const OutputBank &bank, BankType type)
Create a new OutputBankableMIDIAddress object.
constexpr setting_t NO_SETTING
A special setting that indicates an unused or invalid setting.
@ CHANGE_CHANNEL
Change the offset of the channel number of the element.
void lock()
Lock the bank setting.
virtual setting_t getSelection() const
Get the current bank setting.
@ CHANGE_CABLENB
Change the offset of the cable number of the element.
RelativeMIDIAddress getAddressOffset() const
Get the offset relative to the base address.
BankType
An enumeration of the different bank types.
A struct for selecting the bank of BankableMIDIOutputs and the bank type.
ManyAddresses_Base(const Bank< NumBanks > &bank)
Constructor.
constexpr static setting_t UNLOCKED
uint8_t setting_t
The type used for Selectors.
OutputBankableMIDIAddress_Base(const OutputBank &bank)
Constructor.
void unlock()
Unlock the bank setting.
@ CHANGE_ADDRESS
Change the offset of the address (i.e.