Does it really matter if I use ( ) , or { } as a piece of block code
In the last line of each block I multiplied the output before going into tanh , the first example uses { }, the last one ( )
(
{
var a,b,pitchenv,pitch;
pitch=[55,55];
a=EnvGen.ar(Env([0,0.75,0],[0.001,3.500],[0,-20]),doneAction:2);
pitchenv=EnvGen.ar(Env([0,0.75,0.1],[0.001,1],[0,-50]),doneAction:2)*10;
b=SinOsc.ar(pitch*(pitchenv));
{a*b*10}.tanh*0.5////using { }
}.play
)
///
(
{
var a,b,pitchenv,pitch;
pitch=[55,55];
a=EnvGen.ar(Env([0,0.75,0],[0.001,3.500],[0,-20]),doneAction:2);
pitchenv=EnvGen.ar(Env([0,0.75,0.1],[0.001,1],[0,-50]),doneAction:2)*10;
b=SinOsc.ar(pitch*(pitchenv));
(a*b*10).tanh*0.5////using ( )
}.play
)
//