-
... ratio var baseFreq = sr / wtSize; var map = (log(freq / baseFreq) / log(ratio)).clip(0, numMaps - 1.001); var map1 = floor(map + 1); if(tables.size == 1) { ^blend(tables[0][map.floor], tables[0][map1], map.frac) } { pos = wtPos.clip(0, tabl ...
-
... ,[0, 0, 0]); var envelope = EnvGen.ar(envShape, t_trig) ; incidence = incidence.clip(0,1); amp = amp.clip(-1,1); ampScaled = abs(amp) **(0.7); lpassFq = 100 + (incidence**(0.7) * 21900) ; // used to cut highs when incidence is low // WAS hp ...
-
... ons.monitorInOffset = 0}; options.monitorInChannels = options.monitorInChannels.clip(1,8); super.setDefaultOptions; } createComponent { this.createInputLevels; } createInputLevels { var inLevelArray; this.createLabel("Input meters").align_( ...
-
... \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 ...
-
... 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 ...
-
... \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 ...