Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nge { arg lo, hi, range=\unipolar; // useful for SCSlider .value output //^this.linlin(inMin, inMax, lo, hi); var mul, add; if (range == \bipolar, { mul = (hi - lo) * 0.5; add = mul + lo; },{ mul = (hi - lo) ; add = lo; }); ^(this * mul) + ...

  2. Quneo Additive synth with modulation and filters. by blueprint (blueprint) Code

    ... [note] = Synth("addsynth", [ \freq, ~fundamental * partial, \amp, vel.linlin(0, 127, 0.1,0.8), \att, ~att, \dec, ~dec, \sus, ~sus, \rel, ~rel, \lpfFreq, ~lpfFreq, \lpfRes, ~lpfRes])}, noteNum: (29. ...

  3. center_focus Quark

    ... 0.5, focus = 0.0, knee = 0.0| var lo, hi; knee = knee * (1-focus); lo = center.linlin( focus.linlin(0,1,0.5,0),1,-1,0,\none).sineclip2(1,knee) + 1; hi = center.linlin( 0, focus.linlin(0,1,0.5,1),0,1,\none).sineclip2(1,knee); UMapOut.kr([lo ...

  4. center_focus Quark

    ... 0.5, focus = 0.0, knee = 0.0| var lo, hi; knee = knee * (1-focus); lo = center.linlin( focus.linlin(0,1,0.5,0),1,-1,0,\none).sineclip2(1,knee) + 1; hi = center.linlin( 0, focus.linlin(0,1,0.5,1),0,1,\none).sineclip2(1,knee); UMapOut.kr([lo ...

  5. map-vol-to-midi Quark

    ... ont.interpret; }.({|val| val.round(0.1)}.([-90.0, 6.0, 'db'].asSpec.map(args[0].linlin(0, 127, 0, 1.0))) )},19); Ndef('track1').lag('volume', 0.01); == radpostcont == (none) >> vol 2 midicc_(23) == radpost == MIDIdef.cc('hid2', {arg ...args ...

  6. Filter Quark

    ... * Line.kr(0,1,0.1); output = \convrev; (output*mix.max(0).min(1)) + (input*mix.linlin(0,1,1,0)); } ], [ 'frz2', {arg thresh=1, adjVol=1, lagTime=0.1; var freeze, chain, input, frameSize=2048; input = \in; chain = FFT(LocalBuf(frameSize, in ...

  7. waveshaping animation by elifieldsteel (eli.fieldsteel) Code

    ... 4); output = output.waveFill({ arg x, old, i; transfer.blendAt(input[i].linlin(-1,1,0,384)); }); Window.closeAll; win = Window.new("", Window.screenBounds, false, false).front; win.view.background_(Color.gray(0.1)); win. ...

  8. Young Mr. Markov by paparde (Paparde) Code

    ... Notes.postln; ( ~note0 = ~markovNotes[0]; ( if (~note0<69) {~n0 = ~note0.linlin(57, 68, 0, 11)} //the if statements look at each of the 16 midi {~n0 = ~note0.linlin(69, 81, 0, 12)} //values of the first array and converts them to ...

  9. Subtractive Synthesis Demo with QuNeo - Patch 1 by bruno (Bruno Ruviaro) Code

    ... cc( key: \adsr, func: {arg val, ccnum; case {ccnum==6} {att = val.linlin(0, 127, 0.01, 4)} {ccnum==7} {dec = val.linlin(0, 127, 0.05, 2)} {ccnum==8} {sus = val.linlin(0, 127, 0.10, 1)} {ccnum==9} {rel = val.linlin( ...

  10. polar Quark

    ... */ UMapDef( \polar, { |rho = 0.5, theta = 0| var polar, x,y; polar = Polar( rho.linlin(0.5,1,0,1,\none), theta ); x = polar.real.linlin(0,1,0.5,1,\none); y = polar.imag.linlin(0,1,0.5,1,\none); UMapOut.kr([x,y]); }) .setSpec( \theta, AngleS ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow