On Wed, Jul 29, 2009 at 12:59 PM, Till Bovermann
<tboverma@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
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