DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::synthesizer::ParamInfo Struct Reference

Description of one parameter (the shape of the plugin layer's parameter declarations, so a host can map them one to one). More...

#include <Synthesizer.h>

Public Attributes

Param param
 
const char * id
 Stable text id (state keys, automation identity).
 
const char * name
 Display name.
 
float minValue
 
float maxValue
 
float defValue
 
const char * unit
 "ms", "Hz", "dB", "cents", "st", "oct", "voices" or "".
 
int steps
 
const char *const * labels
 

Detailed Description

Description of one parameter (the shape of the plugin layer's parameter declarations, so a host can map them one to one).

steps is 0 for a continuous value, 1 for a toggle and N for N + 1 discrete positions; a choice's labels name every position and its value is the position index.

Definition at line 211 of file Synthesizer.h.

Member Data Documentation

◆ defValue

float dspark::synthesizer::ParamInfo::defValue

Definition at line 218 of file Synthesizer.h.

◆ id

const char* dspark::synthesizer::ParamInfo::id

Stable text id (state keys, automation identity).

Definition at line 214 of file Synthesizer.h.

◆ labels

const char* const* dspark::synthesizer::ParamInfo::labels

Definition at line 221 of file Synthesizer.h.

◆ maxValue

float dspark::synthesizer::ParamInfo::maxValue

Definition at line 217 of file Synthesizer.h.

◆ minValue

float dspark::synthesizer::ParamInfo::minValue

Definition at line 216 of file Synthesizer.h.

◆ name

const char* dspark::synthesizer::ParamInfo::name

Display name.

Definition at line 215 of file Synthesizer.h.

◆ param

Param dspark::synthesizer::ParamInfo::param

Definition at line 213 of file Synthesizer.h.

◆ steps

int dspark::synthesizer::ParamInfo::steps

Definition at line 220 of file Synthesizer.h.

◆ unit

const char* dspark::synthesizer::ParamInfo::unit

"ms", "Hz", "dB", "cents", "st", "oct", "voices" or "".

Definition at line 219 of file Synthesizer.h.


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