VSTPlugin with NRT Pattern

Dear List,

i’m trying to use VSTPlugin in an NRT context rendering the score from a Pattern (so a different approach than exemplified in the vst helpfile).

Im adding the following messages to the score, but the second doesn’t seem to work:

essentially this:


p.add([0.0, VSTPlugin.searchMsg("/path/to/-VSTDirectory")])
p.add([0.0, VSTPluginController(Synth(\synth1).openMsg("Plugin.vst"))])


returns the following in post window:

searching in '/path/to/-VSTDirectory/'...
found 1 plugin
nextOSCPacket 0
FAILURE IN SERVER /u_cmd Node 0 not found //somethings fails to pass here
nextOSCPacket 0.001
nextOSCPacket 10

Would anyone have an idea on how to add these messages so as to make it with the NRT pattern system?

Many thanks,


The problem is how you create the Synth. This is actually explained in section 3 of the NRT example. The following should work:

// use temporary Server!
~server = Server(\nrt);


~synth =  Synth.basicNew(\synth1, ~server);
~vst = VSTPluginController(~synth);

~p.add([0.0, VSTPlugin.searchMsg("/path/to/-VSTDirectory")]);
~p.add([0.0, ~synth.newMsg]);
~p.add([0.0, ~vst.openMsg("Plugin.vst")]);



Thank you very much. This did solve it!

1 Like