[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] A quick way to send the same Synthdef to many Servers
var sd;
sd = SynthDef(\mysynth, {arg out; Out.ar(out, whatever)});
[s, t, u].do({ |server| sd.send(server) });
or
SynthDef(...).send(s).send(t).send(u) ...
> SynthDef(\mysynth, {arg out; Out.ar(out, whatever)}).send(s);
> SynthDef(\mysynth, {arg out; Out.ar(out, whatever)}).send(t);
> SynthDef(\mysynth, {arg out; Out.ar(out, whatever)}).send(u);
>
>
> etc where whatever is much longer and s, t, u are all different
> server instances.
>
> Is there a better, cleaner, faster way?
--
Tim Walters | http://doubtfulpalace.com
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/