#include <Transposer.hpp>
|
static constexpr setting_t | N = MAXIMUM_SEMITONES - MINIMUM_SEMITONES + 1 |
|
template<int8_t MINIMUM_SEMITONES, int8_t MAXIMUM_SEMITONES>
class Transposer< MINIMUM_SEMITONES, MAXIMUM_SEMITONES >
- Examples
- Transposer.ino.
Definition at line 10 of file Transposer.hpp.
◆ Transposer()
template<int8_t MINIMUM_SEMITONES, int8_t MAXIMUM_SEMITONES>
◆ getSelection()
template<int8_t MINIMUM_SEMITONES, int8_t MAXIMUM_SEMITONES>
Get the current transposition offset.
- Todo:
- The return type is a uint8_t, but it can be negative. This is not an issue, because the result will be the same, since the addition will just overflow and truncate, but it's not really clean.
Reimplemented from OutputBank.
Definition at line 26 of file Transposer.hpp.
◆ select()
◆ getNumberOfBanks()
constexpr static uint8_t Bank< N >::getNumberOfBanks |
( |
| ) |
|
|
inlinestaticconstexprinherited |
◆ add()
◆ remove()
◆ validateSetting()
◆ getInitialSelection()
◆ setInitialSelection()
◆ getTracksPerBank()
uint8_t OutputBank::getTracksPerBank |
( |
| ) |
const |
|
inlineinherited |
Get the number of tracks per bank.
This is the number of addresses/tracks to skip for each bank setting.
Definition at line 55 of file Bank.hpp.
◆ getOffset()
uint8_t OutputBank::getOffset |
( |
| ) |
const |
|
inlineinherited |
Get the offset (number of banks times the index of the selected bank)
Definition at line 61 of file Bank.hpp.
template<int8_t MINIMUM_SEMITONES, int8_t MAXIMUM_SEMITONES>
constexpr setting_t Transposer< MINIMUM_SEMITONES, MAXIMUM_SEMITONES >::N = MAXIMUM_SEMITONES - MINIMUM_SEMITONES + 1 |
|
staticconstexpr |
◆ inputBankables
A linked list of all BankableMIDIInput elements that have been added to this bank, and that should be updated when the bank setting changes.
The list is updated automatically when BankableMIDIInput elements are created or destroyed.
Definition at line 138 of file Bank.hpp.
◆ initialSelection
◆ tracksPerBank
uint8_t OutputBank::tracksPerBank |
|
privateinherited |
◆ bankSetting
The documentation for this class was generated from the following file: