-
... ts to make an instance of some type class. class variable access is faster then array access a = [0]; b = Point(0,0) bench{ 10000000.do{ a.at(0) } } //24% slower bench{ 10000000.do{ b.x } } mutation of array is faster then constructing new ...
-
... s, additionally a block index is passed (Ex. 3e). Each 'in' / 'out' item of the arrays represents current or previous samples, for all points in time the samples are passed in specific array shapes, which are determined by the shapes of in ...
-
... locrian; }; chords = (this.degrees + chords.collect{|n| Chord.at(n).notes;}); ^Array.fill(progression.size, { |i| chords[progression[i]] }) + root; } }
-
... eIDs.removeAt(index); } *indexArr {var result; if(storeIDs.notNil, { result = ([Array.series(storeIDs.size)] ++ [storeIDs]).flop; }); ^result; } *info { this.indexArr.radpost(\doln); } *bstoreIDs {var result, bufArgs; storeIDs.do{|item| if( ...
-
... me ) .track_( track ); } } + WFSSynth { asUEvent { var units, gain = 0; units = Array.new( 4 ); switch( this.audioType, \buf, { units.add( U( \bufSoundFile, [ \soundFile, this.asBufSndFile ] ) ); }, \disk, { units.add( U( \diskSoundFile, [ ...
-
... vent.instrument = nil; // need to know it's a group // i = i + 2; // children = Array.fill(numChildren, { // var id, child; // // i = id // // i + 1 = numChildren // // i + 2 = def (if synth) // id = msg[i]; // if(msg[i+1] >=0, { // child = ...
-
... around q.voicers = q.sw.allVoicers.copy; // copy to avoid mutating the original array in the switcher q.assert({q.voicers[0] === q.sw.current }, "current should be voicers[0]"); q.assert({q.voicers[1] === q.sw.saved[0] }, "saved(0) should b ...
-
... = 0, pan = 0, att = 0.01, dec = 1.5, curve = -6, filterHarmonic = 8; var resFreqArray, resAmpArray, resDecArray, enva, envb, envc, snda, sndb, sndc, snd; //Arrays for the bank of resonators, mostly harmonics near 5ths and 9ths, and random a ...
-
... he given mini-notation string and return the cycles/steps to you in the form of arrays that contain numbers and/or strings. A "cycle" is just an array of steps, and a step is an array containing: ``` - "trig" : if the step should play (valu ...
-
... Layout: (symbol) layout for each channel, usually mono or ambi ~angles: Speaker array angles, if using VBAP call VBAPSpeakerArray ~function: the definition of the spatializer where function should use the following input arguments: in aziDe ...