-
... ld; oldMixerWin.close; server.latency.yield; server.sync; oscDefFunc.(); }.fork(AppClock); }); mixerWin = ScrollView().name_("Assemblage"); mixerWin.mouseDownAction = { if(fltMenuWindow.notNil, { if(fltMenuWindow.visible, { fltMenuWindow.cl ...
-
... that methods which call Cocoa primitives (i.e. GUI functions) must be played in AppClock . Inherited class methods Instance Methods . play ( argClock , doReset: false , quant ) From superclass: PauseStream Arguments: argClock (optional) Ove ...
-
... { animator = Routine({ loop { this.refresh; updateRate.wait } }); animator.play(AppClock); }, { animator.stop; animator = nil }) }); this.refreshIOlets; }, { row = ((p.y - gridRect.top) / height).asInteger; if(clickCount == 2, { outs.at(row ...
-
... === textDoc) { textDoc = nil } }); textDoc.keyDownAction = keyDownSyncFunc; }; AppClock.sched(0.1, { textDoc.front; this.saveAndCloseOldDocs; }); } *writeLog { |doc, id, ext = ".scd"| var filename = Date.getDate.stamp; var doctitle = doc.t ...
-
... wHook_({900.do{Pen.line(a*200,(a=(a*(f=f+2e-6)).y.cos+1@a.x)*200)};Pen.stroke});AppClock.play{w.refresh;0.01} p={|f,a=5|GVerb.ar(LFPulse.ar(f)*a)+f};play{tanh(HPF.ar(p.(99-p.(1/2,20)*(1+p.(2,1/5))+p.(4+p.(1/2)),0.5),80,XLine.kr(4e-4,1/8,61 ...
-
... 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); } }