Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

  2. 5_keyplayer_presez Quark

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

  3. extMakeEnvirGui Quark

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

  4. SmoothRangeSlider Quark

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

  5. 1f_nUFO_relative Quark

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

  6. ColPen Quark

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

  7. p_int_step Quark

    ... ; }, \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 ...

  8. PitchShiftPA Quark

    ... antRatio = maxFormantRatio.max(absolutelyMinValue); formantRatio = formantRatio.clip(maxFormantRatio.reciprocal, maxFormantRatio); bufSize = ((SampleRate.ir * maxdelaytime * maxFormantRatio) + BlockSize.ir).roundUp; //extra padding for maxi ...

  9. SmoothClip Quark

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

  10. extMakeEnvirGui Quark

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

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow