-
... "running cmdfunc".postln; if(onOffButt.value == 1, { onOffButt.valueAction_(0); AppClock.sched(0.5, { onOffButt.valueAction_(1); }); }); }; CmdPeriod.add(cmdPeriodFunc); win.onClose_({ var t; CmdPeriod.remove(cmdPeriodFunc); XQ.globalWidget ...
-
... t| act.string == "Add Multiple..." }).menu.front; plusButtonTask = nil; }.fork( AppClock ); } { plusButtonTask = nil; } }) .action_({ if(scoreView.selectedEvents.notNil) { scoreView.duplicateSelected; } { if( true ) { plusButtonTask !? _.st ...
-
... lf.changed(\activateButtons, channels); self.taskRunning = true; self.task.play(AppClock); }; ~stopTask = { |self| self.selected.clear; self.taskRunning = false; self.resetTask(true); self.watcher.remove; }; ~resetTask = { |self, hardReset= ...
-
... ze, { usr.refresh; }); (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ~channels= channels; ~openbci= board; ) ~openbci.softReset; ~openbci.start; ~openbci.stop; SerialPort.listDevices; //check the micro volt root mean s ...
-
... ol.duration*0.01/rate).max(0.01).wait; index= index+1; win.refresh; }); }).play(AppClock); }); win.onClose_({img.free}); win.front; ^win; } //--private prRead {|path| var file= File(path, "rb"); var separator; this.prReadHeader(file); if(ty ...
-
... raw); usr.refresh; }); (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); //--menus pw= win.bounds.width*0.125; po= win.bounds.width-((pw+2)*2); StaticText(win, Rect(po, 1, pw, 20)).align_(\center).string_("Vert Scale"); St ...
-
... ervers.do ({ |srv| srv.boot; 1.wait; }); ~servers.do( _ .makeWindow); }, clock: AppClock); ) ( ~sDef = SynthDef ( \dSynth , { //an electronic drum synthesizer arg outBus, bodyIFreq = 100, bodyEFreq = 45, sweepTime = 0.1, bodyAttack = 0.001, ...
-
... useTracker.refresh; }); }.defer; }); } lazyRefresh { if( refreshDeferred.not, { AppClock.sched( 0.02, lazyRefreshFunc ); refreshDeferred = true; }); } // NODES setNodeShape_ {arg row, col, shape; if(col == nil, { shape = row; // 1st argumen ...
-
... rollSize) ); scroller = Routine.run({ loop { this.updateNav; 10.wait; } },clock:AppClock); },bounds ?? {Rect(0,0,1200,1300)}) } updateNav { if(nav.notClosed,{ navMax = this.messages.size + scrollSize; pixelsPerEvent = nav.bounds.width / nav ...
-
... it; }; this.prValue_(currentLeaf, true); }); }); this.prCloseAll(x, y); }).play(AppClock); } prOpen {|tree, offset, value| var window, userView; var width, height, x, y, wh, scroll; var items; //array of associations var selectedIndex; //in ...