|
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. | |
| int | process (const double *real, const double *imag, double *outceps) |
| Process time-domain input data. | |
| 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 |
| MFCC::MFCC | ( | MFCCConfig | config | ) |
Definition at line 24 of file MFCC.cpp.
References ceps, earMag, fft, fftMag, fftSize, MFCCConfig::fftsize, MFCCConfig::FS, imagOut, linearFilters, linearSpacing, logFilters, logPower, MFCCConfig::logpower, logSpacing, lowestFrequency, mfccDCTMatrix, mfccFilterWeights, nceps, MFCCConfig::nceps, realOut, samplingRate, totalFilters, WANT_C0, MFCCConfig::want_c0, window, and MFCCConfig::window.
|
virtual |
Definition at line 168 of file MFCC.cpp.
References ceps, earMag, fft, fftMag, imagOut, mfccDCTMatrix, mfccFilterWeights, nceps, realOut, totalFilters, and window.
| int MFCC::process | ( | const double * | inframe, |
| double * | outceps ) |
| 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.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |