Multiple instances of the same plugin

Hi,

I am currently using the trial version of pianoteq and have found that I can do this:

~p1 = VSTPluginController(Synth(\mysdef)).open("Pianoteq 8.so", action: { |x| x.program_(26)}); 

~p2 = VSTPluginController(Synth(\mysdef)).open("Pianoteq 8.so", action: { |x| x.program_(0)}); 

which gives me 2 instances running different presets that I can use in pbinds etc.

Is this the way to do it and if so will that hack also work with the full-version of pianoteq?

Is this the way to do it

Depends on what you want to do. If you want to use different piano sounds at the same time, then you need multiple instances.

and if so will that hack also work with the full-version of pianoteq?

I don’t see why it shouldn’t… Running multiple instances of a plugin is perfectly normal!