For some reason the Pseq in the Pbind for amp does not seem to change the amplitude of the synthdef. I also tried just having the value 0.0 and you can still hear it.
(
SynthDef.new(\perc, { |out |
var sig = Pan2.ar( SinOsc.ar(XLine.kr(200, 60)*30*SinOsc.kr(440) ));
sig = sig * EnvGen.kr(Env.perc(0, 0.05), doneAction:2);
Out.ar(0 , sig );
}).add;
)
(
~s = Pbind(
\instrument, \perc,
\dur, Pxrand(
[ Pbjorklund2(4,8,2)/16, Pseq( [0.25, 0.25, 0.25, 0.25], 2 ), Pseq( [0.50, 0.50,
1, 1 ], 2 ), Pseq( [0.0625 ], 2 ) ],
inf ) ,\amp, Pseq([0.2, 0.3, 0.4, 0.5, 0.8],inf) ,\rate,1);
~s.play;
)