VST2SDK
A recreation of the popular Steinberg VST 2.x SDK.
Loading...
Searching...
No Matches
vst_parameter_properties_t Struct Reference

Information about a parameter. More...

#include <vst.h>

Data Fields

float step_f32
 Float Step value.
 
float step_small_f32
 Float small step value This is used for "tiny" changes.
 
float step_large_f32
 Float large step value This is used for "huge" changes.
 
char name [VST_BUFFER_SIZE_PARAM_LONG_NAME]
 Human-readable name for this parameter.
 
uint32_t flags
 Parameter Flags.
 
int32_t min_value_i32
 Minimum Integer value.
 
int32_t max_value_i32
 Maximum Integer value.
 
int32_t step_i32
 Integer Step value.
 
char label [VST_BUFFER_SIZE_PARAM_LABEL]
 Short Human-readable label for this parameter.
 
uint16_t index
 Display order index.
 
uint16_t category
 Category index.
 
uint16_t num_parameters_in_category
 How many parameters are in this category? This allows the plug-in to specify the same category multiple times.
 
uint16_t _unknown_00
 
char category_label [VST_BUFFER_SIZE_CATEGORY_LABEL]
 Human-readable name for the category this parameter is in.
 
char _reserved [16]
 

Detailed Description

Information about a parameter.

@important Many VST hosts and plug-ins expect their parameters to be normalized within 0.0 and 1.0.

Definition at line 226 of file vst.h.

Field Documentation

◆ _reserved

char vst_parameter_properties_t::_reserved[16]

Definition at line 329 of file vst.h.

◆ _unknown_00

uint16_t vst_parameter_properties_t::_unknown_00

Definition at line 320 of file vst.h.

◆ category

uint16_t vst_parameter_properties_t::category

Category index.

Must either be 0 for no category, or any number increasing from 1 onwards.

Note
Requires VST_PARAMETER_FLAG_CATEGORY to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 310 of file vst.h.

◆ category_label

char vst_parameter_properties_t::category_label[VST_BUFFER_SIZE_CATEGORY_LABEL]

Human-readable name for the category this parameter is in.

Note
Requires VST_PARAMETER_FLAG_CATEGORY to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 327 of file vst.h.

◆ flags

uint32_t vst_parameter_properties_t::flags

Parameter Flags.

Any combination of VST_PARAMETER_FLAG.

Definition at line 266 of file vst.h.

◆ index

uint16_t vst_parameter_properties_t::index

Display order index.

Note
Requires VST_PARAMETER_FLAG_INDEX to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 301 of file vst.h.

◆ label

char vst_parameter_properties_t::label[VST_BUFFER_SIZE_PARAM_LABEL]

Short Human-readable label for this parameter.

I have no idea why this exists?

Note
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 294 of file vst.h.

◆ max_value_i32

int32_t vst_parameter_properties_t::max_value_i32

Maximum Integer value.

Note
Requires VST_PARAMETER_FLAG_INTEGER_LIMITS to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 280 of file vst.h.

◆ min_value_i32

int32_t vst_parameter_properties_t::min_value_i32

Minimum Integer value.

Note
Requires VST_PARAMETER_FLAG_INTEGER_LIMITS to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 273 of file vst.h.

◆ name

char vst_parameter_properties_t::name[VST_BUFFER_SIZE_PARAM_LONG_NAME]

Human-readable name for this parameter.

Note
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 260 of file vst.h.

◆ num_parameters_in_category

uint16_t vst_parameter_properties_t::num_parameters_in_category

How many parameters are in this category? This allows the plug-in to specify the same category multiple times.

Note
Requires VST_PARAMETER_FLAG_CATEGORY to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 318 of file vst.h.

◆ step_f32

float vst_parameter_properties_t::step_f32

Float Step value.

Some hosts and plug-ins expect this to be within 0 and 1.0.

Note
Requires VST_PARAMETER_FLAG_STEP_FLOAT to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 234 of file vst.h.

◆ step_i32

int32_t vst_parameter_properties_t::step_i32

Integer Step value.

Note
Requires VST_PARAMETER_FLAG_STEP_INT to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 287 of file vst.h.

◆ step_large_f32

float vst_parameter_properties_t::step_large_f32

Float large step value This is used for "huge" changes.

Some hosts and plug-ins expect this to be within 0 and 1.0.

Note
Requires VST_PARAMETER_FLAG_STEP_FLOAT to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 254 of file vst.h.

◆ step_small_f32

float vst_parameter_properties_t::step_small_f32

Float small step value This is used for "tiny" changes.

Some hosts and plug-ins expect this to be within 0 and 1.0.

Note
Requires VST_PARAMETER_FLAG_STEP_FLOAT to be set.
Ignored if VST_EFFECT_FLAG_EDITOR is set.

Definition at line 244 of file vst.h.


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