|
DSPark 1.8.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. | |
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 121 of file DSParkPlugin.h.
| float dspark::plugin::Param::defValue = 0.0f |
Definition at line 127 of file DSParkPlugin.h.
| const char* dspark::plugin::Param::id = "" |
Stable text id (state + automation identity).
Definition at line 123 of file DSParkPlugin.h.
| const char* const* dspark::plugin::Param::labels = nullptr |
steps+1 position names, or null.
Definition at line 130 of file DSParkPlugin.h.
| float dspark::plugin::Param::maxValue = 1.0f |
Definition at line 126 of file DSParkPlugin.h.
| float dspark::plugin::Param::minValue = 0.0f |
Definition at line 125 of file DSParkPlugin.h.
| const char* dspark::plugin::Param::name = "" |
Display name.
Definition at line 124 of file DSParkPlugin.h.
| int dspark::plugin::Param::steps = 0 |
0 continuous, 1 toggle, N discrete.
Definition at line 129 of file DSParkPlugin.h.
| const char* dspark::plugin::Param::unit = "" |
Display unit ("dB", "Hz", "%", ...).
Definition at line 128 of file DSParkPlugin.h.