-
... ( HLayout() .margins_(0) .spacing_(0) .add(playButton, 1) .add(sequencer, 7) ); CmdPeriod.doOnce({ routinePlaying = false; win.close; }); win.onClose_({ if(routinePlaying) { routine.stop; }; }); win.front; }); ) ⧉ ✔ helpfile source: /tmp/sc ...
-
... easeResource: false argument, e.g. because the resource was already released by CmdPeriod , it is assumed that the cleanup will not be called later with a releaseResource: true argument. Since it executes its function (at most) once, CallOn ...
-
... ront; ws= ws.add(w); w.onClose= {i.free}; 0.01.wait; }; }; }; r.play(AppClock); CmdPeriod.doOnce{ws.do{|w| w.close}}; ) //--3d pen test (3rd dimension is time) ( var width= 50, height= 50, speed= 50, z= 0, w, i, a, r, persistance= 0.85, oct ...
-
... spacing_(0) .add(button) .add(envView) ); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ A more complex example, with 3 controls : amplitude, frequency and panning. A slider also allows to modify widgets t ...
-
... a bluetooth. see http://www.kuwatec.co.jp/Products/ibva/ NOTE: does not survive CmdPeriod . Class Methods . new open port and start reading data from the sensor. a= IBVA(action: {|...args| args.postln}, rate: 120, cutoff: 0.3); a.close; ⧉ ✔ ...
-
... ( HLayout() .margins_(0) .spacing_(0) .add(playButton, 1) .add(sequencer, 7) ); CmdPeriod.doOnce({ routinePlaying = false; win.close; }); win.onClose_({ if(routinePlaying) { routine.stop; }; }); win.front; }); ) ⧉ ✔ helpfile source: /tmp/sc ...
-
... Control, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef("window-test", { |out, note = 36, fc = 1000, rq = 0.25, bal = 0, amp = 0.4, gate = 1| var x; x = Mix.fill(4, { LFSaw.a ...
-
... de can be useful when developing graphical interfaces: ( var window = Window(); CmdPeriod.doOnce({ window.close; }); window.front; ) ⧉ ✔ Every time you hit ctrl + shift + . , this will close the window you're currently creating, if it is st ...
-
... SynthDef . Default: nil. addAction See SynthDef . Default: \addToTail . closeOnCmdPeriod Boolean. Whether CmdPeriod closes the window. Default: true . freeOnClose Boolean. Whether closing the window frees the synth. Default: true . window ...
-
... s pbindData contains functional code with environmental variables. removeCtrWithCmdPeriod Boolean. Defaults to true. Determines if notification of PHSplayer will be stopped with CmdPeriod. Inherited instance methods Examples ( s = Server.lo ...