Reference

Components
VST Parameter
Description
The VST Parameter primitive defines a preset parameter that can be automated or store preset data for each program. All the built in knob
modules each contain a single VST Parameter component so that the knobs can be automated and store preset data in exported exes.
When a VST Parameter component is connected to a Preset Manager component it becomes part of the preset system. This connection is
made through the Preset input connector. When the Preset Manager changes program the VST Parameter component will respond
accordingly.
The VST preset parameter system requires values to be floats in the range 0 to 1. You must make sure that you transform any values
you want to store into this range before passing them to the VST Parameter component.
If you want the host to display something other than the 0-1 float value you can create a section of schematic that processes the float output
of the VST Parameter component and connect it to the Disp input.
Examples
1. You could have switch that you want to show On for 1.0 and Off for 0.
2. You might have a multiplier that you want to show as Level 1, Level 2 or Level 3. You’d convert the input value to 0-1 by calculating (value-
1)/2. This would give you 0,0.5 and 1. When the preset changes you’d process the result back to a number in the range 1-3, append it onto
“Level ” and pass the result to the Disp input.
You can choose whether the parameter is automatable and also whether it is a preset. For example, you might want to be able to automate a
master volume control but not have it store a different value for each program.
Connectors
Inputs Type Outputs Type
Connector for
communicating with Preset
Manager or Preset Text File
components
Preset The value of the
parameter for the
current program
Float
Set the current value (must
be in range 0-1)
Float Trigger sent just before
a value change occurs
Trigger
461 of 494