Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1669) Code (209) Doc (505) Help (220) Quark (722) Plugin (13) SCDoc ↗ Forum ↗ Google ↗
  1. how to use the SynthDef's default argument in an Event? by julianrohrhuber (julian.rohrhuber) Code

    ... ronment.play; }); ) ( SynthDef(\test, { |out, freq = 1000| Out.ar(out, Line.ar(0.1, 0, 0.1, doneAction:2) * SinOsc.ar(freq)) }).add ) Pbind(\type, \dnote, \instrument, \test, \dur, 0.3).play;

  2. running water (simple) by lfsaw (LFSaw) Code

    ... var mod, freq, ampMod, src; mod = {LFNoise0.ar(170)}!2; freq = mod.linexp(-1, 1, \lowFreq.kr(400, 8), 2400).lag(0.01); // * Line.kr(1, 0.01, 40); ampMod = 0.5 + mod.linlin(-1, 1, 0.5, 0).lag(0.1); ampMod = ampMod * AmpC ...

  3. danger loud click by alln4tural (alln4tural) Code

    ... er.alloc(s,512,1);inf.do{b.cheby({[1,0].choose}!2);{(Shaper.ar(b,SinOsc.ar(55,0,Line.kr(1,0,2,1,0,2))))!2}.play;0.1.wait;}};

  4. Jazz Arpeggios by bjorn-westergard (Bjorn Westergard) Code

    ... g = SinOsc.ar((note * [1,1.002]).midicps, phase: VarSaw.ar(note.midicps, width: Line.ar(1,0.2,dur))) * 0.3; klang = klang * XLine.ar(1,1/10000,dur,doneAction:2); Out.ar(0, klang); }).store; Pbind( \instrument, \pluck, \degree, Pn(Ps ...

  5. bufferdisplay by redfrik (redFrik) Code

    ... //--main loop u.drawFunc= { //uncomment framerate display in the two lines below to gain some speed Pen.color= Color.white; Pen.stringAtPoint(""++u.frameRate, Point(10, 10)); //-- b.getn(0, b.numFrames-1, {|da ...

  6. guitar feedback by snappizz (snappizz) Code

    ... var delay; delay = freq.reciprocal; Pluck.ar(SinOsc.ar(Line.ar(1000, 50, 0.01)) * Env.perc(0.001, 0.01).ar, Impulse.ar(0), delay, delay, 5, 0.5) }; snd = string.(100) + string.(150) + string.(200); sn ...

  7. Scoring a movie with supercollider by 56228375 (56228375) Code

    ... he tutorial itself is located here: part I about using markers on blender's timeline to trigger OSC commands at https://technogems.blogspot.be/2017/08/scoring-movie-with-supercollider.html and part II about using blender's keyframes and ani ...

  8. Locked In by 56228375 (56228375) Code

    a surprisingly rich soundscape in a few lines of code (lucky accident) // what can it sound like? see: https://www.youtube.com/watch?v=dRmY3tEwZyE // the youtube version has been sent through an additional reverb pedal, but // you don't ...

  9. Insects by dsastre (DSastre) Code

    ... to 58.82 Hz. trig = Impulse.kr(58.82); // the main idea of the following line was to use an approach // that uses the same coefficients as described in the pd patch seq = Dseq(Array.fill(41, {|i| if(i<7, {(i+2)/9},{0}) }),inf); ...

  10. Re: Dub Echo using LocalIn + LocalOut (and Ping Pong) by rukano (rukano) Code

    ... ing a ping pong (can be removed by deleting the .reverse method in the LocalOut line) SynthDef(\dubecho,{|in, out, length = 1, fb = 0.8, sep = 0.012| var input = In.ar(in, 2); var feedback = LocalIn.ar(2); var output = LeakDC.ar(feedb ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow