Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... (2); ~yres = screenRes[0][1]; ~midiToY = { arg midinote; ~mnd[midinote].linlin(~mnd[~pitchLo].asFloat, ~mnd[~pitchHi].asFloat, ~yres, 0.0).round; }; //SYNTHDEF SynthDef(\mouseTheremin, { arg pitchLo = 30, pitchHi = 80, pitchr ...

  2. Outhau5 by tnevada (tnevada) 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; SynthDef("clap", {arg rate ...

  3. Basic FM Matrix Synth by lfsaw (LFSaw) Code

    ... freq + oscArray.inject(0, {|sum, osc, j| sum + (osc * modIndex[i][j].linlin(0, 3, 0, 10000)) }), modIndex[i][i] ); oscArray ++ tmpOsc; }); // end inject (oscs * amps).sum; }) ) Ndef(\fmMatrix).gui ...

  4. Additive Synthesis Demo with QuNeo - Patch 3 (Risset Bell) by bruno (Bruno Ruviaro) Code

    ... MIDIdef.cc( key: \duration, func: {arg val, ccnum; duration = val.linlin(0, 127, 0.5, 10); ("Duration is "++duration.round(0.1)++" seconds").postln}, ccNum: 10, // Long Slider chan: quneoChannel); SynthDef(\risse ...

  5. 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); } ...

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

  8. In Love - MUSC 115 Final by ldavidson (ldavidson) 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 ...

  9. One chord requiem by 56228375 (56228375) Code

    ... ngemin, rangemax | 127.collect({ |time| sin(2pi*time/period + phase).linlin(-1, 1, rangemin, rangemax); }); }; bins = Set[]; while ({bins.size < no_of_bins}) { bins = bins.add(20.rrand(100)); }; bins = bins.asLi ...

  10. DFM & Greyhole dronin' by lfsaw (LFSaw) Code

    ... filter = DFM1.ar( src, freq: \ffreqIdx.kr(2, 1) * root, res: lfo1.linlin(-1, 1, 0.1, 1.1), inputgain: 1, type: 0, // SinOsc.kr(10, [0, pi]).range(0,1), noiselevel: 0.0003, mul: 0.5 ); src = SelectX.ar(\fWet. ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow