|
qm-dsp
1.8
|
#include <MFCC.h>
Public Member Functions | |
| MFCC (MFCCConfig config) | |
| virtual | ~MFCC () |
| int | process (const double *inframe, double *outceps) |
| Process time-domain input data. More... | |
| int | process (const double *real, const double *imag, double *outceps) |
| Process time-domain input data. More... | |
| int | getfftlength () const |
Private Attributes | |
| double | lowestFrequency |
| int | linearFilters |
| double | linearSpacing |
| int | logFilters |
| double | logSpacing |
| int | fftSize |
| int | totalFilters |
| double | logPower |
| int | samplingRate |
| int | nceps |
| double * | ceps |
| double ** | mfccDCTMatrix |
| double ** | mfccFilterWeights |
| Window< double > * | window |
| double * | realOut |
| double * | imagOut |
| double * | fftMag |
| double * | earMag |
| FFTReal * | fft |
| int | WANT_C0 |
Detailed Description
Constructor & Destructor Documentation
| MFCC::MFCC | ( | MFCCConfig | config | ) |
Definition at line 24 of file MFCC.cpp.
References ceps, earMag, fft, fftMag, MFCCConfig::fftsize, fftSize, MFCCConfig::FS, imagOut, linearFilters, linearSpacing, logFilters, MFCCConfig::logpower, logPower, logSpacing, lowestFrequency, mfccDCTMatrix, mfccFilterWeights, MFCCConfig::nceps, nceps, realOut, samplingRate, totalFilters, MFCCConfig::want_c0, WANT_C0, MFCCConfig::window, and window.
|
virtual |
Definition at line 168 of file MFCC.cpp.
References ceps, earMag, fft, fftMag, imagOut, mfccDCTMatrix, mfccFilterWeights, nceps, realOut, totalFilters, and window.
Member Function Documentation
| int MFCC::process | ( | const double * | inframe, |
| double * | outceps | ||
| ) |
Process time-domain input data.
inframe must contain getfftlength() samples. outceps must contain space for nceps values, plus one if want_c0 is specified.
Definition at line 205 of file MFCC.cpp.
References Window< T >::cut(), fft, fftSize, FFTReal::forward(), imagOut, realOut, and window.
Referenced by ClusterMeltSegmenter::extractFeaturesMFCC().
| int MFCC::process | ( | const double * | real, |
| const double * | imag, | ||
| double * | outceps | ||
| ) |
Process time-domain input data.
real and imag must contain getfftlength()/2+1 elements (i.e. the conjugate half of the FFT is not expected). outceps must contain space for nceps values, plus one if want_c0 is specified.
Definition at line 220 of file MFCC.cpp.
References earMag, fftMag, fftSize, logPower, mfccDCTMatrix, mfccFilterWeights, nceps, totalFilters, and WANT_C0.
|
inline |
Definition at line 56 of file MFCC.h.
Referenced by ClusterMeltSegmenter::extractFeaturesMFCC().
Member Data Documentation
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
The documentation for this class was generated from the following files:
Generated by
1.8.11