uk.co.simphoney.audio.constantq
Class FFTConstantQ
java.lang.Object
uk.co.simphoney.audio.constantq.FFTConstantQ
public class FFTConstantQ
- extends java.lang.Object
Constructor Summary |
FFTConstantQ(double sampleRate,
double minFreq,
double maxFreq,
double binsPerOctave)
|
FFTConstantQ(double sampleRate,
double minFreq,
double maxFreq,
double binsPerOctave,
double threshold,
double spread)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FFTConstantQ
public FFTConstantQ(double sampleRate,
double minFreq,
double maxFreq,
double binsPerOctave)
FFTConstantQ
public FFTConstantQ(double sampleRate,
double minFreq,
double maxFreq,
double binsPerOctave,
double threshold,
double spread)
getFFT
public rasmus.interpreter.sampled.util.FFT getFFT()
getFreqs
public double[] getFreqs()
getFFTSize
public int getFFTSize()
getNumberOfOutputBands
public int getNumberOfOutputBands()
calc
public void calc(double[] buff_in,
double[] buff_out)
- take a buff_in of samples and calculate the constant Q coeffs.
- Parameters:
buff_in
- buff_out
-
getFFTlength
public int getFFTlength()