-
... k, quant, stackSize) Returns a Routine using the receiver as it's function, and plays it in a TempoClock . { 4.do({ "Threadin..." .postln; 1.wait;}) }.fork; forkIfNeeded(clock, quant, stackSize) If needed, creates a new Routine to evaluate ...
-
... (default: 'sin') // examples a = { LPF .ar( Saw .ar(200), 600) * EnvGate .new }.play; a.set( \fadeTime , 2); a.release; // the same as: a.set( \gate , 0); // several env gates can coexist in one synth def. ( a = { var sound1 = LPF .ar( Saw ...
-
... e .kr(10)); Out .ar(out, SinOsc .ar( TRand .kr(300.0, 400.0, trig),0,0.2 ) ) }).play; ) a.set( \prob , 1.0); a.set( \prob , 0.0); a.set( \prob , 0.1); ( a = SynthDef ( "help-TCoin" , { arg out=0, prob=0.5; var trig; trig = Impulse .ar(20, 0 ...
-
... inf ), \dur , 0.3); clutch = StreamClutch (pat, decicion); clutch.asEventStreamPlayer.play; ) // independant stepping ( var clutch, pat, decicion; pat = Pbind ( \freq , Pseq ([200, [300, 302], 400, 450], inf ), \dur , 0.3); b = StreamClutc ...
-
... nOsc .ar( Demand .kr( Impulse .kr(16), 0, read).lag(0.01) * [1, 1.01] ) * 0.1 }.play; ) // write into buffer with mouse clicks ( { var val = MouseY .kr(1000, 200, 1); // cursor y pos controls frequency var pos = MouseX .kr(0, BufFrames .kr( ...
-
... ndIn .ar([0,1]), MouseX .kr(10,18000, \exponential ), 0.8, // rq 0.5); // mul }.play) z.release; ( z = { // like a bandpass var sig; sig = SoundIn .ar([0,1]), * 0.5; BAllPass .ar(sig, MouseX .kr(10,18000, \exponential ), 0.8) + sig.neg }.pl ...
-
... 20,20000, \exponential ), MouseY .kr(0.0, 10.0, \linear ), // bw 0.5); // mul }.play) z.release; ( z = { BBandPass .ar( WhiteNoise .ar ! 2, MouseX .kr(20,20000, \exponential ), MouseY .kr(0.0, 10.0, \linear ), // bw 0.5); // mul }.play) z.r ...
-
... V_MagFreeze (chain, SinOsc .kr(0.2) ); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \bufnum , b]); ) ( //trig with MouseY SynthDef ( "help-magFreeze2" , { arg out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, ...
-
... introduce amplitude modulation artifacts. ( // example signal to process Synth .play({ var z; z = Decay2 .ar( Impulse .ar(8, LFSaw .kr(0.25, -0.6, 0.7)), 0.001, 0.3, FSinOsc .ar(500)); }, 0.8) ) ( Synth .play({ var z; z = Decay2 .ar( Impuls ...
-
... 048), in); chain = PV_RandComb (chain, 0.95, Impulse .kr(0.4)); IFFT (chain); }.play(s); ) PV Ugens write their output data in place , i.e. back into the same buffer from which they read. PV UGens which require two buffers write their data ...