-
... f wslib) 0.5 .wait; w.front; b.focus; "\n" .keyStroke; // press enter }.r.play( AppClock ); }; ) f.( "1+1" ); // if this doesn't work, type these expressions in the SmoothNumberBox yourself f.( "100*2" ); f.( "(5+1)**2" ); The behaviour can ...
-
... tring ++ "</body>\n</html>"; htmlfile.write(htmlstring); htmlfile.close; }.fork(AppClock); }, { "__________ BBBBBBBBBB________________".postln; htmlfile = File(files[0].dirname++"/ixi_imgs.html", "w"); files.do({arg filepath; var filename; ...
-
... } ); } *drawAll {|view, dt = 0.02| fork ({ dt.wait; all.do (_.drawOn(view)) }, AppClock); } *addMtpTouch { |id, xys| all.do(_.addMtpTouch(id, xys)); this.readAuras; if (verbose) { this.postTouch; this.postAuras; } } *removeTouch { |id| all ...
-
... af:" ++a.currentLeaf).post; ( " value:" ++a.value).postln; 0.4.wait; })}).play( AppClock ); ) //--changing position and font while active a.value_([ 'aaa' ]) a.bounds_( Rect (30, 30, 100, 20)); a.font_( Font ( "Geneva" , 10)); a.refresh a.v ...
-
... tCount| // if the ping reply doesn't come back in 2 seconds, something is wrong AppClock.sched(2.0, { if(postPingWarning and: { count == currentCount and: { this.isRunning } }) { "DDWFollowClock(%): Ping at count % timed out after 2 seconds ...
-
... \closed, \sKeyBpad); routine.stop; if(port.notNil, { port.close; }); }; }).play(AppClock); buttons[0].action= {|view| if(view.value==1, { sendOsc.value([]); }); }; buttons[1].action= {|view| if(view.value==1, { sendOsc.value([]); }); }; [$, ...
-
... is done so that the modulatable values can be called from clocks other than the AppClock . v1.5 (July 4, 2009) fixed bugs: * Refixed the save/load mechanism, hopefully properly this time. * The UserView code now uses the new coordinates sys ...
-
... und.asInteger); }; }; }; }; }, dt: 0.15, name: this.class.name.asString, clock: AppClock); }; } stopAliveThread { aliveThread.stop; aliveThread = nil } }
-
... // we are inside the Routine already function.value } { Routine(function).play(AppClock) } } // returns the methods named test_ findTestMethods { ^this.class.findTestMethods } *findTestMethods { ^methods.select({ arg m; m.name.asString.cop ...
-
... iPreset.setRand([0.001, 0.01, 0.1].wchoose([9, 3, 1] / 13)); // } }); // }.play(AppClock); // );