-
... returnAction, <>counterAction; var <countFunc; var <pressed, <active; var <>playRoutine; // not always needed var <window2; // ?? *new { |name = "transport", startPos = 0| ^super.new.init( name, startPos ).initActions; } makeDefault { defau ...
-
... 00DRM0", argBaudrate, crtscts:true); CmdPeriod.add(this); this.softReset; task= Routine({this.prTask}).play(SystemClock); } close { "%: stopping and closing serial port".format(this.class.name).postln; task.stop; port.close; CmdPeriod.remov ...
-
... are represented by Buttons, and edge labels by StaticText // The a drawing Pen routine draws edges // Substantially it is a reimplementation of level I of Graphista // Should be easy to add trajectory (via MouseXY) and hearing circle // NO ...
-
... enDeviceVia( z ); k.device; k.trace; k.trace(false) m = {|which = 0, vel = 0.1| Routine{ k.elAt(\pad, which , \on).value = vel; 0.01.wait; k.elAt(\pad, which , \off).value = 0; }.play; }; Tdef(\player, { var p; inf.do{|i| (i % 4 == 0).if({ ...
-
... pauses thread if needed and returns // the result directly. // must be inside a Routine var result, c = Condition.new; c.test = false; this.async(selector, args, { arg r; result = r; c.test = true; c.signal; }, onError); c.wait; ^result } * ...
-
... assFilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); win.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; // ...
-
... 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 ...
-
... returnAction, <>counterAction; var <countFunc; var <pressed, <active; var <>playRoutine; // not always needed var <window2; // ?? *new { |name = "transport", startPos = 0| ^super.new.init( name, startPos ).initActions; } makeDefault { defau ...