#include <Selectors/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
- Transpose-Octave-NC-Button.ino, and Transposer.ino.
Definition at line 10 of file Transposer.hpp.
◆ Transposer()
◆ getSelection()
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 getNumberOfBanks |
( |
| ) |
|
|
inlinestaticconstexprinherited |
◆ add()
◆ remove()
◆ validateSetting()
◆ getInitialSelection()
◆ setInitialSelection()
void setInitialSelection |
( |
setting_t |
initialSelection | ) |
|
|
inlineinherited |
◆ getTracksPerBank()
uint8_t 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 getOffset |
( |
| ) |
const |
|
inlineinherited |
Get the offset (number of banks times the index of the selected bank)
Definition at line 61 of file Bank.hpp.
constexpr setting_t 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
◆ bankSetting
The documentation for this class was generated from the following file: