Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. MUSC 115 Final: Theme and Variations on Tetris by jshimada (jshimada) Code

    ... Main Tetris Melody ( ~soprano1=Pbind( \instrument, "Synth3", \midinote, Pseq([76, 71, 72, 74, 72, 71, 69, 69, 72, 76, 74, 72, 71, 71, 72, 74, 76, 72, 69, 69, 69, 74, 74, 77, 81, 79, 77, 76, 76, 72, 76, 74, 72, 71, 71, 72, 74, 76, 72 ...

  2. livecoding 01 by 0-91 (tedthetrumpet) Code

    ... ect({ |i| Buffer.read(s, i)}); (~gr = {2.0.linrand}!16/2; bindef(\x, \amp, Pseq(~gr/5, inf))) ~dr=({2.rand}!16.rand).normalizeSum*4; // array of variable length, always sums to 4 (~dr={2.rand}.dup([4,8,16,32].choose).normalizeSum*4 ...

  3. Melody by 0-9M (unknown) Code

    ... t = TempoClock(128/60); Pbind( \instrument, \kick, \freq, 60, \dur, Pseq([2, 2, 2, 2, 1, 1, 1, 1, 0.5, 0.5, 0.5, 0.5, 0.25, 0.25, 0.25, 0.25, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.0625, 0.0625, 0.0625, 0.0625 ...

  4. XoX pattern helper by gosub (gosub) Code

    a simple helper function to write \dur patterns in a XoX style i.e. Pseq(~xox.("xxooxoxo") * 8/120, inf) ( ~xox = {|str| str.collectAs({|l| switch(l.toLower,$x, {1}, $o, {Rest(1)})}, Array)}; ) ( SynthDef(\acid, { arg out, freq = 10 ...

  5. FINAL SCRATCH2 by bbates (bbates) Code

    ... .add; ) //PBINDS ( ~amshort = Pbind( \instrument, "am1", \degree, Pseq([ [0, 2, 4, 6], 3, [7, 9, 14], 9 ], inf), \modfreq, 1, \amp, Pwhite(0.05, 0.2), \dur, 4, \att, 0.01, \pos, Pseq([-0.5, 0.5], inf) ...

  6. Modal synthesis of xilophone, marimba, glokenspiel, tubular bells by nicolaariutti (nicolaariutti) Code

    ... st different textures // glokenspiel ( Pbind( \instrument, \bell, \fs, Pseq( (60..72), 1).midicps, \t60, 6, \pitchy, 4, \dur, 0.25 ).play; ) // tubular bells ( Pbind( \instrument, \bell, \fs, Pseq( (60..72), 1).mid ...

  7. SynthDef examples: hihat, snare, kick, sawSynth, with Pbind demo by bruno (Bruno Ruviaro) Code

    ... ) // Example 1 - hihat only ( Pbind( \instrument, "hihat", \dur, Pseq([ 1/8, 1/8, 1/8, 1/8, // beat 1 1/8, 1/8, 1/16, 1/16, 1/8, // beat 2 1/8, 1/8, ...

  8. Mad Traffic by mr-rebop (mr_rebop) Code

    ... ut, sig); }).add; ) ( Pbind( \instrument, \madtraffic, \freq, Pseq([137, 373, Prand([237, 473, 713],1)], inf), \legato, Pseq([1.7, 0.3], inf), \dur, 0.3, \out, Pseq([1, 0], inf) ).play; )

  9. Apocalyptic Visions by akash-kumar (Akash Kumar) Code

    ... s.record; ( Pbind( \instrument, "backandforth", \tempo, 4/4, \midinote, Pseq([77,89,84,80,77,89,84,80],inf), \dur, 0.23, \amp, 0.6, ).play(TempoClock(128/60)); ) ) s.stopRecording; //For some reason going a bit slow nee ...

  10. Fibonacci melody by yl0506 (yl0506) Code

    ... rray.fill(size:12,function:{arg i;a[i]%8}); p=1/8;Pdef(\x,Pbind(\dur,p,\degree,Pseq(b,1,0))); r=Array.fill(12,{arg i;Pbindf(Pdef(\x),\mtranspose,b[i]);}); Pseq(r,(1/p)).play; )

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow