-
CmdPeriod register objects to be cleared when Cmd-. is pressed Superclass: Object CmdPeriod allows you to register objects to perform an action when the user presses Cmd-. These objects must implement a method called -cmdPeriod which perfor ...
-
... asic tree of groups on the server. See also: Server , ServerQuit , ServerBoot , CmdPeriod See AbstractServerAction for usage.
-
... Current Frequency: " ++v.round(0.01)}; }.defer} ); 0.01.wait; }.loop }.play }); CmdPeriod .doOnce({w.close}); w.onClose={r.stop; q.free; b.free }; //clean up if the window closes ) // dynamic text ( w = Window .new.front; w.view.background= ...
-
... d, doOnStartUp must be implemented. Otherwise a function can be used. See Also: CmdPeriod , ServerBoot , ServerTree , ServerQuit Class Methods *add(object) Registers an object or function to be evaluated after startup is finished. *defer(ob ...
-
... ncs.at(menu.value).play; }) .action_({ arg butt, mod; snd.free; }); w.front; p= CmdPeriod .add({b.value_(0)}); // set button to 0 on hitting Cmd-period w.onClose_{ snd.free; CmdPeriod .removeAll }; // clean up when window is closed }) )
-
... ww.window.bounds=ww.window.bounds.moveTo(255, Window .screenBounds.height-328); CmdPeriod .doOnce({{ww.window.close}.defer(0.5);w.close;}); //defer or crash, because FreqScopeWindow Class contains its own routine for cleaning up on CmdPerio ...
-
... ing_( "a play noise function" ).align_( \center ).background_( Color .rand); p= CmdPeriod .add({b.value_(0)}); // set button to 0 on hitting Cmd-period w.onClose_{ snd.free; CmdPeriod .removeAll }; //clean up when window is closed w.front; ...
-
... nServerTree - ServerTree not for registry with a server, but analogous are: doOnCmdPeriod - CmdPeriod doOnStartUp - StartUp *add(object, server) Add an action or object for registry object - Can either be a function to be evaluated (as firs ...
-
... Control, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef ( "window-test" , { arg note = 36, fc = 1000, rq = 0.25, bal=0, amp=0.4, gate = 1; var x; x = Mix .fill(4, { LFSaw .ar ...
-
... wser ClassGui ClassInspector ClassNameLabel CleanupStream ClientFunc Clip Clock CmdPeriod CollStream CompanderD Condition ControlName ControlPatchIn ControlPatchOut ControlRate CosineWarp CurveWarp CXAbstractLabel CXBundle CXLabel CXObjectI ...