com.frinika.audio.analysis.dft
Class FFTClient1

java.lang.Object
  extended by com.frinika.audio.analysis.dft.FFTClient1
All Implemented Interfaces:
FFTSpectrumClient

public class FFTClient1
extends java.lang.Object
implements FFTSpectrumClient


Constructor Summary
FFTClient1(FFTSpectrogramDataBuilder builder)
           
 
Method Summary
 int getChunkRenderedCount()
           
 float[][] getMagnitude()
           
 float[] getMagnitudeAt(long chunkPtr)
           
 float[] getPhaseAt(long chunkPtr)
           
 float[] getPhaseFreqAt(long chunkPtr)
           
 int getSizeInChunks()
           
 float[][] getSMagnitude()
           
 float[] getSmagnitudeAt(long chunkPtr)
           
 void process(double[] fftOut, int nBin)
           
 void setSize(int sizeInChunks, int nBin, float[] freq, double dt)
           
 boolean validAt(long chunkPtr2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FFTClient1

public FFTClient1(FFTSpectrogramDataBuilder builder)
Method Detail

setSize

public void setSize(int sizeInChunks,
                    int nBin,
                    float[] freq,
                    double dt)
Specified by:
setSize in interface FFTSpectrumClient

getMagnitude

public float[][] getMagnitude()

getSMagnitude

public float[][] getSMagnitude()

process

public void process(double[] fftOut,
                    int nBin)
Specified by:
process in interface FFTSpectrumClient

getMagnitudeAt

public float[] getMagnitudeAt(long chunkPtr)

getPhaseAt

public float[] getPhaseAt(long chunkPtr)

getPhaseFreqAt

public float[] getPhaseFreqAt(long chunkPtr)

getSizeInChunks

public int getSizeInChunks()

getChunkRenderedCount

public int getChunkRenderedCount()

validAt

public boolean validAt(long chunkPtr2)

getSmagnitudeAt

public float[] getSmagnitudeAt(long chunkPtr)