-
... ynthDef(\tic, { |out, freq = (60.midicps), amp = 0.1, pan, ringtime = 0.03| var env = XLine.ar(1, 0.001, ringtime, doneAction: 2); var snd = SinOsc.ar(freq); Out.ar(out, Pan2.ar(env * snd, pan, amp)); }).add ); // use Peuclid to control amp ...
-
... tc. switch(rep, 0, { var mainEnv = EnvGen.ar(Env.linen(tim*2, tim*2, tim*2), doneAction:2); // Used to control the volume and free the synth var timA = Array.geom(3, ti ...
-
... (\blipTest,{ |rate = 1, freq = 100, noiseLevel = 0.125, blipLevel = 1| var out, env; URandSeed.ir( 12345 ); // always the same noise out = ( Blip.ar( freq, 100, blipLevel * 0.125) + PinkNoise.ar( noiseLevel )) * LFPulse.kr(10 * rate); UMixO ...
-
... (\blipTest,{ |rate = 1, freq = 100, noiseLevel = 0.125, blipLevel = 1| var out, env; URandSeed.ir( 12345 ); // always the same noise out = ( Blip.ar( freq, 100, blipLevel * 0.125) + PinkNoise.ar( noiseLevel )) * LFPulse.kr(10 * rate); UMixO ...
-
... ExpRand(3, 8), 0.02, 1); var snd = RLPF.ar(Pulse.ar(freq, 0.2), 2500, 0.3); var env = EnvGen.kr(Env.adsr, \gate.kr(1), doneAction: 2); snd * env; }); // which param should slider set? q.sources[0].addHalo(\sliderParam, \freq); // range of t ...
-
... .1.rand2) } } ( SynthDef(\Pdefhelp, { arg out, freq, sustain=1, amp=1, pan; var env = EnvGen.ar(Env.perc(0.01, sustain), 1, doneAction:2); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0.5pi, amp * env), pan)); }).add; ) ( Pbind(\instrument, \Pdefhel ...
-
... nto SC3 style code. // This will not execute in SC3 ( Synth .play({ Spawn .ar({ EnvGen .ar(Env.perc) * SinOsc .ar(440,0,0.1) }, 1, // one channels 1) // new event every second })) // The same example in SC3 (will execute) s = Server .defaul ...
-
... lope.kr(x);Trig.kr(x,0.24)*SinOsc.ar(x**f!2)} // bomb bass play{FreeVerb.ar(EnvGen.ar(Env([0.0,0.2,0.0],[0.7,0.5]).circle)*PMOsc.ar(4.4*Saw.kr(9).abs,8.8*Saw.kr(19.sin).abs,94,0.5*Saw.kr(7).lag)!2)}
-
... irst example does this with a buffer containing BrownNoise (shaped by a Hanning envelope). The second example adds timbre control by crossfading between three different Convolution2 results. To avoid clicks in the output when crossing buffe ...
-
... ], ] ) .category_( \wfs_panner ) .synthDef_( SynthDef( "wfsi_id", { var input, env, maxIndex; var gain = -10.dbamp; var index = 0, indexFromBus = 0; index = \index.kr(index); index = index - \startIndex.kr(0); gain = gain * \wfs_gain.ir(0) ...