Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (72) Code (2) Doc (12) Help (4) Quark (54) SCDoc ↗ Forum ↗ Google ↗
  1. clip_scale Quark

    ... + 1.0e-8); sig = sig.linlin(*fromRange ++ [-1,1,\none]); sig = Select.kr( curve.inRange(-0.001,0.001), [ sig.lincurve(-1,1,-1,1, curve, \none ), sig ]); sig = if( invert, sig.neg, sig ); sig = Select.kr( clipMode, [ sig.softclip2(1, clipSof ...

  2. clip_scale Quark

    ... + 1.0e-8); sig = sig.linlin(*fromRange ++ [-1,1,\none]); sig = Select.kr( curve.inRange(-0.001,0.001), [ sig.lincurve(-1,1,-1,1, curve, \none ), sig ]); sig = if( invert, sig.neg, sig ); sig = Select.kr( clipMode, [ sig.softclip2(1, clipSof ...

  3. fmBass Quark

    ... or the Modulator scale = (attFraction + relFraction); scale = Select.kr( which: InRange.kr( in: scale, lo: 1, hi: inf), array: [ DC.kr([attFraction, relFraction]), DC.kr([attFraction/scale, relFraction/scale]) ]); scale = scale * (att + rel ...

  4. SWBusNode Quark

    ... chmidtGateNode As above, but multiplies the output by the current input signal. InRangeNode Outputs 1 if the input is within the given range (between the parameters low and hi ), otherwise 0. Based on the UGen InRange . InRangeGateNode Outp ...

  5. FractureSynth Quark

    ... cnotes.size-1] - fracnotes[0]) * 2 - 1}, {basepan = 0} ) }; playpan = Select.kr(InRange.kr(pan, -1, 1), [basepan, pan]); if (normalize > 0) {preamp = ((1/peakAmp - 1)*normalize + (gain.dbamp ?? 1))} {preamp = (gain.dbamp ?? 1)}; monosig = B ...

  6. EuroCollider Quark

    ... (default) // and from below while({(baseFreq.cpsmidi - (curFreq ? 10).cpsmidi).inRange(0.0, minMatch).not}, { // todo make this properly "%: Adjust tuning: % Hz".format(this, (curFreq?0) - baseFreq).postln; 0.1.wait; }); "%: Absolute pitch ...

  7. SensorSonify Quark

    ... (lagt,lagdt) * AmpCompA.kr( freq ) ); }).add( \SensorSonification ); SynthDef( \inrangeSonify, { |inbus=0, outbus=0, amp=0.5, freq=200, dur=0.3, lo=0.7,hi=1| var trig,time; trig = InRange.kr( In.kr(inbus, 1 ), lo, hi ); Out.ar( outbus, EnvG ...

  8. ZPlane Quark

    ... ds = Rect(50, 320, 300, 300); var zplane, drawzplane, dragcorner, point, index, inRange = false; drawzplane = { arg me; var dimH = me.bounds.height, dimW = me.bounds.width, it = 6; Pen.use { //Draw the grid GUI.pen.width = 0.5; it.do({ arg ...

  9. shared_in Quark

    ... ess = 0| var sig; sig = (USharedValueIn.kr(id) * 2) - 1; sig = Select.kr( curve.inRange(-0.001,0.001), [ sig.lincurve(-1,1,-1,1, curve, \none ), sig ]); sig = sig * ((invert * -2) + 1); sig = Select.kr( clipMode, [ sig.softclip2(1, clipSoft ...

  10. shared_in Quark

    ... ess = 0| var sig; sig = (USharedValueIn.kr(id) * 2) - 1; sig = Select.kr( curve.inRange(-0.001,0.001), [ sig.lincurve(-1,1,-1,1, curve, \none ), sig ]); sig = sig * ((invert * -2) + 1); sig = Select.kr( clipMode, [ sig.softclip2(1, clipSoft ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow