VSTPluginNodeProxyController:
Filter:
Classes (extension) | JITLib

VSTPluginNodeProxyController : VSTPluginController : Object
ExtensionExtension

VSTPluginController for JITLib

Description

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!

NOTE: Don't use any NodeProxy crossfading methods, like NodeProxy: -xset, because this would close the actual VST plugin and invalidate the corresponding controller.

(The reason is that JITLib implements crossfading by creating a new Synth on the Server and destroying the old one.)

WARNING: NodeProxy: -<<> and NodeProxy: -<>> call xset internally. Use set(\in, ...) instead!

NodeProxy roles

To use VSTPlugin in a NodeProxy, you have to use one the following NodeProxy roles:

\vst
a UGen graph function containing one or more VSTPlugin instances.

\vstDef
the name of a SynthDef containing one or more VSTPlugin instances

\vstFilter
like \filter (use the proxy`s own bus as the input)

Class Methods

VSTPluginNodeProxyController.new(proxy, index: 0, id, wait: -1)

Create a new VSTPluginNodeProxyController for a given NodeProxy.

Arguments:

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.

Discussion:

Initially, no VST plugin is loaded and the UGen is automatically bypassed (i.e. the input is just passed through).

VSTPluginNodeProxyController.collect(proxy, index: 0, ids, wait: -1)

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.

Arguments:

proxy

the NodeProxy, see -new

index

the source index

ids

an Array of IDs referring to VSTPlugin instances in the SynthDef, or nil (= collect all).

wait

the default wait time, see VSTPluginController: -wait.

Discussion:

Inherited class methods

Instance Methods

.sendMsg(cmd ... args)

.proxy

Inherited instance methods

Undocumented instance methods

.checkIfStarted(synth)

.initProxyAndCondition(inProxy)

Examples