-
... 0]+64, inf); c = Pswitch1([a, b, 75], Pseq([2, 2, 0, 1], inf)); x = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.18.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classe ...
-
... (2); // to monitor 2 binaural channels // We pack all the proxy creation into a Routine so that we can s.sync it with assynchronous processes Routine.run{ ~hoaScene = NodeProxy.new(s, \audio, ~hoaNumChannels); ~hoaScene.source = {HOAEncoder ...
-
... ).add; ) ( c = Pslide(#[1, 2, 3, 4, 5], inf, 3, 1, 0) * 3 + 67; x = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.17.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classe ...
-
... p.position.y.clip(0, height), 0); }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...
-
... time... ( var b,buf, clock; clock= ExternalClock(TempoClock(2.1)); clock.play; Routine.run({ b=BBCutBuffer(Platform.resourceDir +/+ "sounds/break.aiff",8); buf= BBCutBuffer.alloc(s,44100*4,1); //allow 4 seconds worth of buffer space, ie up ...
-
... , 1); x.put(x.size.rand, 8+0.1.rand2); Pseq(x, 1); }); x = Pn(a, inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, (x.next*5+70).midicps]); 0.13.wait; }) }).play; ) // using event streams ( a = Plazy({ var x, y; x = Array.serie ...
-
... { rrand(3, 5) }, Pseq([1, 2, 3, 4, 5, 6], inf) * 4 + 65), inf); b = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, b.next.midicps]); 0.12.wait; }) }).play; ) // or, more concisely: p = Pbind( \instrument, \help_sinegrain, \midi ...
-
... Pseq([0, 0, 0, 4, 0, 3, 2], inf) + a; c = Ptuple([a, b], inf); x = c.asStream; Routine({ var chord; loop({ chord = x.next.postln.midicps; (instrument: \help_sinegrain, freq: chord).play; 0.2.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/lo ...
-
... nextNodeID, 0, 1); s.sendMsg(\s_new, "help-SharedIn2", y = s.nextNodeID, 0, 1); Routine({ 30.do({ s.setSharedControl(0, 300 * (10.rand + 1)); 0.2.wait; }); s.sendMsg(\n_free, x); s.sendMsg(\n_free, y); }).play; ) s.quit; ⧉ ✔ helpfile source ...
-
... true; CmdPeriod.doOnce({win.close}); win.front; fifo= List.fill(100, flt.val); Routine({ inf.do{|i| fifo.pop; fifo.addFirst(flt.filter(slider.value)); plot.value= fifo; (1/50).wait; }; }).play(AppClock); ) ⧉ ✔ helpfile source: /tmp/scquark ...