Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Boids Example by shouhei (xffff) Code

    ... lor = boidcolour[i]; QPen.use{ QPen.fillOval( Rect(theseboids[i][0].linlin(0,1,0,400), theseboids[i][1].linlin(0,1,0,400), theseboids[i][2].linlin(0,maxvel/2,10,100), theseboids[i][3].linlin(0,maxvel/2,10,100)) ...

  2. Filter Quark

    ... * Line.kr(0,1,0.1); output = \convrev; (output*mix.max(0).min(1)) + (input*mix.linlin(0,1,1,0)); } ], [ 'gdy1', {arg mix=0 -> [0,1], maxMul=1 -> [1, 8], ampdist=2 -> [0, 6, {|val| val.round(1)}], durDist=3 -> [0.0001, 8, \exp], adParam=1 - ...

  3. MultiPlot Quark

    ... Pen.use({ Color.black.alpha_(linesAlpha).set; hLinesAt.do({ |item| item = item.linlin(minVal, maxVal, rect.bottom, rect.top, \none ); Pen.line( rect.left@item, rect.right@item ).stroke; }); vLinesAt.do({ |item| item = item.linlin(0, maxArr ...

  4. CompressorUI Quark

    ... d - (threshold / ratio); // Map threshold to coordinates thresholdX = threshold.linlin(minThreshold, 0, 0, width); // Calculate output level at threshold thresholdY = if (threshold < threshold, { threshold.linlin(minThreshold, 0, height, 0) ...

  5. WFSPreviewSynthDefs Quark

    ... 5pi).neg.fold(-0.5pi,0.5pi) / 0.75pi ); amplitudes = amplitudes.max( globalDist.linlin(0.5,1,1,0).clip(0,1) ); in * amplitudes; }, \binaural: { |in, point, elevation| var distances, globalDist, delays, angles, ambis; globalDist = (0@0).dist ...

  6. extNumber-softfold2 Quark

    ... ; me = this * div; ^( me.clip2( aNumber-range ) + ( me.excess( aNumber-range ) .linlin( range.neg, range, -0.5pi, 0.5pi ) .sin * 0.64028001980323 * range ) ) / div; } { ^this.clip2( aNumber ); }; } softexcess2 { |aNumber = 0.1, range, steep ...

  7. extNumber-softfold2 Quark

    ... ; me = this * div; ^( me.clip2( aNumber-range ) + ( me.excess( aNumber-range ) .linlin( range.neg, range, -0.5pi, 0.5pi ) .sin * 0.64028001980323 * range ) ) / div; } { ^this.clip2( aNumber ); }; } softexcess2 { |aNumber = 0.1, range, steep ...

  8. Additive Synthesis Demo with QuNEO - Patch 1 by bruno (Bruno Ruviaro) Code

    ... [note] = Synth("addsynth", [ \freq, ~fundamental * partial, \amp, vel.linlin(0, 127, 0, 0.5), \att, ~att, \dec, ~dec, \sus, ~sus, \rel, ~rel; ])}, noteNum: (30..127), // Ignore notes lower than 24 (= 46Hz ...

  9. main-fx-rm1 Quark

    ... nTrack1', 1)*SinOsc.ar(freq.lag(lagTime),0,sinamp); adjVol.dbamp * ((signal*mix.linlin(0,1,0,1))+(Ndef.ar('inTrack1', 1)*mix.linlin(0,1,1,0)));}); Ndef('track1', {arg volume=0, lagTime=0, mute=0, solo=1; (Ndef.ar('filterTrack_1_1', 1) * vol ...

  10. SGME_GUIPanel3 Quark

    ... ParameterOSC( string: "/osc/" ++ num ++ "/pulse/" ++ "level", value: knob.value.linlin(0,1,0,10), addrForbidden: \GUI, ) }; pulseShape.action = {|knob| synthiGME.setParameterOSC( string: "/osc/" ++ num ++ "/pulse/" ++ "shape", value: knob.v ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow