com.frinika.audio.analysis.dft
Class FFTClient1
java.lang.Object
com.frinika.audio.analysis.dft.FFTClient1
- All Implemented Interfaces:
- FFTSpectrumClient
public class FFTClient1
- extends java.lang.Object
- implements FFTSpectrumClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FFTClient1
public FFTClient1(FFTSpectrogramDataBuilder builder)
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)