Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Looping Station by rukano (rukano) Code

    ... recorder, \buf, Pseq([buffer[current_buffer]], 1) ).play(quant:4); AppClock.sched( (TempoClock.default.tempo.reciprocal * durations[i]) + ((TempoClock.default.nextBar - TempoClock.default.beats) * TempoClock.default.b ...

  2. hypno-sliderz by vividsnow (vividsnow) Code

    ... *[x: sin(n+t), y: cos(n+t), amp: 0.7.rrand(1)]); }); (1/25).wait; }}).play(AppClock); w.onClose = { ~task.stop; ~nodes.do({|i| i.clear(size.sqrt) }); }; )

  3. game of life by raffael-seyfried (Raver_Ale) Code

    ... }); }); } }; }; startIter = { initFunc.value; task = iter.fork(AppClock); }; iter = { inf.do{ //"---------------------------------------------------".postln; uview.refresh; waitDur.wait; iterFunc.value; ...

  4. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... // overlap 1 sample for interpolation }; action.value(bufs); }.fork(AppClock); bufs } { "% could not be opened.".format(path).warn; }; }; ) b = ~loadChunks.value(s, "your-file.aiff", action: { "done".postln }); ...

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

    ... ke; Pen }; }; { while { run } { w.refresh; 0.05.wait;} }.fork(AppClock) )

  6. Visual gain reduction meter by jpdrecourt (jpdrecourt) Code

    ... .ampdb.linlin(maxReduc, 0, 0, 1); }.defer; }, '/level', s.addr); }.fork(AppClock); ) // Try it with this simple example ( // something to meter b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); x = { ...

  7. Attack Detection and Amplitude Threshold Setter GUI by elifieldsteel (eli.fieldsteel) Code

    ... oke; }; w.refresh; ~received.visible_(false); }.play(AppClock); }, {} ); }).add; }) )

  8. GUI: Scrolling list of multi-view items by 0-7r (jamshark70) Code

    ... margins_(1)); l.insert(view, v.children.size - 1); 0.5.wait; }; }.fork(AppClock); ) // Delete an item by .remove v.children.choose.remove;

  9. FFT additive oversampling (graphical demo of the sampling theorem) by 0-7r (jamshark70) Code

    ... , indexRNum].do(_.enabled = true); // indexView.enabled = true; }.fork(AppClock); }; }; }); indexRange.action_({ |view| var lo, hi; #lo, hi = rangeFunc.(view); sig = allCosines[lo .. hi].sum; uv.refresh; indexLNu ...

  10. Recursion-toy-like vines with Pen by uiae (uiae) Code

    ... .fSpawn(x,y) }); win.front; { while { run } { win.refresh; 0.05.wait } }.fork(AppClock) )

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow