-
... fill; if (preAmp > 1.0) { Pen.color_(preSatCol); satPreLeft = (1 - (preAmp - 1).clip(0, 1)) * maxwid; Pen.addRect(Rect( satPreLeft, 2, maxwid, height)); Pen.fill; }; }; if (postAmp > 0) { Pen.color_(postCol); Pen.addRect(Rect(2,2, postAmp * ...
-
... n=0,busOut,gain=1,present=1| var sig= SoundIn.ar(externalIn,1); var amp= Lag.kr(Clip.kr(gain)*present); Out.ar(busOut,sig*amp); }).add; SynthDef(\airAbsorption1,{ |externalIn=0,r=1,busOut,gain=1,present=1| var sig, filterfreq; var amp; sig ...
-
... l= 1| ^FSinOsc.ar(1112) *FSinOsc.ar(419) *FSinOsc.ar(173) *FSinOsc.ar(13) *mul *Clip.kr(FSinOsc.kr(rate, 0, 100), 0, 1) } } /* //--testcode s.boot {RedDTMF.dial("12AA34", 4)}.play {RedDTMF.signal(0.4)}.play { Pan2.ar(SinOsc.ar(1112)*SinOsc. ...
-
... RHPF.ar(RLPF.ar( Pulse.ar( (PlayBuf.kr(1,1,Rand(50,100),1,0,1)*Rand(100,1000)).clip( Rand(5,12),Rand(12,20))) ,Rand(100,5000),Rand(0.005,0.1)) ,Rand(5000,20000),Rand(0.005,0.1)) ,0.0,0.0,0.0) ,100,6.0,6),1000,6.0,0),5000,6.0,0),10000,6.0,6 ...
-
... nds { | mode | switch (mode, 'free', { ^{ | value, domain | value.asArray } }, 'clip', { ^{ | value, domain | value.collect( { | item, i | item.clip(domain.min[i], domain.max[i]) } ).asArray; }; }, 'low', { ^{ | value, domain | value.collec ...
-
... pV62 * 0.25) }) { smoothAmp = 0.0; }; out[frameIdx] = [time, useFreq, smoothAmp.clip(0.0, 1.0), usePhase] ++ extras; }; }; tr.copy.put(\points, out) } } }; ~debugAmpGapsV62 = { |tracks, minAmp = 0.000001| var gaps, maxGap, totalGapFrames, t ...
-
... attern { var <>cycleDur, <>curve, <>midpoint; var <>repeats, <>tolerance; var <>clip; *new { |pattern, cycleDur = 4, curve = 1.7, midpoint = 0.5, repeats = 1, clip = true, tolerance = 0.001| ^super.new(pattern).curve_(curve).midpoint_(midpo ...
-
... pe filter as midSideSaw.scd, that makes the sound just a bit grittier. The .softclip after the filter is to vaguely emulate certain filter circuits that, by nature of their design, distort a signal a tiny bit as they filter it. If you don't ...
-
... this.warp.w.close}; }); ^w; } constrain { arg value; ^value.asFloat.round(step).clip(clipLo, clipHi) } map { arg value; // maps a value from [0..1] to spec range ^warp.map(value.clip(0.0, 1.0)).round(step).clip(clipLo, clipHi); } increase { ...
-
... this.warp.w.close}; }); ^w; } constrain { arg value; ^value.asFloat.round(step).clip(clipLo, clipHi) } map { arg value; // maps a value from [0..1] to spec range ^warp.map(value.clip(0.0, 1.0)).round(step).clip(clipLo, clipHi); } increase { ...