Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. 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 - ...

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

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

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

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

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

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

  9. GMColorPicker Quark

    ... n_({ |view, x, y| input = this.prGetInput(x, y); if(input == "sv") { hsv[1] = x.linlin( super.interactionRect.left + margin, super.interactionRect.left + (super.interactionRect.width * colorPickerWidth) - (margin / 2), 0, 1); hsv[2] = y.lin ...

  10. main-fx-ssq Quark

    ... (_.sqrt); chain = PackFFT(chain, 1024, magsphases); (adjVol * ((IFFT(chain)*mix.linlin(0,1,0,1))+(input*mix.linlin(0,1,1,0)))); }); Ndef('track1', {arg volume=0, lagTime=0, mute=0, solo=1; (Ndef.ar('filterTrack_1_1', 1) * volume.dbamp.lag(l ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow