Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SystemClock Doc

    ... ion) ( var w, r; w = Window.new("trem", Rect(512, 256, 360, 130)); w.front; r = Routine({ |time| 60.do({ |i| 0.05.yield; { w.bounds = w.bounds.moveBy(10.rand2, 10.rand2); w.alpha = cos(i*0.1pi)*0.5+0.5; }.defer; }); 1.yield; w.close; }); Sy ...

  2. RingBuffer Doc

    ... w().elasticMode_(1).size_(num).front; var r = RingBuffer(num + 1, DoubleArray); Routine({ while { m.isClosed.not } { if(r.writable == 0, { r.pop }); r.add(sin(thisThread.seconds).abs); r.do{ |v, i| m.index = i; m.currentvalue = v; }; (1/60) ...

  3. Pavaroh Doc

    ... [0, 2, 3, 4, 2, 1, 0, -1, -2], inf); str = Pavaroh(pat, aroh, avaroh).asStream; Routine({ loop({ synth.set(\freq, midicps(str.next + 60)); rrand([0.1, 1.0].choose, 0.5).wait; }); }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollide ...

  4. Pseq Doc

    ... sc.ar(freq, 0, env)) }).add; ) ( a = Pseq(#[60, 61, 63, 65, 72], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.2.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes ...

  5. LinuxPlatform Doc

    ... , it is recommended to run this method before you start scheduling Patterns or Routines, or to set *runInTerminalCmd manually. Returns: command to invoke a terminal emulator, to be used as LinuxPlatform: *runInTerminalCmd Inherited class m ...

  6. RedMRCM Doc

    ... d(2, 7).postln; a.matrices= m.collect{|x| x*2.0.rand2}; cnt= cnt+1; }; w.front; Routine({while({w.isClosed.not}, {u.refresh; (1/2).wait})}).play(AppClock); ) //--animation #2 ( var width= 400, height= 400, cnt= 0; var f= {Pen.fillOval(Rect. ...

  7. jitlib_efficiency Doc

    ... nthdef is already on the server ~a = Pbind(\instrument, name, \freq, ...); ~a = Routine({ loop({ s.sendMsg("/s_new", name, ...)}) }); ~a.refresh; ~a.wakeUp; // waking up a stopped proxy does not require a resend ⧉ ✔ these resend the synth w ...

  8. JSMini Doc

    ... r debugging Arguments: cycles An integer. Inherited instance methods Examples ( Routine({ var parser = JSMini("[1 [2 2] 3 4]/4"); loop { var synth, freq; var trig, delta, dur, str, num; # trig, delta, dur, str, num = parser.step(); freq = ( ...

  9. RedGIF Doc

    ... ); j= j+1; }); i= i+1; }); }; action= { if(a.images.size>1, { //if animated gif Routine({ while({win.isClosed.not}, { (a.images.wrapAt(index).control.duration*0.01).max(0.01).wait; index= index+1; win.refresh; }); }).play(AppClock); }); win ...

  10. WarpCutProc1 Doc

    ... creates such bizarre effects that it's fun on any source. ( //defaults var sf; Routine.run({ sf= BBCutBuffer("sounds/a11wlk01.wav",4); s.sync; //144 bpm BBCut2(CutBuf1(sf),WarpCutProc1.new).play(2.4); }); ) ( //oddness on AudioIn BBCut2(Cu ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow