-
... App.displayStatus("Ordered nodes based on vertical alignment on canvas...", 1); AppClock.sched(4, { parentApp.displayStatus(schedOldText, 0); nil; }); ^this; }); if(char == $q, { Server.default.queryAllNodes; }); if(char == $h, { this.hideW ...
-
... +(1/fps); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ~openbci= board; ) ~openbci.softReset; ~openbci.start; ~openbci.stop; SerialPort.listDevices;
-
... ui(window:w, step:30, vOff: height*(i%6), hOff:250*((i/6)).asInteger) } }.fork( AppClock ) ) // compact layout with no scope ( var step = 30 ; // smaller and smaller var height = step*3.6 ; // made some calculations var w = Window .new( "Su ...
-
... 400+(400 - (d*4))); }); 0.05.wait; a.refresh; // Here we update the GUI. }) }, AppClock ); t.start; ) t.stop; ///////////// example 5 - where sound happens on connections SynthDef ( \sinWEnv , { arg freq, amp=0.01; Out .ar(0, SinOsc .ar(fr ...
-
... defs.\n\n".postf(VGSynth.synthDefs.size); doneFunc.value; loaded = true; }.play(AppClock); } }
-
... TextView.background = Color.black; voiceCodeTextView.stringColor = Color.white; AppClock.sched(0.1, { voiceCodeTextView.background = Color.white; this.prRecolorString; }); voiceError = false; { voiceCodeTextView.string.interpret; }.try({ | ...
-
... Close_({controllers.do{|x| x.remove}}); CmdPeriod.doOnce({this.close}); }).play(AppClock); } close { if(win.isClosed.not, {win.close}); } }
-
... ct| act.string == "Add to Session" }).menu.front; plusButtonTask = nil; }.fork( AppClock ); }) .action_({ plusButtonTask !? _.stop; plusButtonTask = nil; session.add( UScore().name_( "Untitled %".format( session.objects.size + 1 ) ) ) }); t ...
-
... Êarg v, char; var string; if(char === Char.tab) { this.sendChat(v.string.copy); AppClock.sched(0.1, { v.string = "" }); } }); this.startChatResponder; } stop { skipjack.stop; this.removeChatResponder; } getState { var state, names; if (obje ...
-
... ffers([filepath]); // only one sound added, stick it in an array anyway }).play(AppClock); }); startButt = Button.new(win, Rect(62, 472, 48, 16)) .font_(Font.new("Helvetica", 9)) .canFocus_(true) .states_([["start", Color.black, Color.clear ...