Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1669) Code (209) Doc (505) Help (220) Quark (722) Plugin (13) SCDoc ↗ Forum ↗ Google ↗
  1. Dark ambience by kymatica (Jonatan Liljedahl) Code

    play{a=HPF.ar(ar(PinkNoise,5e-3),10)*Line.kr(0,1,9);ar(GVerb,({|i|ar(Ringz,a*LFNoise1.kr(0.05+0.1.rand),55*i+60,0.2)}!99).sum,70,99).tanh}

  2. Clock Difference by codepool (codepool) Code

    ... osen: " ++ res) }; res[0] }; } } + Pipe { *do { arg commandLine, func; var line, pipe = this.new(commandLine, "r"), i=0; { line = pipe.getLine; while { line.notNil } { func.value(line, i); i = i ...

  3. By The Throat by schemawound (Schemawound) Code

    ... , 0.5)); var sin1 = SinOsc.ar(LFNoise0.kr([1.2, 1.0], 1000, 1000)); var line1 = Line.kr(10, 3000, seconds); var sin2 = SinOsc.ar(line1); var out = pulse * sin1 * sin2 * 0.3; var line2 = Line.kr(100, 5000, seconds); v ...

  4. Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code

    ... equency - I just wanted to add a slider for variable sample rate, and some grid lines that makes it easier for me to see the sampling rate. ( // a slightly modified version of the excellent example patch by James Harkins. // I added some ...

  5. Sketch Pad by elifieldsteel (eli.fieldsteel) Code

    ... w.refresh},{} ); }; //mouse drag redefines userview drawFunc //Pen draws line from old point to current point //then sets old point equal to current point view.mouseMoveAction = { |v, x, y, mod| view.drawFunc = { Pen.strokeC ...

  6. Simple Harmonic Motion by rukano (rukano) Code

    ... , { |out, freq, amp, sustain, pan| var snd = BLowPass4.ar(Saw.ar(freq), freq*Line.kr(2, 1, sustain/4), 1); snd = snd * EnvGen.ar(Env.perc(0.01, sustain), doneAction:2); OffsetOut.ar(out, Pan2.ar(snd, pan, amp)) }).add; }); ~sca ...

  7. soundfile playback by lfsaw (LFSaw) Code

    ... (\dur: file.duration))}, 1).play; } ) // adjust path and evaluate the next line w.value("/Volumes/usbImport/PMD620/200804062000/*.WAV")

  8. Pong by dilots (dilots) Code

    ... (1.5); ballYMovement = -3.0; } ); Pen.use { // draw bounds Pen.line(Point(40,40),Point(40,height-40)); Pen.line(Point(width-40,40),Point(width-40,height-40)); Pen.strokeColor = Color.green; Pen.width = 3; Pen.st ...

  9. Granular electromaton by willammoxdrossard (William Mox Drossard) Code

    ... ("g1",{ arg out=0,bufnum=0,dur=1,rate=1,pos=0,sdens=1,edens=1; var dens = Line.kr(sdens,edens,dur); var trig = [LFNoise0,SinOsc,Impulse,LFPulse,LFSaw].choose.ar(Line.kr(sdens,edens,dur)); //var env = EnvGen.kr(Env.perc(0.0 ...

  10. PM stack tweet by kymatica (Jonatan Liljedahl) Code

    ... minutes, ending in noise. play{x=0;(50..120).do{|f|f=f/2;x=SinOsc.ar(f+[0,1],x*Line.kr(1,3,240,doneAction:2))};tanh(x+Ringz.ar(Impulse.ar(2),45,0.3,3))}

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow