| java.lang.Object com.db.media.audio.dsp.monitors.FFT
FFT | public class FFT (Code) | | This is a Java implementation of the fast Fourier transform
written by Jef Poskanzer. The copyright appears above.
|
Constructor Summary | |
public | FFT(int bits) |
Method Summary | |
public void | doFFT(double[] xr, double[] xi, boolean invFlag) A fast Fourier transform routine
double [] xr is the real part of the data to be transformed double [] xi is the imaginary part of the data to be transformed(normally zero unless inverse transofrm is effect). |
FFT | public FFT(int bits)(Code) | | FFT class constructor
Initializes code for doing a fast Fourier transform
int bits is a power of two such that 2^b is the numberof samples. |
doFFT | public void doFFT(double[] xr, double[] xi, boolean invFlag)(Code) | | A fast Fourier transform routine
double [] xr is the real part of the data to be transformed double [] xi is the imaginary part of the data to be transformed(normally zero unless inverse transofrm is effect). boolean invFlag which is true if inverse transform is beingapplied. false for a forward transform. |
|
|