C# Class AcoustID.Audio.LomontFFTService

FFT implementation by Chris Lomont (http://www.lomont.org/Software/).
Inheritance: IFFTService
Mostra file Open project: wo80/AcoustID.NET

Public Methods

Method Description
ComputeFrame ( short input, double output ) : void
ComputeTable ( int size ) : void

Call this with the size before using the FFT Fills in tables for speed

FFT ( double data ) : void

Compute the forward or inverse FFT of data, which is complex valued items, stored in alternating real and imaginary real numbers. The length must be a power of 2.

Initialize ( int frame_size, double window ) : void
RealFFT ( double data ) : void

Computes the real FFT.

Method Details

ComputeFrame() public method

public ComputeFrame ( short input, double output ) : void
input short
output double
return void

ComputeTable() public method

Call this with the size before using the FFT Fills in tables for speed
public ComputeTable ( int size ) : void
size int The table size.
return void

FFT() public method

Compute the forward or inverse FFT of data, which is complex valued items, stored in alternating real and imaginary real numbers. The length must be a power of 2.
public FFT ( double data ) : void
data double The audio data (time domain).
return void

Initialize() public method

public Initialize ( int frame_size, double window ) : void
frame_size int
window double
return void

RealFFT() public method

Computes the real FFT.
public RealFFT ( double data ) : void
data double The audio data (time domain).
return void