-
... needs more work to show 0 if nothing is coming in at all: // schedule reset at every full second if callsPerSec too old NTMI.inph.callsCount = 0; NTMI.inph.callsPerSec = 0; MFdef(\setRelInf).add(\callsPerSec, { var nowSec = Main.elapsedTim ...
-
... "copyWith expects SequenceableCollection as first arg" ).throw }; seqCollection.every(_.isInteger).not.if { SimpleInitError( "SequenceableCollection must consist of Integers" ).throw }; (mode == \points).if { withCheck.if { (seqCollection.e ...
-
... 8 pads are bits combined into a number and triggered when the number changes * every pad can also be an individual trigger MFdef(\capsToInph).activeNames; MFdef(\capsToInph).enable(\binKey); MFdef(\capsToInph).disable(\set); ***********/ ( ...
-
... ntended"); // in your code, later: error.throw; // it will throw, but only post every three seconds at maximum */ DirtPartTimeError : Error { var <>timeout, before; *new { |timeout = 1, what| ^super.new(what).timeout_(timeout) } reportError ...
-
... amps = amps.add(Complex(z[0][index], z[1][index]).magnitude); }); // get rid of everything below a cutoff to make processing go faster toRemove = []; amps.normalize.do({ | amp, index| if ( amp < cutoff, { //amps.removeAt(index); //freqs.rem ...
-
... rovided. <>dur how often redraw the window in beats. default= 0.25. which means every 16th note. it uses RedMst.clock. //--simple example ( s.waitForBoot{ RedMst .clear; RedMst .clock= TempoClock (140/60); RedMst .quant= 8; RedMstGUI (20); ...
-
... hFunction { |function, channel, track, clock, doneAction| // function is called every time a note is played // passed arguments are: // noteNr, velo, dur, upVelo, track, channel, absTime, lastTime, counter var thisCopy, notes, routine; note ...
-
... iews. varName : name of the var used in the code (default: "w" ) extraMethods : every view has specific methods to be added to the code, based on its properties. These methods can be Symbols, or arrays with one Symbol and a value which is r ...
-
... the signal can be sent from another UChain using 'auxOut'. For this to work on every system, set the receiving UChain's addAction to \addToTail or \addAfter, and enable 'global'. As an alternative to 'global', it is also possible to use an ...
-
... pec; if(list.first.respondsTo(\spec),{ firstItemSpec = list.first.spec; if(list.every({ |item| item.tryPerform(\spec) == firstItemSpec }),{ // an array of Pbinds etc. if(firstItemSpec.isKindOf(EventStreamSpec),{ ^firstItemSpec }); // a stre ...