public abstract class FFTFactory extends Object
Factory for FFTransforms. Using the factory allows for sliding-in a faster, perhaps
native implementation (like it's done in beaTunes).
In order to use a factory other than the default factory, you need to specify
its classname with the system property com.tagtraum.jipes.math.FFTFactory.
I.e.
| Modifier and Type | Field and Description |
|---|---|
static String |
FACTORYCLASS_PROPERTY_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
FFTFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Transform |
create(int numberOfSamples)
Creates an instance of the fast Fourier transform (FFT).
|
static FFTFactory |
getInstance()
Creates a factory for FFT
Transform objects. |
public static final String FACTORYCLASS_PROPERTY_NAME
public static FFTFactory getInstance()
Transform objects.public abstract Transform create(int numberOfSamples)
numberOfSamples - number of samples the FFT instance should be able to processCopyright © 2011–2020 tagtraum industries incorporated. All rights reserved.