Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. mrcl snippets #3: feedback timer by elgiano (elgiano) Code

    ... Resonz.ar(c,TRand.kr(20,20000,m),0.1,1000).tanh; n = SelectX.ar(LFNoise0.kr(r.linlin(0,4,0.1,10)).range(0,4),[m,K2A.ar(r),c,l]); LocalOut.ar(n); n }.play ) ( Ndef(\fbTimer3){ var localin = (LocalIn.ar(2)*0.98)+\in.ar(0!2 ...

  2. etude wild LC by lfsaw (LFSaw) Code

    ... ff, { Splay.ar(SinOsc.ar([1100 *0.33, 300, 295, 265, 240] * SinOsc.ar(20, pi).linlin(-1, 1, 0.99, 1.01) * Line.kr(1, 0.1, 100))); }); }

  3. Poussière : standalone dust generator (uncommented version of luce) by simon (Dindoléon) Code

    ... arg slider, x = 0.5, y = 0.5, m; ([256, 0].includes(m)).if{ value[0] = (x).linlin(0,slider.bounds.width,0,1); value[1] = (y).linlin(0,slider.bounds.height,0,1); slider.doAction}; }; slider.mouseMoveAction = slider.mouseDownActi ...

  4. num1 by devi-skanadze (Devi Skanadze) Code

    ... snd = SinOsc.ar(freq + fm, 0, env) * lfo; snd = RLPF.ar(BufRd.ar(1,~buff, LinLin.ar(snd, -1.0, 1.0, 0.0, BufFrames.kr(~buff))), 2000, 2.reciprocal) * 0.25; Out.ar(0, Pan2.ar(snd, 0)); }).add; ) ( var seq = [66, 73, 85, 76, 6 ...

  5. Function to extract audio from youtube + example usage by gosub (gosub) Code

    ... 2], descent); var frames = BufFrames.kr(bufnum); var lf = LFNoise0.ar(cuts).linlin(-1, 1, 0, frames); var snd = PlayBuf.ar(2, bufnum, BufRateScale.kr(bufnum)/rates, Impulse.kr(cuts), startPos: lf); snd = Splay.ar(snd.flatten.scra ...

  6. midi soft takeover by meunierfabien (meunier.fabien) Code

    ... , chan, src; var guiControl, midiControl, treshold; midiControl = val.linlin(0, 127, 20, 20000); guiControl = knob.value; treshold = 500; // adapt this with your needs, it depends on the values of step in ControlSpec and ...

  7. SimpleMIDIFile help by wingel-prez-mendoza (Wingel Pérez Mendoza) Code

    ... ndow, Rect(30, 40, 50, 320)); fader.action_({|obj| var tr; tr = obj.value.linlin(0,1,-12,12).postln; tr + ~transpose; {a.allNotesOff}; }); button.states = [["Off", Color.white, Color.black], ["On", Color.black, Color.red]]; but ...

  8. Simple animated 2D user interface by rukano (rukano) Code

    ... center_(Point(x, y)); k = k.size_(Size(size, size)); b.setSynchronous(x.linlin(0,u.bounds.width, 1/4, 16)); c.setSynchronous(50*(y/4)); }; w.onClose = { Ndef(\sound).end(1) }; u.background = Color.blue(0.5); u.animat ...

  9. sonic focal depth by danstowellsccode (danstowell) Code

    ... on).abs.linexp(0,1, 1, 0.0005); ampfactor = (layerpos - position).abs.linlin(0,1, 1, 0.9); IFFT(PV_MagSmooth(FFT(~fftbufs[i], son), smoothfactor)) * ampfactor * AmpCompA.ir(~basefreqs[i], ~basefreqs[3]) }; layers.mean.d ...

  10. control patterns via control bus by luka (Luka P.) Code

    ... // uncomment for an extreme example: //\dur, Pfunc{ ~bus2.getSynchronous.linlin(1,3,5,1) * 0.035 }, \legato, 0.3, \release, 2, \root, -30, \pan, Pfunc({0.5.rand2}), \rez, Pfunc({0.7.rand +0.3}), \amp, 0.2).play; ) // ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow