-
... ) ) / 2))) / (bounds.height - (knobSize * bounds.width ) .max( thumbSize ) )) ).clip( 0.0,1.0 ); }; } { if( thumbSize < bounds.width ) { pos = ((x - (bounds.left + ( ( knobSize * bounds.height ) .max( thumbSize.min( bounds.width ) ) / 2))) ...
-
LFDClipNoise: Filter: Description Class methods ar kr Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Generators'>Generators > Generators>Stochastic'>Stochastic LFDClipNoise : LFNoise0 : UGen : ...
-
... .valueAction = MKtl(\nUFO).elAt(\imu9).value.collect { |val| (val + 0.02.rand2).clip(0, 1) }; 0.03.wait; } }).play; NTMI.nUFO.debugOn = true; NTMI.nUFO.debugOn = false; NTMI.nUFO.setRel; ***/ ( MFdef(\nUFOImuFunc).add(\setRel, { var imu = M ...
-
... llect(_.asShortCS ).join( ", " ) ++ " );\n" } { ";\n" }); if( [\fill, \stroke, \clip].includes( cmd[0] ) ) { outstring = outstring ++ "\n"; }; }; }); if( clear ) { this.clear }; ^outstring } // private *collectUse { |inCmds| // recursive co ...
-
... ; }, \off, { current = current + (direction * stepsize.next); current = current.clip(lo.next,hi.next); direction = 1; } ); current.asInteger.yield; }; }.r; }) .valueIsMapped_( false ) .setSpec( \stepsize, IntegerSpec() ) .setSpec( \lo, Inte ...
-
... R, 0.2, kFreq.reciprocal, kFreq.reciprocal * 31), 0.98); // overdrive (soft clipping) sigL = (sigL * 1.5).tanh; sigR = (sigR * 1.5).tanh; // feedback loop filters + DC blocker sigL = LeakDC.ar(HPF.ar(LPF.ar(sigL, kLpf), kHpf)) ...
-
... antRatio = maxFormantRatio.max(absolutelyMinValue); formantRatio = formantRatio.clip(maxFormantRatio.reciprocal, maxFormantRatio); bufSize = ((SampleRate.ir * maxdelaytime * maxFormantRatio) + BlockSize.ir).roundUp; //extra padding for maxi ...
-
... efine an attack-slide envelope ( SynthDef(\modAtkEnv, { |out, value, ratio = 4, clipLo = 20, clipHi = 20000, decay = 0.08, lag = 0.02| Out.kr(out, ( Lag.kr(value, lag) * EnvGen.kr(Env([1, ratio, 1], [0, decay], \exp)) ).clip(clipLo, clipHi) ...
-
... s(x) < given tangent point x0 // and sine fragment values above x0 and below 1, clip for abs values above 1. // The transfer function is antisymmetrical, its slope tends to 0 for x -> +-1. // Source and target range can be shifted with from ...
-
... n} =a Y{n-1} + b Y{n-2} + d Y^2{n-l} + X{n} - c described in Dobson and sigmoid clipping. This filter is inherently unstable, so pick some sane values and move slowly from there. Class Methods NLFiltC. ar ( input , a , b , d , c , l , mul: ...