In the following code I forgot the semicolon in the first line after expanding the outputs
The console hower said there was a syntax error in the envgen , pointing to the curve
ERROR: syntax error, unexpected NAME, expecting '}'
in interpreted text
line 5 char 4:
env=EnvGen.ar(Env([0,1,0],[0.001,0.250],[0,-5]),Impulse.ar(4));
^^^
sig*env;
////
(
{ var sig,env;
sig=PMOsc.ar(48.midicps,60.midicps,LFNoise0.ar(4,mul:10))*0.1!2
env=EnvGen.ar(Env([0,1,0],[0.001,0.250],[0,-5]),Impulse.ar(4));
sig*env;
}.play
)
////