Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Re: sloth canons [Pattern Extension] by tomdugovic (tom.dugovic) Code

    ... You can now use `Psloth([0,1,0], 10)`, for example, instead of declaring a new routine for each pattern. I didn't persist the use cases, as this should be saved as a `.sc` file. Please refer to the ancestor code for usage. Memory/CPU ...

  2. MIDIFile player with CC capability by lfsaw (LFSaw) Code

    ... ) MIDIClient.init; ( ~events = m.midiEvents; ~midiout = MIDIOut(0); ~routine = { var lastTime = 0; ~events.do({ |evt| (evt[1] - lastTime).wait; lastTime = evt[1]; switch( evt[2].post, \noteOn, { ~midiou ...

  3. Deep Choir (THX Deep Note inspired synth sketch) by abroz (Andrew Brož) Code

    ... Splay.ar(sig, 0.8) * env * \mul.kr(0.5, 3); Out.ar(0, sig); }).add; ) ( Routine({ var fakeTHX = Synth(\fakeTHX); 10.wait; fakeTHX.set(\meander, 0); fakeTHX.set(\freq, ~bigChord.(30, 5)); 10.wait; fakeTHX.set(\g ...

  4. Yet another molecular music box by coreyker (coreyker) Code

    ... *oct + scale.wrapAt(n) + root; degree.yield; } }).asStream; }; r = Routine({ var durStream = ~dur.value(9, 14.5); var noteStream = ~note.value(48); inf.do { var dur = durStream.next(); var note = noteStream.next() ...

  5. sloth canons by elirosenkim (eli.rosenkim) Code

    routine that takes a seed and generates a self-similar sloth canon with it by adding each term to each term, better explained in this blog post: https://www.science20.com/robert_inventor039s_column/blog/self_similar_sloth_canon_number_seque ...

  6. sine ocean by elifieldsteel (eli.fieldsteel) Code

    ... ( //fundamental pitch triad ~notes = [45,55,60].midicps; s.waitForBoot({ Routine{ SynthDef.new(\tone, { arg freq=440, pan=0, rel=0.05; var sig; sig = SinOsc.ar(freq); sig = sig * EnvGen.kr(Env.perc(0.005,rel), do ...

  7. Confetti2 by henk-lasschuit (Henk Lasschuit) Code

    ... }); }); w.refresh; }; }; //initialize array and put on screen ( Routine{ ~tabel=Array2D(~maxIndex, ~maxIndex); for(0, ~maxIndex-1, { arg v; for(0, ~maxIndex-1, {arg h; ~tabel.put(v, h,0); }); }); t.value; }.pl ...

  8. example sequencing soundfiles by fredrik-olofsson (Fredrik Olofsson) Code

    ... ile done playing //test2 - looping through samples one after the other ( Routine({ var index= 0; var c= Condition.new; inf.do{ var a= Synth(\sample, [\buf, b[index], \rate, 1]).register; a.onFree{ ("playing index:"+in ...

  9. song of forest by soundlake (soundlake) Code

    ... f), \sustain, 0.1 ) ).quant_([3, 0, 0, 1]); ) ( SystemClock.sched(0, Routine({ a.play; 12.yield; b.play; 12.yield; c.play; 12.yield; c.pause; 6.yield; a.pause; 6.yield; b.pause; a.play; 12.yield; b.play; 12.yield; ...

  10. 360 audio by mailtoabhirambabu (mailtoabhirambabu) Code

    ( s.waitForBoot({ Routine({ var duration = 60; // Duration in seconds var filePath = "~/Desktop/360_Soundscape.wav".standardizePath; // 1. Define the Synth for a spatialized sound source SynthDef ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow