public class ShortTermCepstrumAnalyser extends FrameBasedAnalyser<double[]>
FrameBasedAnalyser.FrameAnalysisResult<T>analysisResultsframe, frameLength, frameShift, frameStart, nextFrameStart, processor, samplingRate, signal, totalRead, validSamplesInFrame| Constructor and Description |
|---|
ShortTermCepstrumAnalyser(DoubleDataSource signal,
int fftSize,
int invFftSize,
Window window,
int frameShift,
int samplingRate)
Initialise a FrameBasedAnalyser.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
analyse(double[] aFrame)
Apply this FrameBasedAnalyser to the given data.
|
int |
getFFTWindowLength() |
int |
getInverseFFTWindowLength() |
double |
getQuefrencyResolution()
The distance of two adjacent points on the quefrency axis, in ms
|
analyseAllFrames, analyseAvailableFrames, analyseNextFrame, constructAnalysisResultgetCurrentFrame, getData, getFrameLengthSamples, getFrameLengthTime, getFrameShiftSamples, getFrameShiftTime, getFrameStartSamples, getFrameStartTime, getNextFrame, getSamplingRate, hasMoreData, main, resetInternalTimer, stopWhenTouchingEnd, validSamplesInFramepublic ShortTermCepstrumAnalyser(DoubleDataSource signal, int fftSize, int invFftSize, Window window, int frameShift, int samplingRate)
signal - the signal source to read fromfftSize - the size of the FFT to useinvFftSize - inverted FftSizewindow - the window function to apply to each frameframeShift - the number of samples by which to shift the window from one frame analysis to the next; if this is smaller than
window.getLength(), frames will overlap.samplingRate - the number of samples in one second.IllegalArgumentException - if the window is longer than fftSize, or fftSize is not a power of two.public double[] analyse(double[] aFrame)
analyse in class FrameBasedAnalyser<double[]>aFrame - the data to analyse, which must be of the length prescribed by this FrameBasedAnalyser, i.e. by similar to
FrameProvider.getFrameLengthSamples() .IllegalArgumentException - if frame does not have the prescribed lengthpublic double getQuefrencyResolution()
public int getFFTWindowLength()
public int getInverseFFTWindowLength()
Copyright © 2000–2016 DFKI GmbH. All rights reserved.