-
... (see the subclass SWDataStringNode ). - Slots and data - slots ( ) Retrieve the array of slots of the node data_ ( indata ) Set the data to each slot. This multiplies the indata with the scaling factor scale , sets it to the instance variab ...
-
... ected( id, label ); }); if ( size.notNil, { if ( type == 0 ){ this.setData( id, Array.fill( size, 0 ) ); }{ this.setData( id, Array.fill( size, {'0'} ) ); }; }); } isExpected{ |id| ^expectedNodes.includes( id ); } //---- spec (labeling and ...
-
... rixMatrixMul {|matrix1, matrix2| var m0, m1, m2, m3; #m0, m1, m2, m3= matrix2; ^Array.fill(4, {|x| Array.fill(4, {|y| (matrix1[x][0]*m0[y])+ (matrix1[x][1]*m1[y])+ (matrix1[x][2]*m2[y])+ (matrix1[x][3]*m3[y]) }); }); } *vectorMatrixMul {|ve ...
-
... mmycvay klymix abkly "; var lines = str.split(Char.nl).collect { |line| line.as(Array) }; var diff, lineIndex; var indices = []; diff = DiffString( beginFunc: { var i = indices[lineIndex - 1].copy ?? { { lineIndex } ! lines[lineIndex].size ...
-
... olSpec c = synthCtr.flatten; c.do { |item, i| i.odd.if { c[i] = c[i].miSC_specAsArray } }; } { true }{ synthCtr }; synthCtrs = this.synthCtr.select {|x,i| i.even }; synthStateVars = [assumePlaying, assumeRunning, assumeEnded]; synthStateStr ...
-
... , acc = 0, accAmt = 1.5, accAmp = 1.5| var rdetun = detun.reciprocal, detunes = Array.fill(n, { Rand(0, 1).linexp(0, 1, rdetun, detun) }), top = min(fegRatio * ((accAmt - 1) * acc + 1), 18000 / ffreq), feg = EnvGen.kr(Env.perc(fAtk, fDcy, m ...
-
... = \TuningInfo.asClass.tunings.select({ |item| item.tuning.size == ii }).keys.asArray.sort; } { tunings = Tuning.all.parent.select({ |item| item.tuning.size == ii }).keys.asArray.sort; }; scales = scales.sort; if( ii == 24 ) { tunings.remov ...
-
... as the key in the Dictionary. The nodeID is ignored. The floats are put into an array that is passed to the drawing function. The first float after the replyID represents either the duration of the event (when using *run ) or the percentage ...
-
... alibrate(calibratefreq, calibratenote) } tunings_ { |tuning| tunings = tuning.asArray.collect({ |item| item ? 0.0 }).wrapExtend(stepsPerOctave); this.root_(root); } calibrate { |freq = 440, noteindex = 69| (noteindex != noteindex.trunc).if( ...
-
... alibrate(calibratefreq, calibratenote) } tunings_ { |tuning| tunings = tuning.asArray.collect({ |item| item ? 0.0 }).wrapExtend(stepsPerOctave); this.root_(root); } calibrate { |freq = 440, noteindex = 69| (noteindex != noteindex.trunc).if( ...