-
... ,1,0],[atk,sustain,rel],[\sin,0,\sin] ), trigg, timeScale: modResl.reciprocal ).clip(1 - ampenv, 1); sig = BufRd.ar( 1, bufnum2, Phasor.ar(0, brate, 0, bframes).wrap( bStart, bEnd ) + (modStart * mod), 1, 4 ); Splay.ar(sig * env, 1, amp, pa ...
-
... = {|dict, inc=0.1| "// new Probability: ".post; NTMI.setZoom((NTMI.zoom + inc).clip(0.05, 1.0).postln); }; KeyPlayer(\prez).put($-, { |char| NTMI.keypl.probStep(-0.1) }); KeyPlayer(\prez).put($=, { |char| NTMI.keypl.probStep(0.1) }); KeyPl ...
-
... .sort; overflow = (newKeys.size - numItems).max(0); keysRotation = keysRotation.clip(0, overflow); newKeys = newKeys.drop(keysRotation).keep(numItems); specsToUse = newKeys.collect { |key| this.getSpec(key, object[key]) }; ^( object: object ...
-
... ) ) / 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))) ...
-
... .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 ...
-
... antRatio = maxFormantRatio.max(absolutelyMinValue); formantRatio = formantRatio.clip(maxFormantRatio.reciprocal, maxFormantRatio); bufSize = ((SampleRate.ir * maxdelaytime * maxFormantRatio) + BlockSize.ir).roundUp; //extra padding for maxi ...
-
... 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 ...
-
... .sort; overflow = (newKeys.size - numItems).max(0); keysRotation = keysRotation.clip(0, overflow); newKeys = newKeys.drop(keysRotation).keep(numItems); specsToUse = newKeys.collect { |key| this.getSpec(key, object[key]) }; ^( object: object ...