-
... <masterNotes, <masterControls, <masterBuffers, <masterGroups, <masterMessages, cmdPeriod; var <>id; *new {arg ... events; ^super.new.init(events); } init {arg events; masterScore = []; // I think this is where the mem leak comes in... all ...
-
... ( 0, 0-value ); }; // Finally, bring the window to the front. view.front; CmdPeriod.doOnce({Window.closeAll}); // Kill GUI and server sounds on < Ctrl + ^ + . >, or on window closing . view.onClose = { s.freeAll; Window.closeAll; ...
-
... ront; ws= ws.add(w); w.onClose= {i.free}; 0.01.wait; }; }; }; r.play(AppClock); CmdPeriod.doOnce{ws.do{|w| w.close}}; ) //--3d pen test (3rd dimension is time) ( var width= 50, height= 50, speed= 50, z= 0, w, i, a, r, persistance= 0.85, oct ...
-
Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code
... ; u.background = Color.white; w.front; u.frameRate = 40; u.animate = true; CmdPeriod.doOnce({if(w.isClosed.not, {w.close})}); /////////////////////// // Synthdef(s) /////////////////////// SynthDef(\gliss, { arg freq= ...
-
... spacing_(0) .add(button) .add(envView) ); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ A more complex example, with 3 controls : amplitude, frequency and panning. A slider also allows to modify widgets t ...
-
... ).play(AppClock); }, { usr.animate= false; autoRoutine.stop; }); }; CmdPeriod.doOnce({win.close}); win.front; )
-
... ction here. b.step=55; //make the step a fraction of the freq b.focus; w.front; CmdPeriod .doOnce({w.close}); }); ) Recieving values, however is asynchronous, and requires either using an OSCresponderNode, or polling values. In this example ...
-
... erversPerSystem }!ips.size; delayViews = { { nil }!serversPerSystem }!ips.size; CmdPeriod.add( this ); if( addMaster ) { masterServer = Server( "wfs_master", NetAddr("127.0.0.1", startPort[0] - 1 ), Server.default.options.copy; ); }; activi ...
-
... .valueAction= 1-onoffButton.value}); }.defer; state= 0; } { state= 0; }; }; }); CmdPeriod.doOnce({ port.close; }); }); }); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \sKeyDpad); routine.stop; if(port.notNil, { port.close; }); oscResp ...
-
... true, updatePosition = true, startEventsActiveAtStartPos = true, loop = false| CmdPeriod.add( this ); if( callStopFirst ) { this.stop(nil,false, false); }; // in case it was still running this.prStartTasks( targets, startPos, assumePrepare ...