This does not work anymore: Ndef and ".setAt" -- Why? [SC >= 3.9.1]
kezb765 opened this issue · 1 comments
kezb765 commented
Hi,
I just installed SC 3.9.1 under Windows 7. I managed to build polyphonic Ndef with the following code (with SC 3.9.0) but now it says ".setAt not understood". Has it been removed? Why is it broken now?
########################
(
SynthDef( \myInstr1, { arg freq = 440, amp = 0.25, xgate = 0;
var e = EnvGen.kr(Env.asr(0.01, 1, 1, -4), gate: xgate, doneAction:0);
var sig = SinOsc.ar( freq!2, 0, e * amp );
Out.ar(0, sig);
}).send;
)
Ndef(\test1).play;
Ndef(\test1).put( 0, \myInstr1, 0, [\freq, 60.midicps, \xgate, 0]);
Ndef(\test1).setAt( 0, \xgate, 1 );
...
########################
I used to make polyphonic sound with many instances build with many ".put( ...".
kezb765 commented
solved...