-
... =0; var newpos=0; var is; var test; this.do{|i| test=(orgpos<newpos); is=i.sum(\size); orgpos=orgpos+is; if(test,{ i.delete },{ if(fx.class==Function,{ fx.(this,*args); },{ i.perform(fx,*args); }); is=i.sum(\size); newpos=newpos+is; }) } } ...
-
... in, sndBuf, zeroXBuf, startWithZeroX = 0, adjustZeroXs = 0, doneAction = 0| var size, bufSize, zeroXBufSize, signToggle, sampleCount, zeroX, zeroXCount, sampleCountSteps, zeroXPositions, newZeroXs, heldZeroXs, write, out, gate, initTrig; si ...
-
... )) }.dup(5); // 12 items a = (1..12); e = EZScroller (w, Rect (100,0,14,100), v.size, a.size, { |sc| var startIndex = sc.value.asInteger.postcs; v.do { |drag, i| drag.object_( a[ (startIndex) + i] ? "" ); }; e.visible_(sc.numItems > sc.maxI ...
-
List list of items of variable size Inherits from: Object : Collection : SequenceableCollection List is a subclass of SequenceableCollection with unlimited growth in size. Although not a subclass of Array or its superclass ArrayedCollection ...
-
... instance methods at copySeries ctl derive makeInterface midiInitialize restore size snapshot update Help template Description This class is missing documentation. Class Methods Inherited class methods Undocumented class methods * new ( s , ...
-
... w .move_( [0.5,0.5] ) .scale_( [10,10] ) .maxZoom_( 40 ) .keepRatio_( true ) .resize_(5) .gridLines_( [ 200, 200 ] ) .gridMode_( \lines ) .gridColor_( gridColor ); } zoomToFit { |includeCenter = true| if( includeCenter ) { view.viewRect_( o ...
-
... t checks + SequenceableCollection { miSC_isKeysAndValues { |requiredKeys| ^this.size.even and: { this.select({|x,i| i.even }).every({|x| (x.isKindOf(Symbol) || x.isKindOf(String)) && (requiredKeys.isNil or: { requiredKeys.includes(x.asSymbo ...
-
... ar moveX; var center = rect.center; var offset; var offset2; var penWidth ; var size; scale = scale??globalScale; scale=scale*2.sqrt*0.5; size=min(rect.width,rect.height)*scale; offset = size.neg*0.2; offset2 = offset.neg*0.5; penWidth = 1. ...
-
... 1233333333".ascii; b= RedHuffman.compress(a); RedHuffman.binaryStringToBytes(b).size/a.size; //compressed to 28% c= RedHuffman.decompress(b); a==c; a= "streets are stone stars are not".ascii; b= RedHuffman.compress(a); RedHuffman.binaryStri ...
-
... ////////////////// ATSAnalyzer { var <>audioData; var <>sampleRate; var <>windowSize; var <>hopSize; var <>windowType; var <>fftSize; // ATSA Parameters var <>lowestFreq; // Minimum partial frequency (Hz) var <>highestFreq; // Maximum parti ...