-
... ods Inherited instance methods Examples { Standard2DN.ar(220, 11025, mul:0.3) }.play(s); // mouse-controlled param { Standard2DN.ar(SampleRate.ir/2, SampleRate.ir, MouseX.kr(0.9,4), mul:0.3) }.play(s); // as a frequency control { SinOsc.ar( ...
-
fork{y=[Blip,Saw,Pulse,SinOsc];loop{x=play{z=_.ar(rand(2000));z.(y.choose)*z.(y.choose)!2*0.4};(rand(0.2)+0.05).wait;x.free;}} Variation: fork{y=[Blip,Saw,Pulse,SinOsc];loop{x=play{z=_.ar(rand(999));z.(y.choose)*z.(y.choose)*z.(y.cho ...
-
... s ( { var trig = Dust .kr(10); SinOsc .ar( TRand .kr(300, 3000, trig) ) * 0.1 }.play; ) ( { var trig = Dust .ar( MouseX .kr(1, 8000, 1)); SinOsc .ar( TRand .ar(300, 3000, trig) ) * 0.1 }.play; )
-
... 0 to just above 2.0. Towards 2.0 the sound crackles. { Crackle .ar(1.95, 0.5) }.play; // modulate chaos parameter { Crackle .ar( Line .kr(1.0, 2.0, 3), 0.5, 0.5) }.play;
-
... ion. { ( FSinOsc .ar(800) difsqr: FSinOsc .ar( XLine .kr(200,500,5))) * 0.125 }.play; same as : ( { var a, b; a = FSinOsc .ar(800); b = FSinOsc .ar( XLine .kr(200,500,5)); ((a * a) - (b * b)) * 0.125 }.play)
-
... ; ) ( { s.serverRunning }.whenTrueWithin(3, { "YES! doWhenBooted...".postln; ().play }, { "NO! boot timed out - quitting again.".postln; s.quit } ); fork { s.quit; 1.wait; s.boot }; ) */ + Function { whenTrueWithin { |timeout = 3, thenFunc, ...
-
... .ar(~order, HOAEncoder.ar(~order, WhiteNoise.ar(1.0)), \ACN_N3D , \ACN_SN3D ) }.play ) ( s.scope((~order+1).pow(2)); { HOAConvert.ar(~order, HOAEncoder.ar(~order, WhiteNoise.ar(1.0)), \ACN_N3D , \ACN_N3D ) }.play ) ( s.scope((~order+1).pow( ...
-
... ods Inherited instance methods Examples { Standard2DC.ar(220, 11025, mul:0.3) }.play(s); // mouse-controlled param { Standard2DC.ar(8000, 20000, MouseX.kr(0.9,4), mul:0.3) }.play(s); // as a frequency control { SinOsc.ar(Standard2DC.ar(10, ...
-
... ods Inherited instance methods Examples { Standard2DL.ar(220, 11025, mul:0.3) }.play(s); // mouse-controlled param { Standard2DL.ar(11025, 44100, MouseX.kr(0.9,4), mul:0.3) }.play(s); // as a frequency control { SinOsc.ar(Standard2DL.ar(10, ...
-
... ex]) }); } } + NodeProxy { gate { arg level=1.0, dur=0; if(bus.notNil && this.isPlaying, { bus.gate(level, dur, group) }) { "not playing".inform }; } line { arg level=1.0, dur=1.0; if(bus.notNil && this.isPlaying, { group.freeAll; bus.line( ...