-
... 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) }, ...
-
... ✔ Ex. 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, \chan, 0, \am ...
-
... 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. ...
-
... ction: \addToTail ); // Finally, bring the window to the front. win.front; CmdPeriod.doOnce({Window.closeAll}); // Kill GUI and server sounds on < Ctrl + ^ + . > . win.onClose = { s.freeAll; Window.closeAll; }; // Slider Draw ...
-
... of audio buses is scheduled with SkipJack objects. As the clock should survive CmdPeriod its permanent flag must be set to true. Per default the SystemClock is used, but for certain cases, e.g. granulation you might want to pass a TempoClo ...
-
... .95; // What to do on close (or ctrl+period) win.onClose = {s.freeAll}; CmdPeriod.doOnce({Window.closeAll}); subwin = FlowView.new( parent: win, bounds: Rect(710, 230, 185, 150), margin: 10@10, gap: 10@10; ); / ...
-
... n = Window.new("", Window.screenBounds, false).fullScreen .front .onClose_({CmdPeriod.run;}) .background_(Color.blue(0.1)); var winW = win.view.bounds.width, winH = win.view.bounds.height, hudH=50, hud, hudRect = Rect(0, winH-hudH, ...
-
... of audio buses is scheduled with SkipJack objects. As the clock should survive CmdPeriod its permanent flag must be set to true. Per default the SystemClock is used, but for certain cases, e.g. granulation you might want to pass a TempoClo ...