|
bool | inRange (uint8_t tgt, uint8_t base, uint8_t length) |
| Check whether a given address is within a range of given length starting from the given base address.
|
|
template<uint8_t BankSize> |
bool | matchBankable (uint8_t tgt, uint8_t base, const Bank< BankSize > &bank) |
| Check if the given address is part of the bank relative to the base address.
|
|
template<uint8_t BankSize> |
bool | matchBankableInRange (uint8_t tgt, uint8_t base, const Bank< BankSize > &bank, uint8_t rangeLen) |
|
template<uint8_t BankSize> |
uint8_t | getRangeIndex (uint8_t tgt, uint8_t base, const Bank< BankSize > &bank) |
|
template<uint8_t BankSize> |
uint8_t | getBankIndex (uint8_t tgt, uint8_t base, const Bank< BankSize > &bank) |
|
template<uint8_t BankSize> |
bool | matchBankable (MIDIAddress tgt, MIDIAddress base, BaseBankConfig< BankSize > config) |
| Check whether a given address is part of the bank relative to the base address.
|
|
template<uint8_t BankSize> |
bool | matchBankableInRange (MIDIAddress tgt, MIDIAddress base, BaseBankConfig< BankSize > config, uint8_t length) |
| Check whether a given address is part of the bank relative to the base address and within a range with a given length.
|
|
template<uint8_t BankSize> |
uint8_t | getBankIndex (MIDIAddress target, MIDIAddress base, BaseBankConfig< BankSize > config) |
| Calculate the bank setting of a given MIDI address, relative to a base address.
|
|
template<uint8_t BankSize> |
uint8_t | getRangeIndex (MIDIAddress tgt, MIDIAddress base, BaseBankConfig< BankSize > config) |
| Calculate the index in the address range of a given MIDI address, relative to a base address.
|
|