-
... s) to pairs. Instance Methods Most methods are inherited from the superclasses. size return the size when linking across depth return the size when linking down do(function) iterate over the two elements traverse(function) same like: depthF ...
-
... h Floor, Boston, MA 02110-1301, USA. */ +Integer { miSC_partMax { |part| ^(part.size + 1).collect {|i| case { i == 0 }{ part[i] } { i == part.size }{ this - part[i - 1] } { true }{ part[i] - part[i - 1] } }.maxItem; } miSC_eqPart { |part, k ...
-
... ack[index].led=l; } } } *new{|x,y| ^super.new.init(x,y); } responseOn{ if(stack.size>0){ var dep=stack.last.view; dep.responseOn(this,stack.last.buttonid); responseOffObject=[dep,stack.last.buttonid]; // responseOffObject=(view:dep,buttonid ...
-
... file = File.new(path, "w"); if( file.isOpen == false, { ^nil }); lastRow = this.size - 1; this.size.do({ arg row; line = this[row][0].asString; if(this[row].size > 1, { for(1, this[row].size-1, { arg col; line = line ++ columnSeparator ++ t ...
-
... 22 hjh H. James Harkins WavetablePrep { classvar <>filters; var <>path; var <>wtSize = 2048; var <>numMaps = 8; var <>ratio = 2; var <>fudgeFactor = 0.5; var <>filter = \tenPctSlope; // 2d array of Signals // outer dimension is wt-position ...
-
... eWFSPointsArray(positions); positions = positions.asWFSPointArray; if(positions.size < 2) { "A WFSPath should contain at least 2 positions".warn; }; times = times ?? { Array.fill(positions.size - 1, {defaultTime}) }; if( times.size == 0 ) { ...
-
... rver.default,44100,2); this.assertEquals( Server.default.bufferAllocator.blocks.size , 1 , " allocated one buffer"); Buffer.freeAll; this.assertEquals( Server.default.bufferAllocator.blocks.size , 0 , "freeAll : no buffers allocated"); } te ...
-
... s, sortFunc| if (names.isNil or: { sortFunc.notNil }) { names = SortedList(dict.size, sortFunc); dict.keysDo(names.add(_)); } { }; ^this.newUsing( names.collect(dict[_]), names ); } // make names and dict init { |argnames| if (argnames.isNi ...
-
... }; xySlots ?? { xySlots = [] }; msEditorEnv = (); // "widget: %\n".postf(widget.size); #thisMidiMode, thisMidiMean, thisMidiResolution, thisSoftWithin, thisCtrlButtonBank = Array.newClear(widget.size)!5; cmdNames ?? { cmdNames = OSCCommands ...
-
... index, key; if( path[0] == replaceChar ) { index = path.indexOf( $/ ) ?? { path.size}; key = path[1..index-1].asSymbol; path = path[index+1..]; if( this.at( key ).isNil) { "%:getPath - % not found" .format( this, key ) .warn; ^path.standard ...