-
... ile {toCheck.notEmpty && (i < 500)} { var sel = toCheck.pop(); if (sel.isKindOf(FunctionDef)) { toCheck.addAll(sel.selectors) } { if (sel.asSymbol.asClass.notNil) { classSelectorsList.add(sel) } { methodSelectorsList.add(sel) } }; i = i + 1 ...
-
... var angular; hoaOrder = n.asHoaOrder; // instance order // warping & weighting functions /* TBD: could be passed as argument? Reason not to: the BLT _is_ this */ warpFunc = { |mu, alpha| (mu + alpha) / (1 + (alpha * mu)) }; // 1) generate ...
-
... ce methods Examples Description A class that automises Ndef, Pattern and Buffer functionality. Class Methods * add ( channels: 1 ) Create new Blocks. Arguments: channels Number of channels * addNum ( number , channels: 1 ) Arguments: number ...
-
... dge.blendAt(this) } // this one is the inverse of the Traunmuller approximation function used in asBark // differs from asBark below 220 hz barkToHz { ^1960 / (26.81 / (this + 0.53) - 1) } // gives the size (in Hz) of the critical bandwidth ...
-
... to true. copyApplyTo (operator, withCheck) Apply operator (Symbol of method or Function) to the Sieve's list and pass the result to a new Sieve with copied mode and offset. withCheck determines if result of the operation is checked accordi ...
-
... 1 , post: true , clear: false , action , refresh: true ) - replaceFunc ( name , function ) - resetVars - respace ( trackName: 'spaceMaster' , trackInput , spaceType ) - routePairs - routePairsSort - routingMap - routingSelMap ( filter1: "" ...
-
... fillFunc = { |i, pointsArray, timesArray| var outPoint, outTime; // random walk function outPoint = WFSPoint.rand(1.0) + ( pointsArray.last ? WFSPoint(0,0,0) ); outTime = (0.25.rand2 + ( timesArray.last ? defaultTime ) ).abs; [outPoint, out ...
-
... // and the above is scheduled triggerTime = node.lastTrigger; nil // scheduled function, do not exit with a number }); if(length.notNil and: { length != inf }) { thisThread.clock.sched(length + timingOffset + (i * strum), { if(node.lastTri ...
-
... ( object: values ).action_({ |cew| var res; res = cew.object; if( res.isKindOf( Function ) ) { res = Array.fill( this.size, res ); }; res = this.constrain( res.asArray ); res.postln; action.value( res ); }); nil; }; operations[ \post ] = { ...
-
... , i| var method = ("bind" ++ drag.bindClassName).asSymbol; if(method.envirGet.isFunction) { method.envirGet.value(drag, i.asString); // adverb should be a string } { "Dragging % is not allowed here".format(drag).warn; }; currentEnvironment ...