public class MFCC extends JAudioFeatureExtractor
featureExtractor| Constructor and Description |
|---|
MFCC()
Default constructor
|
MFCC(AudioStream as)
Constructor for chaining to a stream
|
| Modifier and Type | Method and Description |
|---|---|
double[][] |
calculateMFCC(SampleBuffer sb)
Calculate the MFCCs for the given sample buffer.
|
double[][] |
getExtraInputs(double[] samples,
double sampleRate)
Returns the extra inputs required by a specific feature extractor
|
double[][] |
getLastCalculatedFeatureWithoutFirst()
Returns the MFCCs with the first coefficient set to zero.
|
extractFeature, getLastCalculatedFeature, process, process, process, process, setLastCalculatedFeaturegetLength, getUnderlyingStream, nextSampleChunk, process, processingComplete, reset, setUnderlyingStreamiterator, seekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MFCC()
public MFCC(AudioStream as)
as - The audio streampublic double[][] calculateMFCC(SampleBuffer sb)
sb - The sample bufferpublic double[][] getExtraInputs(double[] samples, double sampleRate)
getExtraInputs in class JAudioFeatureExtractorsamples - The samples for a single channelsampleRate - The sample rate of the dataJAudioFeatureExtractor.getExtraInputs(double[], double)public double[][] getLastCalculatedFeatureWithoutFirst()