-
... conds). asTask(clock, quant, hsStop, hsPlay, switchStop, 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 ...
-
... 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 ...
-
... 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 } ...
-
... { |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 ...
-
... Example 1b: step sequencer with MIDI // connect a MIDI device, allNotesOff with CmdPeriod useful ( MIDIClient .init; m = MIDIOut (0); g = { 16.do({ |i| m.allNotesOff(i) }) }; CmdPeriod .add(g); p = Pbind ( \type , \midi , \midiout , m, \cha ...
-
... s.do { |px| px.addHalo(\isOn, false); }; // mark them as off when hitting cmd-. CmdPeriod.add({ q.allSnds.do { |px| px.addHalo(\isOn, false); }; }); // take last 12 proxies as destinations to copy to q.dests = q.allSnds.drop(4); // take fir ...
-
... rs reset there); the //synth re-spawns after every ServerTree rebuild (boot and CmdPeriod). *initLimiterHooks { if(limiterHooksRegistered) {^this}; limiterHooksRegistered = true; ServerBoot.add({ limiterBus = Bus.audio(Server.default, 2) }, ...
-
... unc = { AlgaBlocksDict.blocksDict.clear }; blocksDict = IdentityDictionary(20); CmdPeriod.add(clearFunc); } *createNewBlockIfNeeded { | receiver, sender | //This happens when patching a simple number or array in to set a param if((receiver. ...