-
... (nil, 'trigVal', { |time, resp, msg| if( msg[3] == 1, { Routine { w.drawHook = { |v| Pen.fillColor = Color.green; Pen.strokeColor = Color.black; Pen.width = 3; Pen.addArc(700@12 ...
-
... a, age, \d, delta); }; Pen.stroke; }; 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 ...
-
... a, age, \d, delta); }; Pen.stroke; }; 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 ...
-
... keWindow { var waitTime = 0.1; // Window.closeAll; // Cierra todas las ventanas Routine({ panels.do({|panel| panel.makeWindow; while({panel.window.visible == false}, {wait(waitTime)}); }); //helpWindow.makeWindow; panels[0].window.front; // ...
-
... ple example use, plotting some fake data: ( // some fake data e = 0; f = 0; r = Routine{ loop { e = 0.0.rrand(1); f = 0.0.rrand(1).cos; 0.5.wait; } }.play; // look at the data m = SWPlotterMonitor.new( { //data to plot [ [e, f], // view the ...
-
... sig, sd * 4, offset); OffsetOut.ar(out, sig); }, [\ir, \ir, \ir, \ir]).add; ) ( Routine { loop { s.sendBundle(0.2, [9, \Help_Subsample_Grain, -1, 1, 1, \freq, 1000]); rrand(0.001, 0.002).wait; } }.play; ) ⧉ ✔ helpfile source: /usr/local/sha ...
-
... }).add; ) ( var t; a = Pprob([0, 0, 1, 0, 1, 1, 0, 0], 60, 80); t = a.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, t.next.midicps]); 0.01.wait; }) }).play; ) a.distribution = [0, 1]; a.distribution = [1, 0]; a.distribution = [0 ...
-
... lly ⧉ ✔ This works only with internal or local servers. For remote servers, the routine may be rewritten as follows. r = fork { loop { b.get({ |value| l.add(value) }); 0.1.wait } }; ⧉ ✔ NOTE: This approach is not valid for audio buses, beca ...
-
... 2"], // wait after each command: a block only counts as live once its start // routine has synced with the server, and st on a block that is still // starting does not free its buffer (issue #51) cmds: [["pl 1 drums1", 3], ["st 1", 3], ["l ...
-
... ampBus = Bus.control(s); ampBus.value = 0.1; sndBus = Bus. audio(s, 2); // Routine to add SynthDefs, wait for Server reply, then start Synths { // The SynthDef has been modified to store the harmonic number inside it, allowing to ch ...