Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. p_sequencer Quark

    ... 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 ...

  2. Radial loudness meter by snappizz (snappizz) Code

    ... 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 ...

  3. UPatternSpec Quark

    ... \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 ...

  4. PSpecMap Quark

    ... 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 ...

  5. cartesianControl Quark

    ... 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 ...

  6. p_step Quark

    ... 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 ...

  7. p_step Quark

    ... 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 ...

  8. zkarpluck0 Quark

    ... 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 ...

  9. EnvScaleView Quark

    ... (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 ...

  10. PwarpDur Doc

    ... 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 ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow