-
... pPriority; time.notNil and:{time.floor<=tick}}, { this.doSched(time-tick, queue.pop, avgs/tick.clip(1,10)); //note: avg.sum won't be correct before the first 10 ticks.. probably not a big deal in most cases. }); running= true; } doSched {|o ...
-
... idth; layout=argLayout; bounds.isNil.if{bounds = 350@20}; // if no parent, then pop up window # view,bounds = this.prMakeView( parentView,bounds); labelSize=labelWidth@labelHeight; numSize = numberWidth@labelHeight; // calcualate bounds # l ...
-
... passFilters, smoothFilters; var fft= DataFFT(board, 256); var fps= 60; var usr, pop1, pop2, pop3, pop4, btn1, btn2, pw, po; var horizontalScale, verticalScale, maxFreq, maxAmp; var f0= Font("Helvetiva", 16); var f1= Font("Helvetiva", 14); v ...
-
... Factor2)*newval ); data = data.addFirst(newval); if ( data.size > ltlen, { data.pop( data.size - ltlen ); }); crossIDon = crossIDon + 1; crossIDoff = crossIDoff + 1; lastPeak[1] = lastPeak[1] + 1; if ( peaks.size > 0, { peaks.removeAllSuchT ...
-
... ds = g.bounds; var size = 170; var size2 = size * 2; var w, presl, insc, infModePop, infZoomSl, font, fontbig, infComp; font = Font(g.fontName, 13); fontbig = Font(g.fontName, 16); q.inph.ioWin = w = Window("inphlux", Rect.aboutPoint( (bnds ...
-
... is missing and should be 1.".postln; zoom = 1; } { // all is well: zoom = vals.pop; #inIndices, diffs = vals.clump(vals.size.div(2)); }; // "xflux from % - % diffs:\n".postf(name, diffs.size); // "inIndices: % \n diffs: %\nzoom: %\n".postf ...
-
... Queue min = indicesQueue.topPriority.round.asInteger; minIndices = indicesQueue.pop; // if more than one min is found, indices are collected in Dictionary while { indicesQueue.topPriority == min }{ minIndices.isInteger.if { minIndicesDict.c ...
-
... oxLauncherItemViewsStates].size; amountToMany do: { patternBoxLauncherItemViews.pop().dispose(); }; }); // Reuse existing patternBoxViews or add a new PatternBox. state[\patternBoxLauncherItemViewsStates] do: { |state, position| if (pattern ...
-
... ; splitID = id.asString.split($_)[1..]; bufid = splitID.last.interpret; splitID.pop; name = splitID.join( $_ ).asSymbol; ^this.new( globalData[ id ], name, bufid ); } bufid_ { |newBufID| bufid = newBufID ?? { this.class.makeBufID; }; this.c ...
-
... ); lowestElevation = 0; highestElevation = 0; speaker_array.collect({ |val| val.pop; }); azimuths = speaker_array.flat; vbap_setup = VBAPSpeakerArray(dimention, azimuths); }, 3, { dimention = 3; radiusses = Array.newFrom(speaker_array).coll ...