thanks for testing! thanks to Scotts comments, I'm thinking about extending the design to make it more flexible for pro-users at the expense of a slight increase in complexity for beginners:
~plugin = VstPlugin.new([\in, ~input, \out, ~output, \bypass, ~bypass, \replace, 1]);
would become:
VstPlugin.makeSynthDef(\myVst, nin: 2, nout: 2, replace: true).add;
~plugin = VstPlugin.new(Synth(\myVst, [\in, ~input, \out, ~output, \bypass, ~bypass]));
this is not too bad, isn't it?
the advantage is that it would be possible to use VstPluginUGen freely in your own SynthDef like:
SynthDef.new(\foo, { arg in, arg out;
var sig;
// each VstPluginUGen needs a unique identifier within the SynthDef:
sig = VstPluginUGen.ar(In.ar(in, 2), nout: 2, bypass: false, ref: \delay);
sig = VstPluginUGen.ar(sig, nout: 2, bypass: false, ref: \eq);
// ... more plugins, other UGens ...
Out.ar(out, sig);
}).add;
~synth = Synth.new(\foo, [\in, ~input, \out, ~output]);
// control the Delay plugin:
~delay = VstPlugin(~synth, \delay);
~delay.open("...");
// control the EQ plugin:
~eq = VstPlugin(~synth, \eq);
~eq.open("...");
What do you think? Would you guys like something like this?
Christof
Gesendet: Mittwoch, 16. Januar 2019 um 03:46 Uhr
Von: spluta@xxxxxxxxx
An: sc-users@xxxxxxxxxxxxxxxx
Betreff: Re: [sc-users] VstPlugin.sc - a class to load VST plugins in SC
Yeah. It works great. At first I thought it was a bit unidiomatic, but I don’t think so. It is quite nice, and the graphical front end is beautiful. FabFilter Pro-R does a nice job of eating a fat chunk of CPU, but that might be a different issue, haha.
Sam
On Jan 15, 2019, at 4:55 PM, info@xxxxxxxxxxxxxxxx[mailto:info@xxxxxxxxxxxxxxxx] wrote:
Incredible! I can't wait to try this out. My heartfelt thanks for your work Christof!
No more external VST hosts and dodgy intra-application audio routing! Now there's also no reason to worry about there not being good limiters/compressors in SC. Just import em as VSTs :-)
On 14/01/2019 02:51, christof.ressi@xxxxxx[mailto:christof.ressi@xxxxxx] wrote:
Hi,
I'm afraid I'm on Linux, so I'm not in a position to test it myself,
VstPlugin also works on Linux! personally I've tested on Debian stretch. generally, any open source plugin based on the JUCE framework will work on Linux but there are also some non-JUCE plugins around, e.g. the GVST plugins: https://www.gvst.co.uk/portpage.htm[https://www.gvst.co.uk/portpage.htm]
for a nice soft synth check out Dexed: https://github.com/asb2m10/dexed[https://github.com/asb2m10/dexed].
and last but not not least the IEM plugin suite: https://plugins.iem.at/[https://plugins.iem.at/]
Christof
Gesendet: Montag, 14. Januar 2019 um 02:28 Uhr
Von: jamshark70@xxxxxxxxx[mailto:jamshark70@xxxxxxxxx]
An: sc-users <sc-users@xxxxxxxxxxxxxxxx>[mailto:sc-users@xxxxxxxxxxxxxxxx]
Betreff: Re: [sc-users] VstPlugin.sc - a class to load VST plugins in SC
On Mon, Jan 14, 2019 at 9:19 AM <christof.ressi@xxxxxx>[mailto:christof.ressi@xxxxxx] wrote:
OK, I've finished implementing the alternative version where the VstPluginUGen directly reads and writes from/to audio busses. Personally, I think it's more flexible and easier to use. What do you think?
Hi,
I'm afraid I'm on Linux, so I'm not in a position to test it myself,
but I'm really interested in/excited about this. Next fall, I have a
new course in interactive media, was considering SuperCollider but
hesitating because the students wouldn't have access to sound
libraries and softsynths that they like (whereas, with Live + Max,
they would).
VSTs in scsynth... that changes the game.
I'll be watching this one carefully. Thanks for working on it!
(Without trying it, my gut feeling is that the version with direct bus
access will be more flexible and more idiomatic to SC.)
hjh
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx[http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx]
archive: https://listarc.bham.ac.uk/marchives/sc-users/[https://listarc.bham.ac.uk/marchives/sc-users/]
search: https://listarc.bham.ac.uk/lists/sc-users/search/[https://listarc.bham.ac.uk/lists/sc-users/search/]
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx[http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx]
archive: https://listarc.bham.ac.uk/marchives/sc-users/[https://listarc.bham.ac.uk/marchives/sc-users/]
search: https://listarc.bham.ac.uk/lists/sc-users/search/[https://listarc.bham.ac.uk/lists/sc-users/search/]
--
JC Reus
WEB: jonathanreus.com[http://www.jonathanreus.com/]
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/