[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] clientID and Pbind
hey,
// works:
s = Server(\local1, NetAddr("localhost", 57110), clientID: 0)
// does not work:
s = Server(\local1, NetAddr("localhost", 57110), clientID: 1)
Server.default = s
s.boot
SynthDef(\dontWork, {|out = 0, sustain = 0.1|
Out.ar(0, FSinOsc.ar(800) * Line.ar(0.125, 0, sustain, doneAction:2));
}).store;
p = Pbind(
\instrument, \dontWork,
\sustain, Pseq((0, 0.01 .. 1)),
\dur, 0.1
).play
// gives me a lot of
// FAILURE s_new duplicate node ID
// anyone knows why?
whereas a simple task emulating the Pbind works as expected:
{
(0, 0.01 .. 1).do{|i|
s.bind{
Synth(\dontWork, [\sustain, i]);
};
0.1.wait;
}
}.fork
_______________________________________________
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/