-
... - in place principalPhase { phase = this.phase.sin.atan2(this.phase.cos) } // unwrap phase - via group delay /* assume signal is real, i.e., mirrored spectrum */ continuousPhase { arg groupDelay; var size, halfsize, rfftsize; var principalP ...
-
... typing which is saved by PLx Patterns (lazy evaluation). They are either plain wrapper classes or include variant implementations for the most common pattern types and deliver a more or less unified way for the described kind of placeholdi ...
-
... ndices given by keys . If one of the two argument arrays is longer then it will wrap. y = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; y.putEach([4, 7], [ \smelly , \head ]) y.putEach([2, 3, 5, 6], \wotsits ); atAll(keys) return a collection of all the ...
-
... ); Pdefn(\sStream_lvPitches_index, Pseq(indices, inf)); pitches= lvPitchesArray.wrapAt(indices); if(lvScaleButtonElement.value==1, { pitches= pitches.collect{|x| x.nearestInScale(scales[lvScaleList.value])}; }); Pdefn(\sStream_pitches, Pseq ...
-
... value in radians, in place. | | `principalPhase` | Return a spectrum with phase wrapped, preserving the magnitude, in place. | | `continuousPhase` | Return a spectrum with phase unwrapped, preserving the magnitude, in place. | | `linearPhas ...
-
... alue.collect({ |x| originalSpec.constrain(x); }); }; if( size.notNil ) { ^value.wrapExtend( size ); } { ^value } } uconstrain { |value| ^this.constrain( value ? this.default ); } *testObject { |obj| ^obj.isArray } map { |value| ^originalSpe ...
-
... A Symbol or an Array of Symbol s. If modes.size < numChannels , the plots will wrap around the array of modes. Returns: An Array of Symbol s, unless there is only one mode specified or if all modes of a multi-channel plot are the same, in ...
-
... have a DC offset when // waveshaping a signal with amplitude of zero. // // 3. Wrapping the non-offset Shaper in a LeakDC (the third signal in the // example) cancels out any DC offsets (third version), while making full use // of the -1 t ...
-
... eeded, but output only 'repeats' items. Pslide(list, repeats, len, step, start, wrapAtEnd): Play overlapping segments from the list. Pwalk(list, stepPattern, directionPattern, startPos): Random walk over the list. Place(list, repeats, offse ...
-
... in = rho1.indexOf(rho1.maxItem); phaseDif = theta2[anaBin] - theta1[anaBin]; // wrap the phase (phaseDif > pi).if({ while({ phaseDif = phaseDif - 2pi; phaseDif > pi }) }); (phaseDif <= pi.neg).if({ while({ phaseDif = phaseDif + 2pi; phaseDi ...