i know this is bad programming on my part (not waiting for synths to
be created). but should this really blow up my internal speakers on
my intel mac?
s.latency= 0.05;
//run multiple times
(
var syns= {
SynthDef(\av, {|freq= 400, amp= 0, pan= 0|
var z= SinOsc.ar(0, SinOsc.ar(freq, 0, 2pi), amp);
Out.ar(0, Pan2.ar(z, pan));
}, #[0.05, 0.05, 0.05]).play(s /*, [\amp, 0.4]*/);
}.dup(15);
syns.do{|x| x.set(\amp, 0.4)};
)
now and then, every 10th time or so, it creates an incredible loud
burst.
on ppc it 'just' varies in amplitude. (this is for an example for
the sc-book and the amps are directly overwritten - i just want to
avoid to wrap it in a routine)
sc fresh from svn. ppc osx.4.8, intel osx.4.11
_f