-
... fter.states_([["shift", Color.black], ["SHIFT", Color.black, Color.green]]); CmdPeriod.add({ q.mpdwin !? _.close }); //IO actions //creating, setting frequency and stopping synths //IO{ } is essentially the same as { } and it is o ...
-
... x, 0), Point(x+xx, ub.width)); }); }; }); }; Pen.stroke; Pen.pop; }; win.front; CmdPeriod.doOnce({win.close}); //--plot usr= UserView(win, Rect(*#[0.14, 0.19, 0.8, 0.64]*win.bounds.extent.asArray)); usr.background= Color.new255(245, 245, 24 ...
-
... s pbindData contains functional code with environmental variables. removeCtrWithCmdPeriod Boolean. Defaults to true. Determines if notification of PHSparPlayer will be stopped with CmdPeriod. Inherited instance methods Examples ( s = Server ...
-
... ider)}.do{|v| v.background= Color.grey(0.7725, 0.5); }; }); calibrateWin.front; CmdPeriod.doOnce({calibrateWin.close}); calibrateWin.view.keyDownAction= {|view, chr, mod, unicode, keycode, key| if(unicode==27, {calibrateWin.close}); //esc } ...
-
... AsCompileString archiveAsObject argNames asMenuAction benchmark checkCanArchive cmdPeriod defaultArgs doOnCmdPeriod doOnError doOnServerBoot doOnServerQuit doOnServerTree doOnShutDown doOnStartUp freqscope get handleError isFunction makeFlo ...
-
... od as shortcut to stop all MIDI sound (for testing as emergency stop shortcut) CmdPeriod.add({(0..127).do{arg n; m.noteOff(0, n)}}); ) // ALL CODE BELOW ( // create the new main window (called ~mainScreen) ~mainScreen = Window.new ...
-
... e_(style), 1), 1 ), 9 ) ); win.onClose_({ if(synthPlaying) { synth.free; }; }); CmdPeriod.doOnce({ synthPlaying = false; win.close; }); View.globalKeyDownAction_({ |view, char, mod, unicode| // CTRL + F if(unicode == 6) { if(fullScreen) { w ...
-
... { |defs| this.allServers.do{ |s| defs.do{ |def| def.send(s) } } } *clear { |runCmdPeriod = true| // use after unexpected Server quit or lost connection if( runCmdPeriod == true ) { CmdPeriod.run; }; UChain.clear; U.clear; ULib.allServers.d ...
-
... il, { port.close; }); }; if(port.notNil, { "sGreybox at %".format(path).postln; CmdPeriod.doOnce({ oscResponders.do{|x| x.free}; port.close; }); onButton.action= {|view| on= view.value.booleanValue; }; onButton.value= on.binaryValue; matchF ...
-
... name = "- equalizer -"; var point; var stereoChList, monoChList; var onOffButt, cmdPeriodFunc; s = server ? Server.default; if ( (Archive.global.at(\win_position).isNil), { Archive.global.put(\win_position, IdentityDictionary.new); }); // a ...