Description | Hierarchy | Fields | Methods | Properties |
type unaDspFFT = class(unaObject)
FFT implementation.
constructor create(windowSize: unsigned = 1024); |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure dft_complex_forward(samples: pointer; channel: unsigned = 0); |
|
procedure fft_complex_forward(samples: pointer; channel: unsigned = 0); |
|
procedure setFormat(sps, bits, channels: int); overload; |
|
procedure setFormat(format: punaPCMFormat); overload; |
|
procedure setWindowSize(size: unsigned); |
property data: pFloatArray read f_dataProxy; |
|
property dataC: pComplexFloatArray read f_dataC; |
|
property fftReady: bool read f_fftReady; |
|
property sampleRate: int read f_sps; |
|
property steps: unsigned read f_steps write setSteps; |
|
property windowSize: unsigned read f_windowSize write setWindowSize; |
constructor create(windowSize: unsigned = 1024); |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure dft_complex_forward(samples: pointer; channel: unsigned = 0); |
|
complex DFT. Results are in dataR, dataI. /Works really slow/ |
procedure fft_complex_forward(samples: pointer; channel: unsigned = 0); |
|
complex FFT. Results are in dataR, dataI. /Works faster/ |
procedure setFormat(sps, bits, channels: int); overload; |
|
procedure setFormat(format: punaPCMFormat); overload; |
|
procedure setWindowSize(size: unsigned); |
|
size should be power of 2. |
property data: pFloatArray read f_dataProxy; |
|
property dataC: pComplexFloatArray read f_dataC; |
|
property fftReady: bool read f_fftReady; |
|
property sampleRate: int read f_sps; |
|
property steps: unsigned read f_steps write setSteps; |
|
property windowSize: unsigned read f_windowSize write setWindowSize; |
|
(c) 2012 Lake of Soft