|
DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
|
One automatable parameter. Plain values run [min, max]; hosts see the normalized [0, 1] projection. steps == 0 means continuous, steps == 1 a toggle, steps == N an N+1-position discrete control. A discrete control may name its positions (labels, steps+1 entries): hosts then display and accept those names. Build these with the helpers below - param(), toggle(), stepped(), choice().
More...
#include <DSParkPlugin.h>
Public Attributes | |
| const char * | id = "" |
| Stable text id (state + automation identity). | |
| const char * | name = "" |
| Display name. | |
| float | minValue = 0.0f |
| float | maxValue = 1.0f |
| float | defValue = 0.0f |
| const char * | unit = "" |
| Display unit ("dB", "Hz", "%", ...). | |
| int | steps = 0 |
| 0 continuous, 1 toggle, N discrete. | |
| const char *const * | labels = nullptr |
| steps+1 position names, or null. | |
| bool | perVoice = false |
| Host may modulate it per voice (see perVoice()). | |
One automatable parameter. Plain values run [min, max]; hosts see the normalized [0, 1] projection. steps == 0 means continuous, steps == 1 a toggle, steps == N an N+1-position discrete control. A discrete control may name its positions (labels, steps+1 entries): hosts then display and accept those names. Build these with the helpers below - param(), toggle(), stepped(), choice().
Definition at line 135 of file DSParkPlugin.h.
| float dspark::plugin::Param::defValue = 0.0f |
Definition at line 141 of file DSParkPlugin.h.
| const char* dspark::plugin::Param::id = "" |
Stable text id (state + automation identity).
Definition at line 137 of file DSParkPlugin.h.
| const char* const* dspark::plugin::Param::labels = nullptr |
steps+1 position names, or null.
Definition at line 144 of file DSParkPlugin.h.
| float dspark::plugin::Param::maxValue = 1.0f |
Definition at line 140 of file DSParkPlugin.h.
| float dspark::plugin::Param::minValue = 0.0f |
Definition at line 139 of file DSParkPlugin.h.
| const char* dspark::plugin::Param::name = "" |
Display name.
Definition at line 138 of file DSParkPlugin.h.
| bool dspark::plugin::Param::perVoice = false |
Host may modulate it per voice (see perVoice()).
Definition at line 145 of file DSParkPlugin.h.
| int dspark::plugin::Param::steps = 0 |
0 continuous, 1 toggle, N discrete.
Definition at line 143 of file DSParkPlugin.h.
| const char* dspark::plugin::Param::unit = "" |
Display unit ("dB", "Hz", "%", ...).
Definition at line 142 of file DSParkPlugin.h.