This class is used to control a specific VSTPlugin instance in a NodeProxy, so you can open plugins, automate parameters, change programs, send MIDI messages, etc.
Have a look at the examples at the bottom!
(The reason is that JITLib implements crossfading by creating a new Synth on the Server and destroying the old one.)
To use VSTPlugin in a NodeProxy, you have to use one the following NodeProxy roles:
\vst
\vstDef
\vstFilter
\filter
(use the proxy`s own bus as the input)
Create a new VSTPluginNodeProxyController for a given NodeProxy.
proxy |
the NodeProxy. |
index |
the source index. |
id |
a Symbol which uniquely identifies the VSTPlugin in the SynthDef. NOTE: If this is the only VSTPlugin instance in the SynthDef, the id argument can be omitted. |
wait |
the default wait time, see VSTPluginController: -wait. |
Initially, no VST plugin is loaded and the UGen is automatically bypassed (i.e. the input is just passed through).
Same as -new, but returns an Event of VSTPluginNodeProxyControllers, with their IDs used as keys. This is useful if you have a SynthDef containing several VSTPlugin instances.
proxy |
the NodeProxy, see -new |
index |
the source index |
ids |
an Array of IDs referring to VSTPlugin instances in the SynthDef, or |
wait |
the default wait time, see VSTPluginController: -wait. |