rasmus.interpreter.sampled.util
Class FFTConstantQ

java.lang.Object
  extended by rasmus.interpreter.sampled.util.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)
           
FFTConstantQ(double sampleRate, double minFreq, double maxFreq, double binsPerOctave, java.io.File file)
           
 
Method Summary
 void calc(double[] buff_in, double[] buff_out)
           
 FFT getFFT()
           
 int getFFTSize()
           
 int getNumberOfOutputBands()
           
 void readKernels(java.io.InputStream is)
           
 void writeKernels(java.io.File file)
           
 
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)

FFTConstantQ

public FFTConstantQ(double sampleRate,
                    double minFreq,
                    double maxFreq,
                    double binsPerOctave,
                    java.io.File file)
Method Detail

getFFT

public FFT getFFT()

getFFTSize

public int getFFTSize()

getNumberOfOutputBands

public int getNumberOfOutputBands()

readKernels

public void readKernels(java.io.InputStream is)
                 throws java.io.IOException
Throws:
java.io.IOException

writeKernels

public void writeKernels(java.io.File file)

calc

public void calc(double[] buff_in,
                 double[] buff_out)