Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. pitch_follow Quark

    ... curve.inRange(-0.001,0.001), [ sig.lincurve(0,1,0,1, curve ), sig ]); sig = sig.linlin(0,1,*toRange ++ [ \none ]); UMapOut.kr(sig); }) .setSpec( \ampThreshold, \amp.asSpec ) .setSpec( \median, [1,31,\lin,1,7].asSpec ) .setSpec( \pitchRange, ...

  2. pitch_follow Quark

    ... curve.inRange(-0.001,0.001), [ sig.lincurve(0,1,0,1, curve ), sig ]); sig = sig.linlin(0,1,*toRange ++ [ \none ]); UMapOut.kr(sig); }) .setSpec( \ampThreshold, \amp.asSpec ) .setSpec( \median, [1,31,\lin,1,7].asSpec ) .setSpec( \pitchRange, ...

  3. EventStream Quark

    ... e(false) }.collect{ |x| x.at(\newValue).get.at2 } }; ^T(pages, pageChangeES ) } linlin { |inMin, inMax, outMin, outMax, clip=\minmax| ^this.collect( _.linlin(inMin, inMax, outMin, outMax, clip) ) } linexp { |inMin, inMax, outMin, outMax, cl ...

  4. Good Life 115granular by hwright (hwright) Code

    ... s: 2, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = BPF.ar(snd, ffreq, rq); snd = Pan2.ar(snd, panning); Out.ar(0, snd); } ...

  5. EaseOverview Doc

    ... are flexibe when used inside synthdefs c= {SinOsc.ar(EaseInAtan.(SinOsc.kr(1)).linlin(0, 1, 500, 5000), 0, 0.1)}.play //becomes kr c.free c= {SinOsc.ar(EaseInAtan.kr(SinOsc.ar(1)).linlin(0, 1, 500, 5000), 0, 0.1)}.play //kr with ar arg c.f ...

  6. Another weird filter distortion by wondersluyter (wondersluyter) Code

    ... 1, 5) * env_tail) + (filtersig * 0.1); sig = XFade2.ar(sig, filtersig, wet.linlin(0, 1, -1, 1), amp); XOut.ar(outbus, 1, sig * env_on); }, [0, 0.1, 0.1, 0.1, 0.1, 0]).add; ) ( Pproto({ ~dist = (type: \on, \amt: 0, instrum ...

  7. UChainEventView Quark

    ... tion,noAction| var resizeFrontDetectArea, px5squashed; px5squashed = rect.width.linlin( px5Scaled, px5Scaled * 3, 0, px5Scaled, \minmax ); if(fadeInAreaBiggerThen10Pixels) { resizeFrontDetectArea = rect.copy.width_(px5squashed); } { resizeF ...

  8. UChainEventView Quark

    ... tion,noAction| var resizeFrontDetectArea, px5squashed; px5squashed = rect.width.linlin( px5Scaled, px5Scaled * 3, 0, px5Scaled, \minmax ); if(fadeInAreaBiggerThen10Pixels) { resizeFrontDetectArea = rect.copy.width_(px5squashed); } { resizeF ...

  9. XiiBufferOnsetPlot Quark

    ... ewClear(width); width.do { arg i; var x; x = chan.blendAt(i / zoom); val[i] = x.linlin(0.0, 1.0, 0.0, 1.0); if(val[i] > thresh, { onsetsList.add( Point(bounds.left+i, val[i]) ); onsetTimesList.add( (i/zoom)/44100 ); // frames }); }; chanArr ...

  10. MultiButtonView by simon (Dindoléon) Code

    ... y | var new_state; if( orientation == \horizontal, { new_state = x.linlin( 0, view.bounds.width, 0, states_number ).asInt; }, { new_state = y.linlin( 0, view.bounds.height, 0, states_number ).asInt; } ); if( new_st ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow