-
... doRepeats changes the tree, which eventually is better depr_fill { |delta| var indexes = List.new; turn = (turn ? -1) + 1; children.do { |ch, index| ch.get($!, 1).asInteger.do { indexes.add(index) } }; queue.addAll(children.at(indexes.wrap ...
-
... f decimals var str= val.round(0.1**numDecimals).asString; var num= str.size-str.indexOf($.)-1; ^str.extend(str.size+numDecimals-num, $0); } *shrink {|staticTextView| ^staticTextView.fixedWidth= staticTextView.string.bounds(font).width+2; } ...
-
SharedNodeProxy : NodeProxy { // todo: should pass in a bus index/numChannels. var <constantGroupID; *new { arg broadcastServer, groupID; // keep fixed group id (< 999) ^super.newCopyArgs(broadcastServer).initGroupID(groupID).init } shared ...
-
... gs; planeIDs = planeIDs.add([type, subtype, voice, settings]); } *removeAt {arg index; planes.removeAt(index); planeIDs.removeAt(index); } *indexArr {var result; if(planeIDs.notNil, { result = ([Array.series(planeIDs.size)] ++ [planeIDs]).f ...
-
... mChannels); peaks = Array.fill(target.numChannels, 0); this.prInit; all.put(bus.index, this); // so OSCresponder can find me updater = Routine({ // first get the results from the last period // then reset the Peak ugen immediately after -- ...
-
... mChannels); peaks = Array.fill(target.numChannels, 0); this.prInit; all.put(bus.index, this); // so OSCresponder can find me updater = Routine({ // first get the results from the last period // then reset the Peak ugen immediately after -- ...
-
... ,48,64,128 ].collect({ |n| UPatDef( n, { |unit, vals, histSize = 0, seed| { var index, size, arr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInt rrand: (n-1).asIn ...
-
... , ndefArr, ndefCS, arr1, arr2, arr3, arrSize, filterInfo, setArr, setTag, filterIndex, startNdefs, filterSpecs, trackTags, convString, routArr1, replaceString, cond, bufIndex, bufFunc, ndefNumChan, ndefSpace, routInd; //still some work to d ...
-
... gories = []; Udef.all !? { |all| all.keys.asArray.sort.do({ |key| var category, index, udef; udef = all[ key ]; category = udef.category; index = categories.indexOf( category ); if( index.isNil ) { categories = categories ++ [ category, [ u ...
-
... ( spec.map( inval ).asInteger ); } // from string to number unmap { |inval| var index = items.indexOfEqual( inval ); if ( index.notNil ){ ^spec.unmap( index ).round(1/(items.size - 1)); }; ^nil; } asSpec { ^this; } warp_ { |argWarp| spec.wa ...