Reference
Components
VST Parameter Array
Description
The VST Parameter Array primitive defines an array of VST parameters that can be automated or store preset data for each program. This is
a specialised component used for storing preset data for step sequencers and the like.
When a VST Parameter Array 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 Array 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 Array 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 parameters in the array are automatable and also whether the array is a preset. If the array data applies
globally and is large in size for example you may not want to maintain copies for each program so switching the Preset option off would save
on memory.
463 of 494