DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
Loading...
Searching...
No Matches
dspark::plugin::Param Struct Reference

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. 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.
 

Detailed Description

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.

Definition at line 115 of file DSParkPlugin.h.

Member Data Documentation

◆ defValue

float dspark::plugin::Param::defValue = 0.0f

Definition at line 121 of file DSParkPlugin.h.

◆ id

const char* dspark::plugin::Param::id = ""

Stable text id (state + automation identity).

Definition at line 117 of file DSParkPlugin.h.

◆ maxValue

float dspark::plugin::Param::maxValue = 1.0f

Definition at line 120 of file DSParkPlugin.h.

◆ minValue

float dspark::plugin::Param::minValue = 0.0f

Definition at line 119 of file DSParkPlugin.h.

◆ name

const char* dspark::plugin::Param::name = ""

Display name.

Definition at line 118 of file DSParkPlugin.h.

◆ steps

int dspark::plugin::Param::steps = 0

0 continuous, 1 toggle, N discrete.

Definition at line 123 of file DSParkPlugin.h.

◆ unit

const char* dspark::plugin::Param::unit = ""

Display unit ("dB", "Hz", "%", ...).

Definition at line 122 of file DSParkPlugin.h.


The documentation for this struct was generated from the following file: