public class FrequencyDomainProcessor extends Object implements InlineDataProcessor
| Constructor and Description |
|---|
FrequencyDomainProcessor(int fftSize) |
FrequencyDomainProcessor(int fftSize,
double amount)
Create a frequencydomainprocessor with the given FFT size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInline(double[] data,
int pos,
int len)
Apply this frequency domain processor to the given data, and return the processing result in-place.
|
int |
getFFTSize() |
protected void |
process(double[] real,
double[] imag)
Here the actual processing of the frequency-domain frame (in cartesian coordinates) happens.
|
public FrequencyDomainProcessor(int fftSize,
double amount)
fftSize - length of the array to be used for the FFT. Must be a power of two.amount - amountIllegalArgumentException - if fftSize is not a power of two.public FrequencyDomainProcessor(int fftSize)
public int getFFTSize()
public void applyInline(double[] data,
int pos,
int len)
applyInline in interface InlineDataProcessordata - the (time-domain) data to processpos - the position in the data array where the data lieslen - the length of the to-be-processed dataIllegalArgumentException - if len is greater than the fftSize of this frequency domain processor.protected void process(double[] real,
double[] imag)
real - realimag - imagCopyright © 2000–2016 DFKI GmbH. All rights reserved.