MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
42 template <u
int8_t nb_rows, u
int8_t nb_cols>
71 template <u
int8_t NumBanks>
98 template <u
int8_t NumBanks>
103 const Array2D<MIDICNChannelAddress, 2, NumBanks> &
addresses)
114 template <u
int8_t NumBanks, u
int8_t nb_rows, u
int8_t nb_cols>
ManyAddresses(const Bank< NumBanks > &bank, const Array< MIDICNChannelAddress, NumBanks > &addresses)
Constructor.
MIDICNChannelAddress getBaseAddress() const
A class that groups Bankable BankableMIDIOutputs and BankableMIDIInputs, and allows the user to chang...
A namespace for MIDI elements that can be added to a Bank, to change their address or channel.
MIDICNChannelAddress getActiveAddress(uint8_t row, uint8_t col) const
Array< MIDICNChannelAddress, 2 > addresses
uint8_t getBaseAddress(uint8_t row, uint8_t col) const
#define BEGIN_CS_NAMESPACE
A base class for all MIDIOutputElements that can have one of many addresses.
MIDICNChannelAddress getActiveAddress(uint8_t i) const
setting_t getSelection() const
Get the bank setting.
ManyMatrixAddresses(OutputBankConfig config, const Array< AddressMatrix< nb_rows, nb_cols >, NumBanks > &addresses, const Array< MIDICNChannel, NumBanks > &channelCNs)
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
An array wrapper for easy copying, comparing, and iterating.
Array< MIDICNChannel, NumBanks > channelCNs
MIDICNChannelAddress getActiveAddress() const
MatrixAddress(OutputBankConfig config, const AddressMatrix< nb_rows, nb_cols > &addresses, MIDICNChannel channelCN)
A class for saving a MIDI channel and cable number.
AddressMatrix< nb_rows, nb_cols > addresses
TwoSingleAddresses(OutputBankConfig config, const Array< MIDICNChannelAddress, 2 > &addresses)
Array2D< uint8_t, nb_rows, nb_cols > AddressMatrix
MIDICNChannelAddress getActiveAddress(uint8_t row, uint8_t col) const
MIDICNChannelAddress address
MIDICNChannelAddress getBaseAddress(uint8_t i) const
Array< AddressMatrix< nb_rows, nb_cols >, NumBanks > addresses
TwoManyAddresses(OutputBankConfig config, const Array2D< MIDICNChannelAddress, 2, NumBanks > &addresses)
MIDICNChannelAddress getActiveAddress(uint8_t i) const
RelativeMIDICNChannelAddress getAddressOffset() const
Get the offset relative to the base address.
Array2D< MIDICNChannelAddress, 2, NumBanks > addresses
A struct for selecting the bank of BankableMIDIOutputs and the bank type.
Array< MIDICNChannelAddress, NumBanks > addresses
A base class for all MIDIOutputElements that can be banked.
MIDICNChannelAddress getActiveAddress() const
SingleAddress(OutputBankConfig config, MIDICNChannelAddress address)