uk.co.simphoney.audio.constantq
Class FFTConstantQ

java.lang.Object
  extended by 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)
           
 
Method Summary
 void calc(double[] buff_in, double[] buff_out)
          take a buff_in of samples and calculate the constant Q coeffs.
 rasmus.interpreter.sampled.util.FFT getFFT()
           
 int getFFTlength()
           
 int getFFTSize()
           
 double[] getFreqs()
           
 int getNumberOfOutputBands()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()