|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
A continuous control read as one of N positions. More...
A continuous control read as one of N positions.
For a knob, a fader or a CC standing in for a switch. select() is the stateless form: N equal shares of the control's travel. Selector adds hysteresis, so a control resting on a boundary does not chatter between two positions.
Definition in file selector.hpp.
#include <cstdint>Go to the source code of this file.
Classes | |
| class | sbl::control::Selector< Positions > |
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs code. | |
| namespace | sbl::control |
| The control stack: scheduler, event queue, merge, CC mapping, calibration. | |
Functions | |
| constexpr uint8_t | sbl::control::select (float control, uint8_t positions) |