// Boot the server and push the Proxy Environment (JITLib) p = ProxySpace.push(s.boot); // initialize proxy: ~sound.ar; // define proxy: ~sound = { LFSaw.ar(80) }; // play proxy (plug monitor) ~sound.play( vol:0.1 ); // Proxy Space GUI ProxyMixer(p); // redefine the proxy: ~sound = { LFPulse.ar(80) }; // set a fade Time: ~sound.fadeTime = 4; ~sound = { SinOsc.ar(80) }; ~sound = { Pulse.ar(80) }; ~sound = { Saw.ar(80) }; // control proxy: ~freq = 400; // use it: ~sound = { SinOsc.ar(~freq.kr) }; // control proxy fadetime: ~freq.fadeTime = 1 ~freq = 80; ~freq = 120; // end the proxy in 8 seconds (with fade out): ~sound.end(8) // Use synth Definitions as instruments: ( SynthDef(\ping, { |out, amp=0.1, freq=440, attack=0.01, sustain=0.1| var snd = SinOsc.ar(freq)!2; snd = snd * EnvGen.ar(Env.perc(attack,sustain), doneAction:2); OffsetOut.ar(out, snd*amp); }).add; ) // prepare/play: ~sequence.play; // define: ~sequence[0] = Pbind(\instrument, \ping, \dur, 0.5, \degree, Pseq([0,4], inf), \amp, 1); // change: ( ~sequence[0] = Pbind( \instrument, \ping, \dur, 0.5, \scale, Scale.minorPentatonic, \degree, Pshuf([0,2,3,4], inf), \amp, 1 ); ) // put a 'filter' proxy AFTER the source: ~sequence[1] = \filter -> { |in| in + GVerb.ar(in, 200, 8, mul:0.3) } // HAVE FUN!: ( ~sequence[0] = Pbind( \instrument, \ping, \dur, Place([1,2,[1,2]]/4, inf), \scale, Scale.minorPentatonic, \degree, Place([0,2,[3,4],[7,9]], inf), \amp, Pwhite(0.3, 0.5) ); ) ~sequence.end(4)