Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (674) Code (68) Doc (212) Help (62) Quark (332) SCDoc ↗ Forum ↗ Google ↗
  1. Beat slicer by voicekvuicek (Brusli) Code

    beat slicer ( b = Buffer.read(s, "C:/Documents and Settings/brusli/Desktop/d1.wav"); p = SoundFile.collectIntoBuffers("C:/Documents and Settings/brusli/Desktop/samples/*"); ) ( ~bpm = 190; ~n = 8; ~dur = 60 / ~bpm / 2; SynthDef( ...

  2. Graphical Tracker Functions Example by simon (Dindoléon) Code

    ... 1 = 100% chance, 0.5 = 50% chance, etc). The size of the array will define the beat number. Here, we'll have three examples, one for the binary tracker, one for the brobabilist tracker, and one for the duo tracker, which is a combination o ...

  3. Binaural Beats 436hz + 548 hz by tiagmoraismorgado (tiagmoraismorgado) Code

    Binaural Beats 436hz + 548 hz ( {(Mix.new((SinOsc.ar([[[436, 548] + [1, 2, 4, 8, 16]] * [0.25, 0.5, 0.75, 0.125]] * [[rrand(0.9, 1,1) ! 3], 1]))) ! 2) * 0.03}.scope; {(Mix.new((SinOsc.ar([[[436, 548] + [1, 2, 4, 8, 16]] * [1, 2, 4, 8, 16, ...

  4. Memories by blessing-mwema (Blessing Mwema) Code

    ... // Play a sine wave tone { SinOsc.ar(440, 0, 0.2) }.play; // Simple repeating beat ( Pbind( \instrument, \perc, \dur, 0.5, \freq, 200 ).play; )

  5. XL Kaos Looper by axl99 (axl99) Code

    ... in=0, out=0, buf, gate=1, t_rec=0, t_reset=1, t_chop=0, plvl=1, switch=0, frombeat=0, grainsize=1, numbeats=4, numsubcycles=4, amp=1.0, wet=0.5; var dry, loopgate, time, grainlength, grainframes, subcycles, cycles, grains, trigcounter, ...

  6. outer beat by mason-mccormack (Mason McCormack) Code

    Quiz 4a for MUSC 115, pp. 62-84 from Gentle Intro to SuperCollider. ( { var saw, bpf; saw = Saw.ar( freq: [1700,2000], mul: LFPulse.kr( freq: [2,7], width: 0.115)); bpf = LPF.ar(in: saw, freq: SinOsc.kr(1/3).range(250, ...

  7. How to generate random envelope but control it with pattern standard \dur and \legato mecanism by 0-2U (grirgz) Code

    ... ustain = ev.use({ ~sustain.value }) / thisThread.clock.tempo; // ~sustain is in beats but env should be in seconds var env; sustain.debug("sustain"); env = Env([0,1,1,0], times.normalizeSum * sustain); env.asCompileString.debug( ...

  8. tri-o emulation by 0-2U (grirgz) Code

    ... asy ( var w, h = 700, v = 700, run = true; var starttime = TempoClock.default.beats; w = Window("trio", Rect(40, 40, h, v), false); w.onClose = { run = false }; // stop the thread on close w.front; w.drawFunc = { Pen.width = 2; ...

  9. A simple drum machine by coreyker (coreyker) Code

    ... Simple 8-step sequencer ------------------------ */ ~player = { arg beat_list, synth; { arg i; var amp = beat_list.wrapAt(i); if( amp>0, { synth.value(amp).play } ); } } ~bd_player = ~player.value([1, 1, 0, 0.1, ...

  10. Generative jazz by devi-skanadze (Devi Skanadze) Code

    ... tio, rrand(3,12); ]); }); (15 / ~bpm).wait; // 16th }); }).play; ~beat = Task({ inf.do({ len = rrand(4,6); Synth(\slicer, [\pos, rrand(0,15), \len, len]); (15 / ~bpm * len).wait; }); }).play; ) ~t.stop; ~beat ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow