Package com.tagtraum.audiokern.math
Class JavaFFT
- java.lang.Object
-
- com.tagtraum.audiokern.math.JavaFFT
-
-
Constructor Summary
Constructors Constructor Description JavaFFT(int numberOfSamples)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
float[][]
inverseTransform(float[] real, float[] imaginary)
String
toString()
void
transform(boolean inverse, float[] realIn, float[] imaginaryIn, float[] realOut, float[] imaginaryOut)
Actual fast Fourier transform implementation.float[][]
transform(float[] real)
float[][]
transform(float[] real, float[] imaginary)
-
-
-
Method Detail
-
inverseTransform
public float[][] inverseTransform(float[] real, float[] imaginary) throws UnsupportedOperationException
- Specified by:
inverseTransform
in interfaceTransform
- Throws:
UnsupportedOperationException
-
transform
public float[][] transform(float[] real) throws UnsupportedOperationException
- Specified by:
transform
in interfaceTransform
- Throws:
UnsupportedOperationException
-
transform
public float[][] transform(float[] real, float[] imaginary) throws UnsupportedOperationException
- Specified by:
transform
in interfaceTransform
- Throws:
UnsupportedOperationException
-
transform
public void transform(boolean inverse, float[] realIn, float[] imaginaryIn, float[] realOut, float[] imaginaryOut)
Actual fast Fourier transform implementation.- Parameters:
inverse
- inverse or notrealIn
- real portion inputimaginaryIn
- imaginary inrealOut
- real outimaginaryOut
- imaginary out
-
-