-
... t + direction).wrap( *range.next + [0,1] ); } { current = (current + direction).clip( *range.next + [0,0] ); }; vals.at( current ).yield; }; }.r }, addToAll: false ) .category_( \pattern ) .setSpec( \range, [0,n-1,\lin,1].asSpec.asRangeSpec ...
-
... g msg; if (msg[1] == synth.nodeID) { if (msg[2] == 0) { short = msg[3].clip(0, 1); { canv.refresh }.defer; }; if (msg[2] == 1) { long[longPos] = msg[3].clip(0, 1); longPos = (longPos + 1) % longSize; { canv.re ...
-
... \fadeIn ] = SmoothNumberBox( vws[ \view ], Rect( labelWidth + 2, 0, 40, 14 ) ) .clipLo_(0) .scroll_step_(0.1) .formatFunc_( { |value| [ value.round(0.01), "s" ].join(" ") } ) .background_( { |rect| var fadeInCurve = 0; if( UGUI.nowBuildingU ...
-
... f 440.0 ControlSpecs with the default low/high at the minval/maxval will simply clip the optimal range to that. a = Pseq ([0,0.05,0.1], inf ); m = PMapSpec (a, [0,1], \freq .asSpec.optimalRange); t = m.asStream t.next t.next t.next and if y ...
-
... om the origin. newDistance = cartesian3dPoint.rho; // newDistance = newDistance.clip(0.00001, maxDistance); // Implement the inverse distance model that calculates the gain based on the distance. inverseDisModel = refDistance / (refDistance ...
-
... ext, hi.next ).yield; inf.do { |i| current = (current + ((direction/steps.next).clip2( 1.0e12 ))); switch( loop.next, \loop, { current = current.wrap( 0.0, 1.0 ); direction = 1; }, \backwards, { current = current.wrap( 0.0, 1.0 ); direction ...
-
... ext, hi.next ).yield; inf.do { |i| current = (current + ((direction/steps.next).clip2( 1.0e12 ))); switch( loop.next, \loop, { current = current.wrap( 0.0, 1.0 ); direction = 1; }, \backwards, { current = current.wrap( 0.0, 1.0 ); direction ...
-
... ttkExp = pWidth * 24; // constant curve shape exp maximum var attkAmp = note[1].clip(0,10); var combDelaySec = freq.reciprocal; var fb,fbdel, log001 = log(0.001); // OPTIMISE //SendTrig.kr(Impulse.kr(1), 0, freq); //combDelaySec.clip((Sampl ...
-
... (env); me.refresh }).mouseMoveAction_({ |me,x,y,mod| var dx = (x - prevPoint.x).clip(-10,10),dy = y - prevPoint.y,vleftNumGridLines,currZeroPos,breakPointLevel,breakPointCoordX,breakPointCoordY,prevBreakPointTime,nextBreakPointTime; onBreak ...
-
... how many cycles to perform. (This is polled once, when PwarpDur takes control.) clip A boolean, function or stream. (This is polled once per repeat.) If true on this repeat, the final duration will be clipped so that the total input and out ...