36 address += bank.getAddressOffset();
76template <u
int8_t NumRows, u
int8_t NumCols>
105template <u
int8_t NumBanks>
130template <u
int8_t NumBanks>
134 const Array2D<MIDIAddress, 2, NumBanks> &addresses)
147template <u
int8_t NumBanks, u
int8_t NumRows, u
int8_t NumCols>
Array2D< uint8_t, NumRows, NumCols > AddressMatrix
#define BEGIN_CS_NAMESPACE
A class that groups Bankable MIDI Output Elements and Bankable MIDI Input Elements,...
DualAddresses(BaseOutputBankConfig config, const Array< MIDIAddress, 2 > &addresses)
MIDIAddress getFirstActiveAddress() const
MIDIAddress getSecondBaseAddress() const
MIDIAddress getFirstBaseAddress() const
MIDIAddress getSecondActiveAddress() const
DualManyAddresses(const Bank< NumBanks > &bank, const Array2D< MIDIAddress, 2, NumBanks > &addresses)
MIDIAddress getFirstActiveAddress() const
MIDIAddress getSecondActiveAddress() const
Array< MIDIAddress, NumBanks > first
Array< MIDIAddress, NumBanks > second
Array< MIDIAddress, NumBanks > addresses
MIDIAddress getActiveAddress() const
ManyAddresses(const Bank< NumBanks > &bank, const Array< MIDIAddress, NumBanks > &addresses)
Constructor.
Array< AddressMatrix< NumRows, NumCols >, NumBanks > addresses
ManyMatrixAddresses(const Bank< NumBanks > &bank, const Array< AddressMatrix< NumRows, NumCols >, NumBanks > &addresses, const Array< MIDIChannelCable, NumBanks > &channelCNs)
MIDIAddress getActiveAddress(uint8_t row, uint8_t col) const
Array< MIDIChannelCable, NumBanks > channelCNs
AddressMatrix< NumRows, NumCols > addresses
MIDIAddress getActiveAddress(uint8_t row, uint8_t col) const
uint8_t getBaseAddress(uint8_t row, uint8_t col) const
MIDIChannelCable channelCN
MatrixAddress(BaseOutputBankConfig config, const AddressMatrix< NumRows, NumCols > &addresses, MIDIChannelCable channelCN)
MIDIAddress getBaseAddress() const
Array< OutputBankableMIDIAddress, N > banks
MIDIAddress getActiveAddress() const
SingleAddressMultipleBanks(const Array< OutputBankableMIDIAddress, N > &banks, MIDIAddress address)
MIDIAddress getBaseAddress() const
SingleAddress(BaseOutputBankConfig config, MIDIAddress address)
MIDIAddress getActiveAddress() const
A struct for selecting the bank of BankableMIDIOutputs and the bank type.
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
A class for saving a MIDI channel and cable number.
A base class for all MIDIOutputElements that can have one of many addresses.
setting_t getSelection() const
Get the bank setting.
A base class for all MIDIOutputElements that can be banked.
RelativeMIDIAddress getAddressOffset() const
Get the offset relative to the base address for the active bank.
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
An array wrapper for easy copying, comparing, and iterating.