[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




~servers = [s,t,u]; //etc... 
~servers.do({arg server; SynthDef(\mysynth, {arg out; Out.ar(out, whatever)}).send(server) });

-mgc

On Jun 19, 2009, at 2:45 PM, Pierre Alexandre Tremblay wrote:

Dear all

I was doing a simple yet very dense additive synthesis.  To be able to run in in 32 discreet channel, I need to run 8 server instances on the same MacPro on steroids.

I use the same synthdef on all instances, but now I recopy the code

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?

thanks for the help

pa

_______________________________________________
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/