setParameter
Class: externalAudioPlugin
Set normalized parameter value of hosted plugin
Syntax
setParameter(hostedPlugin,parameter,newValue)
Description
setParameter(
sets the normalized value corresponding to the hostedPlugin
,parameter
,newValue
)parameter
of
hostedPlugin
to newValue
. Specify the parameter by
its unique display name or its index. Specify the new normalized parameter value as a scalar
in the range 0–1.
For example, assume hostedPlugin
has a parameter with index 3 and a
unique display name, 'Gain'
. These commands are identical:
setParameter(hostedPlugin,'Gain',0.2)
setParameter(hostedPlugin,3,0.2)
Note
A hosted plugin might quantize its parameters. The result of
setParameter
for quantized parameters depends on the type of
quantization.
Version History
Introduced in R2016b