|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.media.audio.dsp.monitors.FFT
public class FFT
This is a Java implementation of the fast Fourier transform written by Jef Poskanzer. The copyright appears above.
| Constructor Summary | |
|---|---|
FFT(int bits)
FFT class constructor Initializes code for doing a fast Fourier transform |
|
| Method Summary | |
|---|---|
void |
doFFT(double[] xr,
double[] xi,
boolean invFlag)
A fast Fourier transform routine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FFT(int bits)
bits - bits is a power of two such that 2^b is the number of
samples.| Method Detail |
|---|
public void doFFT(double[] xr,
double[] xi,
boolean invFlag)
xr - [] xr is the real part of the data to be transformedxi - [] xi is the imaginary part of the data to be transformed
(normally zero unless inverse transofrm is effect).invFlag - invFlag which is true if inverse transform is being
applied. false for a forward transform.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||