Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. growing layout by julianrohrhuber (julian.rohrhuber) Code

    ... Layout()); 20.rand.do { h.add(Slider()); 0.1.wait; }; 1.wait; }; }, AppClock) ) ( a = Window(); a.layout = v = VLayout(); a.front; fork({ var or; 10.do { or = [\horizontal, \vertical].choose; v.add(h = HLay ...

  2. OceanTracker by scottintokyo (Scott L Simon) Code

    ... item.value_(value); item.peakLevel_(value); }.defer(); // schedule in the AppClock }; 0.1.wait; }}; updateIndicators2 = fork{loop{ indicators2.do{ arg item, i; { var value = ~oceanz[i]*5; item.value_(value); ...

  3. Load and play samples from GUI (Qt GUI only) by rukano (rukano) Code

    ... ose_{ samples.do{ |buf| buf.close; buf.free }; }; }.fork(AppClock); };

  4. Automatic looper by selecting a part of a sound file by pyoungryangko (prko) Code

    ... ; }); }; w.onClose_({y.free; b=nil; c=nil; e=nil; y=nil; x=nil; v=nil; w=nil; AppClock.clear}); ( AppClock.sched(0.0, { q.get({arg val; {v.timeCursorPosition=val; e.timeCursorPosition=val}.defer;}); 0.05; }); ) )

  5. Re: Load and play samples from GUI (Qt GUI only), adapted to use SoundFile:cue by lfsaw (LFSaw) Code

    ... n.onClose_{ samples.do{ |player| player.release; }; }; }.fork(AppClock); };

  6. Boids Example by shouhei (xffff) Code

    ... rform(\fill); }; }; }; { while { run } { w.refresh; (1/24).wait;} }.fork(AppClock); w.onClose_({run=false}); )

  7. Cellular Automaton by coreyker (coreyker) Code

    ... .yield; } }; { while { w.isClosed.not } { w.refresh; 0.125.wait; } }.fork(AppClock); w.front; }.fork(AppClock); ); )

  8. rand-n-step by vividsnow (vividsnow) Code

    ... _([ ['-'], ['+'], ['%'] ]).action_({ |b| data[l,i] = b.value }); }) }); AppClock.play({ inf.do({|i| dims[1].do({ |l| (buttons[l] @@ i).font_(Font("sans", 20)); (buttons[l] @@ (i-1)).font_(Font("sans", 14)); switch( ...

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

    ... an, rrand(-1.0,1.0), \rel, exprand(0.005,0.35), ).play; }; }.play(AppClock); }); )

  10. waveshaping animation by elifieldsteel (eli.fieldsteel) Code

    ... outputView.refresh; inc = inc + 1; 0.02.wait;} ) }.fork(AppClock); }.fork(AppClock); }); }.fork(AppClock); )

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow