diff src/Modules/Features/ModuleGaussians.cc @ 20:fff25824d1d1

-Added a module to scale output values by the channel centre frequency -Fixed file input to support loading and processing of multiple files -Updated the aimc main file to generate profiles like in the recognition experiments
author tomwalters
date Mon, 22 Feb 2010 17:51:27 +0000
parents fcbf85ce59fb
children 491b1b1d1dc5
line wrap: on
line diff
--- a/src/Modules/Features/ModuleGaussians.cc	Mon Feb 22 12:45:05 2010 +0000
+++ b/src/Modules/Features/ModuleGaussians.cc	Mon Feb 22 17:51:27 2010 +0000
@@ -79,6 +79,10 @@
 void ModuleGaussians::ResetInternal() {
   m_pSpectralProfile.clear();
   m_pSpectralProfile.resize(m_iNumChannels, 0.0f);
+  m_pA.clear();
+  m_pA.resize(m_iParamNComp, 0.0f);
+  m_pMu.clear();
+  m_pMu.resize(m_iParamNComp, 0.0f);
 }
 
 void ModuleGaussians::Process(const SignalBank &input) {