Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Additive Synthesis GUI Demo 4 by bruno (Bruno Ruviaro) Code

    ... {arg knob; // update array of partials partialArray[count] = knob.value.linlin(0, 1, -0.2, 0.2).round(0.01) + count + 1; // if this partial is currently playing, update its partial number (thus freq): if(spectrum[count].isNi ...

  2. Visual gain reduction meter by jpdrecourt (jpdrecourt) Code

    ... update oscFn = OSCFunc({arg msg; { indicator.value = (1-msg[3]).ampdb.linlin(maxReduc, 0, 0, 1); }.defer; }, '/level', s.addr); }.fork(AppClock); ) // Try it with this simple example ( // something to meter b = B ...

  3. oenci by vividsnow (vividsnow) Code

    ... ty.kr( tempo.reciprocal * Drand((1,4..48), inf), 0, Drand((0..10).linlin(0,10,0,2*pi),inf) )) // not sure ).range(-0.5,5.5), [ // perc BrownNoise.ar(LFNoise2.kr(0.1.exprand(1)).range(0.3,0.75)), Wh ...

  4. granular AM synthesis by 56228375 (56228375) Code

    ... en.fillColor = colors[(degrees[i] % 12)]; Pen.addRect(Rect(0, degrees[i].linlin(-1,12,height, 0)+(barheight*(ampscaled/2.0)), w.bounds.width, barheight*ampscaled)); Pen.perform(\fill); }); }; }; noteEvents ...

  5. Re: Silly Voice by wondersluyter (wondersluyter) Code

    ... snd + Pan2.ar(SelectX.ar(Lag.kr(temp_vowel, temp_lag), [va, ve, vi, vo, vu]), i.linlin(0, 4, -1, 1)); }; snd = Compander.ar(snd, snd, -30.dbamp, 1, 0.5, 0.01, 0.1) * 6.dbamp; snd = FreeVerb2.ar(snd[0], snd[1], 0.5, 1, 1); ...

  6. Infinite rhythmic marimba clusters by elifieldsteel (eli.fieldsteel) Code

    ... + verbSig; }; //dry/wet mix totalSig = XFade2.ar(sig, totalSig, mix.linlin(0,1,-1,1)); outSig = totalSig * amp; Out.ar(out, outSig); }).add; SynthDef(\filtSaw, { arg freq=440, detune=3.0, atk=6, sus=4, rel=6, c ...

  7. DiamondSlider : custom unidimensionnal slider GUI. by simon (Dindoléon) Code

    ... ); label.font = font; slider.mouseDownAction = { |slider, x| value = (x).linlin(0,slider.bounds.width,0,1); synth.set(\freq, value.linexp( 0, 1, 110, 220)); label.string = "Frequency: " + value.linexp(0,1,110,220).trunc(0.01); ...

  8. Waveshaping Synthesis GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... mplitude change in EZNumber box { 100.do({arg i; {o.valueAction = i.linlin(0, 99, 1, 0).round(0.01)}.defer; (shortNoteDur/100).wait; }) }.fork; // button.value.postln; }); Button.new(i, 132@50) .states_([ ...

  9. 115 final project by mason-mccormack (Mason McCormack) Code

    ... s: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; // Same as above, but adding ...

  10. luce : standalone synth and custom slider GUI demo by simon (Dindoléon) Code

    ... 5, m; ([256, 0].includes(m)).if{ // restrict to no modifier value[0] = (x).linlin(0,slider.bounds.width,0,1); // Linear mapping between the slider size and 0 -> 1 value[1] = (y).linlin(0,slider.bounds.height,0,1); slider.doAction ...

prev 11 12 13 14 15 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow