MCPcopy Create free account
hub / github.com/ARM-software/armnn / InitMelFilterBank

Method InitMelFilterBank

samples/common/src/Audio/MFCC.cpp:209–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void 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
221bool MFCC::IsMelFilterBankInited() const
222{

Callers 2

InitMethod · 0.95
MfccComputePreFeatureMethod · 0.95

Calls 3

IsMelFilterBankInitedMethod · 0.95
CreateMelFilterBankMethod · 0.95
CreateDCTMatrixMethod · 0.95

Tested by

no test coverage detected