There's no bug with the envelope.
a = { |gate = 1|
var sig = SinOsc.ar(400, 0, 0.1),
eg = EnvGen.kr(e, gate, doneAction: 2);
(sig * eg) ! 2
}.play;
a.set(\gate, 0); // the node will release here
The bug is in the test method. For some reason, it seems to be clumping the s_new with the release in the same bundle... no idea why.
Anyway, 'test' is not to be trusted with gated envelopes.
hjh
On Apr 25, 2009, at 9:31 AM, Dionysis Athinaios wrote:
Really sorry to reply to my own thread...
I really need to solve this fast as it breaks the code
for an installation that I am going to present
in 10 days. Any help would be greatly appreciated.
Best :)
Dionysis
: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman