-
... " ++ i.asString ++ ", { var val = Array.newClear(" ++ (i + 1) ++ "); var zero = DC.ar(0); " ++ i ++ ".do({ | i | val[i] = zero; }); val[" ++ i ++ "] = AlgaDynamicIEnvGenBuf.ar(\\envShape.kr(-1), \\fadeTime.kr(0), maxSize: AlgaStartup.maxEnv ...
-
... iveeq.leakBPF",{ arg audio=0.0,coef=0.8,ffreq=1000,rq=0.5,gain=0.2; audio = LeakDC.ar(audio,coef); audio + BPF.ar(audio,ffreq,rq,gain) },[ \audio, \coef, \ffreq, \rq, \gain ], \audio ); Instr("liveeq.upwardLimHPmids",{ arg audio=0.0,thresho ...
-
... ufnum) ); // as local oscillation can stick with positive or negative values, a dc leaker is recommended Out .ar(0, LeakDC .ar(sig) * EnvGate .new) }).add ) x = Synth ( \bufScratchFold , [bufnum: b]) x.set( \preAmp , 5.4) x.set( \foldRange ...
-
... erFunction, fftsize = 1024, numcoeff = 13| var analyser = { |input| var array = DC.kr([1, 2, 3]); (trig: Impulse.kr(2), spectrum: array) }; ~that_analysisDef.(name, inputFunction, analyser, responseFunction, triggerFunction) };
-
... ; speed.poll(trig, label: "speed"); accelerate.poll(trig, label: "accelerate"); DC.kr(0).poll(trig, label: "\n\n"); }).add ); )
-
... = (sig * (sig > 0)) + (tanh(sig * sc) / sc * (sig < 0)); ReplaceOut.ar(out, LeakDC.ar(sig)); }, [\ir]).add; // Sonic Pi's krush // modified a bit so krush "0" is the same as dry signal // uses `krush` and `kcutoff` as paramters ~dirt.addMod ...
-
... the original saw wave creates a saw with the same frequency, a new phase, and a DC offset that gets subtracted out. The musical effect of all this is a subtle chorus-y pwm-y sort of modulation. Now let's talk about the two other slightly de ...
-
... ul, localAdd, parBuf; localTrig = trig[i] * ((trigCount[i] % (overlapSize[i]) - DC.ar(j)).abs < 0.01); localZeroXDiff = Demand.ar(localTrig, 0, zeroXDiff[i]); localPhaseOffset = Demand.ar(localTrig, 0, baseX[i]); localRate = Demand.ar(local ...
-
... if( Pfunc { 0.5.coin }, AT({ LFNoise0.kr(10) }, scale: [440, 880]), Pseq([ AT { DC.kr(220) }, AT { DC.kr(440) }], inf) ) )).play(chans:2) }) ) ``` - `AlgaSynthDef`: can now correctly store and retrieve `AlgaSynthDefs` with the `write` / `lo ...
-
... } { 0 }; signal = Select.ar(CheckBadValues.ar(signal, post: post) > 0, [signal, DC.ar(0)]); signal = Select.ar(limitertype, [ signal, Limiter.ar(signal), softclip(signal * 0.5) * 2 ] ); DirtPause.ar(signal, graceTime:4); signal = signal * E ...