A class for changing the address of BankableMIDIOutputs.
More...
#include <Banks/Bank.hpp>
A class for changing the address of BankableMIDIOutputs.
Definition at line 20 of file Bank.hpp.
◆ OutputBank()
Create a new OutputBank object.
- Parameters
-
tracksPerBank | The number of addresses/tracks to skip for each bank setting.
Must be strictly positive. |
initialSelection | The initial bank setting. |
Definition at line 31 of file Bank.hpp.
◆ select()
Select the given bank setting.
- Parameters
-
setting | The new setting to select. |
Definition at line 44 of file Bank.hpp.
◆ getSelection()
◆ getTracksPerBank()
uint8_t getTracksPerBank |
( |
| ) |
const |
|
inline |
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 |
|
inline |
Get the offset (number of banks times the index of the selected bank)
Definition at line 61 of file Bank.hpp.
◆ tracksPerBank
◆ bankSetting
The documentation for this class was generated from the following file: