[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




[s,t,u].do {|serv| SynthDef(\mysynth, {arg out; Out.ar(out, whatever)}).send(serv)};

// OR even:

f = {arg out; Out.ar(out, whatever)};
[s,t,u].do {|serv| SynthDef(\mysynth, f).send(serv)};

at least less typing
ak



Wiadomość napisana w dniu 2009-06-19, o godz. 23:45, przez Pierre Alexandre Tremblay:

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/


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