-
... .add(tab.indexOfEqual(sub)); sub= [val]; }); }; ^out.add(tab.indexOfEqual(sub)).array; } *decompress {|input| var tab= List.fill(256, {|i| [i]}); var old= input[0]; var out= List[old]; var val= old; input.drop(1).do{|k| var sub; if(tab[k].n ...
-
... overridden in the subclasses) Accessing Instance and Class Variables writeLine(array) Write a line to the file. array An Array with values to write. The contents of the Array will be written to the file as the compile string of each item, ...
-
... (op, args[1..]) }; var a1 = Dual.approximate(call, ns).dual; var a2 = call.valueArray(ds).dual; this.assertFloatEquals(a1, a2, "Numerical differentiation should approximate automatic differentiation:\n%(%)".format(op, ds), within: 0.001); / ...
-
... bles as described below and in the SVGObject helpfile segments : segments is an Array of objects wich should all respond to the asSVGPathSegment method. these can be: SVGPathSegment Point : will be converted to an SVGPathSegment of type 'Li ...
-
... atios and harmonic measures. Ratios are handled in DissonanceLib as two element arrays. This may not be the best object oriented way of working but for now, it is more practical than working with a Ratio class, which may come later. There a ...
-
... prDefAc= ChordsDefinitions.new.init; notesHarmony = notesList; notesInterval = Array.fill(notesHarmony.size,0); notesSimplified = this.prSetSimplify(); this.prAssignListIndex(); this.prSetNotesIntervals(); this.prSetInversion(); this.prSet ...
-
... d into following beat too //remove any dead providers? providers.reverseDo({arg array; if (not(array[1].value),{this.removeprovider(array)}); }); this.getMaterial; } getMaterial { providers.do({arg array; var list, provider; provider=array[ ...
-
... var cutmixer; cutsynths=cs; //do still works even if singleton //if(cs.isKindOf(Array),{ // cutsynths=cs; // },{ // //put in array // cutsynths= [cs]; //[cs ?? {CutSynth.new}]; // }); freegroup=false; //server=s ?? {Server.default}; group=g ...
-
dopostln part of wslib a convenience method for posting all items in an array. also see: dopost ** does not return the object itself ** dopostln dopost can be used for every object that responds to do . It simply posts every object in the a ...
-
XiiPolyMachine { var <>xiigui, <>win, params; var bufferPopUpArray, ldSndsGBufferList, sndfiles, gBufferPoolNum, selbPool, bufNumArray; var stateDict, stateNum, poolName; var cmdPeriodFunc; *new { arg server, channels, setting = nil; ^super ...