Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. Dawn by schemawound (Schemawound) Code

    ... | var syn, env, ampMod, output; var lfo2input = Array.new(2); var lfo = Array.new(3); lfo = lfo.add(SinOsc.kr([lfo0L, lfo0R]).range(0, 1)); lfo = lfo.add(SinOsc.kr([lfo1 ...

  2. Melting Circus Tweet by schemawound (Schemawound) Code

    A tweet that sounds like a circus melting (in space) play{a=Mix(Array.fill(75,{|i|SinOsc.ar(rrand(1,50)*i+10,0,LFNoise1.kr([1.8,2.3]))}))*0.02;CombL.ar(a,15,SinOsc.ar([0.1,0.11],0,0.5,0.6),10)}

  3. Molecular music box by 0-2U (grirgz) Code

    ... degrees var lenstr = Pseq([4,3],inf).asStream; // note length var buf = Array.fill(16,{List.new}); // record loop buffer var deg, len; len = lenstr.next; inf.do { var i = ev[\index]; var n = buf[i]; ...

  4. Superclip Tweet by schemawound (Schemawound) Code

    ... not get supercollider to render a proper recording of it. fork{x={Klang.ar(`(Array.fill(20,{[500.rand,1.0.rand,2pi.rand]})))};loop{play{x.()*x.()*x.()*EnvGen.kr(Env.linen(0.1,0,1,0.1))!2};1.wait}}

  5. Double Oscer by codepool (codepool) Code

    ... illNext(4.0).wait; loop({ nextTime = u; (nextTime*1.5).wait; b.sine1(Array.rand(n, 0, 1).cubed, true, true, true); (nextTime*0.5).wait; }); }).play; Routine({argnextTime; OSCSched.global.tdeltaTillNext(4.0).wait; loo ...

  6. Chaos Glitch SynthDef by makary-kleinschmidt (rumush) Code

    ... var mainEnv = EnvGen.kr(Env.triangle(len,1), gate, doneAction:2); var speed = Array.geom(4, t, [1.75, 1.25].choose); var freq = Array.geom(8, fundFreq*2, 1.5); var pulse = {|rat1,rat2|LFPulse.ar(rat1, [0,0.5,1].choose)*LFPulse.ar(rat2 ...

  7. Import a midi file easily by sebastienclara (sebastienclara) Code

    Import a midi file on 3 Arrays : notes, durations & dates. // notes, durations, dates <= # n, d, t = ImportMidiFile("~/Desktop/bwv772.mid"); /* Sébastien Clara - Janvier 2016 Import a midi file on 3 Arrays : notes, durations & date ...

  8. Fun with typos by tomasebrennan (tomasebrennan) Code

    ... glitch. The joy of typos in SC :) { Pan2.ar(Klank.ar(`[[1, 2.2, 3.5, 4.9], nil, Array.series(4, 1, -0.2)], PinkNoise.ar(EnvGen.ar(Env.perc(0.001,0.01), Impulse.ar(4))), 0), 0); }.play;

  9. Musical Toys For Little Robots by mimetikmusic (mimetikmusic) Code

    ... udio(s,2); ( SynthDef(\mallet,{arg in=0,out=0,m=48,a=1,r=1,p=0; var sig=Array.fill(3,{|n| SinOsc.ar(m.midicps+(n*0.01),mul:a*0.3)}).sum; var env=EnvGen.kr(Env.perc(0.001,r),gate:1,doneAction:2); Out.ar(out,Pan2.ar(sig*e ...

  10. How to make a saw using only sines - Tweet Style by schemawound (Schemawound) Code

    Using sine waves to generate a saw waveform q={|f,e|a=Array.fill(e,{|j|e-j}).reverse;(Mix.ar(a.collect{|x|SinOsc.ar(f*x,0,1/x)})/2)!2};{q.(60,300)}.play //saw from sine #supercollider //Change the values passed to q to control the freque ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow