-
... 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( ...
-
... ltiple outputs Source: UGen.sc Subclasses: AbstractIn , ArneodoCoulletTresser , ArrayMax , AtsParInfo , AttackSlope , AudioControl , BBlockerBuf , BFPanner , Balance2 , BeatStatistics , BeatTrack , BeatTrack2 , BiPanB2 , BinData , Brusselat ...
-
... ts: isOn Enable/disable tareing of the capacitive sensing. . capMinMax Returns: array of minima and maxima of capacitive sensors as given by tareCap. Inherited instance methods helpfile source: /tmp/scquark_hs/PushPull/classes/HelpSource/Cl ...
-
... 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 ...