class library: Volume - use ServerBoot to send synthdef
[supercollider.git] / examples / misuse_and_hacks / redFrik2.scd
blob5e7cdf15905780c0776e199f7d3d4a019635feee
2 // /*RUN*/
4 s.waitForBoot{
5         var synth;
6         SystemClock.sched(0, {
7                 synth.free;
8                 synth= SynthDef("redFrik",{
9                         z=RHPF.ar(
10                                 BrownNoise.ar(1.dup),
11                                 Rand(0.3,3),
12                                 FSinOsc.kr(FSinOsc.kr(Rand(0.3,5),0,Rand(0,0.5),Rand(0.49,0.56)),Rand(0.3,0.6),Rand(0.3,0.5))
13                         );
14                         Out.ar(0,z);
15                 }).play;
16                 10;
17         });