-
... ng both classic and novel algorithms // to creatively manipulate and synthesise complex Ambisonic soundfields. // // The tools are framed for the user to think in terms of the soundfield kernel. By // this, it is meant the ATK addresses the ...
-
... ctor Represents an element of F N , where F is either the real numbers R or the complex numbers C. Usual operations are implemented. Examples are given with RealVector. Creation / Class Methods *new (args) Create new vector from a n-tuple o ...
-
... --------------- + Signal { /* misc */ flip { ^this.deepCopy.reverse.rotate(1) } complex { arg imag; ^Complex.new(this, imag) } /* zeros */ *zeroFill { arg size; ^Signal.newClear(size) } /* wrapping */ wrapExtend { arg size; ^this.as(Array). ...
-
... ng both classic and novel algorithms // to creatively manipulate and synthesise complex Ambisonic soundfields. // // The tools are framed for the user to think in terms of the soundfield kernel. By // this, it is meant the ATK addresses the ...
-
... operations. Included are arithmetic methods like multiplication and division, (complex) root finding and evaluation at a specific point for arbitrary degree polynomials. All methods should work for real as well as complex coefficients. Imp ...
-
... ng both classic and novel algorithms // to creatively manipulate and synthesise complex Ambisonic soundfields. // // The tools are framed for the user to think in terms of the soundfield kernel. By // this, it is meant the ATK addresses the ...
-
... al { ^this } asPolar { ^this.asPoint.asPolar } // implemented as a projection asComplex { ^Complex.new(this.real, this.imag) } // implemented as a projection asPoint { ^Point.new(this.x, this.y) } // implemented as a projection asCartesian ...
-
... rentSampleRate*0.5); result= FloatArray.newClear(fftSize2+1); } fft {|data| var complex; if(data.size<fftSize, { "%: data size must be >= fftSize. zeropadded % values".format(this.class.name, fftSize-data.size).warn; data= 0.dup(fftSize-dat ...
-
... = Signal.newFrom( imag ); ^sig.ifft( imag, Signal.fftCosTable( size ) ); } } + Complex { fft { case { real.class == Signal } { ^real.fft( imag, Signal.fftCosTable( real.size ) ) } { real.size > 1 } { ^real.fft( imag ); } { true } { "Comple ...
-
... rray.zeroFill(magnitude.size) }, { phase }); ^super.newCopyArgs(mag, pha) } *newComplex { arg complex; var polar = complex.asPolar; ^FreqSpectrum.new(polar.magnitude, polar.phase) } *logShelf { arg size, freq0, freq1, gainDC, gainNy, sample ...