-
... (\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 ...
-
... ], ] ) .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) ...
-
... malized so its peak = 1. //Out-of-range positions return 0. Pure function -- no Env objects on the trigger path. *shapeLookup {|data, normPos| var idx, frac, a, b; if(normPos.isNil or: {normPos < 0} or: {normPos >= 1} or: {data.isNil} or: { ...
-
... 's to be used with voicer need to have a few specific things: A variable-length envelope (Env.new with a releaseNode, Env.asr, Env.adsr) A freq argument, for the frequency that will be triggered. Other frequencies (filter cutoffs etc.) shou ...
-
... 's to be used with voicer need to have a few specific things: A variable-length envelope (Env.new with a releaseNode, Env.asr, Env.adsr) A freq argument, for the frequency that will be triggered. Other frequencies (filter cutoffs etc.) shou ...
-
... mescale=1, curve=0, loopnode=0, formfact=2, widfact=0.5, spread=1, amp=0.1| var env = EnvGen.kr( Env( { 1.0.rand2 }!11, {1.0.rand}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midira ...
-
... "nothing" , [ "sine wave" , Color .red(0.2)], "pulse" ], // buttons [ nil , { { Env .sine(0.25, 0.25).kr(2) * SinOsc .ar(440) }.play; }, { { Env .sine(0.25, 0.25).kr(2) * Pulse .ar(440) }.play; } ], // actions Color .blue(0.2), iconName: 's ...
-
... rq = 0.5| var snd = BPF.ar(WhiteNoise.ar(1 ! 2), ExpRand(400, 15000), rq); var env = XLine.kr(ramp ** 0.5, ramp ** -0.5, gdur, amp, 0, 2); Out.ar(out, snd * env); }).add; SynthDef(\imp, { |out, frq = 100, gdur = 0.1, ramp = 4, amp = 0.1| v ...