-
... ounds, 20@20, 20@20); win.onClose = {s.freeAll; "Done!".postln; "".postln}; CmdPeriod.doOnce({win.close}); win.front; // Multislider multiSlider = MultiSliderView(win, Rect(0, 0, 550, 300)); multiSlider.value = Array.fill(numh ...
-
... de can be useful when developing graphical interfaces: ( var window = Window(); CmdPeriod.doOnce({ window.close; }); window.front; ) ⧉ ✔ Every time you hit ctrl + shift + . , this will close the window you're currently creating, if it is st ...
-
... leNumber (seconds). asTask(clock, quant, hsStop, hsPlay, newEnvir, removeCtrWithCmdPeriod) Returns a wrapper Task, which may be passed to a VarGui object. Playing and stopping the wrapper Task invokes playing and stopping behaviour of the u ...
-
... new; this.initBusses; this.initDiff; this.initSynthDefs; this.rebuildSynthDefs; CmdPeriod.add(this); preProcessor = this.class.defaultPreProcessor; } clear { busIndices !? { server.audioBusAllocator.free(busIndices.first); busIndices = nil; ...
-
... SynthDef . Default: nil. addAction See SynthDef . Default: \addToTail . closeOnCmdPeriod Boolean. Whether CmdPeriod closes the window. Default: true . freeOnClose Boolean. Whether closing the window frees the synth. Default: true . window ...
-
... s pbindData contains functional code with environmental variables. removeCtrWithCmdPeriod Boolean. Defaults to true. Determines if notification of PHSplayer will be stopped with CmdPeriod. Inherited instance methods Examples ( s = Server.lo ...
-
... }).add; s.sync; synth = Synth("freq-mod-by-index"); }.fork; CmdPeriod.doOnce({win.close}); }); // end of waitForBoot
-
... ; Routine.run{ server.bootSync; sampler= RedDiskInSampler(server); server.sync; CmdPeriod.doOnce({if(win.isClosed.not, {win.close})}); defer{ win.onClose= {incdecTask.stop; sampler.free}; win.front; }; }; } bus { ^busView.value; } free { wi ...
-
... 192.168.3.111" , 57110), q.options, q.myClientID); Server .default = s = q.wfs; CmdPeriod .add({ q.wfs.freeAll }); // frees only my own nodes, not all of them q.wfs.initTree; q.wfs.numClients_(q.numPlayers); "I can play on chans: %\n" .post ...
-
... ); win.front; win.onClose= { board.stop; mindSynth.free; OSCdef(\mind).free; }; CmdPeriod.doOnce({ mindSynth= nil; win.close; }); win.drawFunc= { var bandPoints; var width2= win.bounds.width*0.5; var height= win.bounds.height; var hh= heigh ...