| 207 | } |
| 208 | |
| 209 | void MFCC::InitMelFilterBank() |
| 210 | { |
| 211 | if (!this->IsMelFilterBankInited()) |
| 212 | { |
| 213 | this->m_melFilterBank = this->CreateMelFilterBank(); |
| 214 | this->m_dctMatrix = this->CreateDCTMatrix( |
| 215 | this->m_params.m_numFbankBins, |
| 216 | this->m_params.m_numMfccFeatures); |
| 217 | this->m_filterBankInitialised = true; |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | bool MFCC::IsMelFilterBankInited() const |
| 222 | { |
no test coverage detected