comparison trunk/src/Modules/BMM/ModulePZFC.cc @ 296:fe5ce00a64f5

-Added AIMCopy, a replacement for HTK's HCopy -Set "Id" keyword on all .cc, .h and .py files -Added FileList class to aupport AIMCopy -Added a first go at a Module factory class. It's not to be used at the moment, but it will serve as a reminder to implement a proper factory soon.
author tomwalters
date Tue, 23 Feb 2010 12:47:01 +0000
parents ce2bab04f155
children 994b84cb5974
comparison
equal deleted inserted replaced
295:9b049b78233d 296:fe5ce00a64f5
21 * module by Tom Walters from the AIM-MAT module based on Dick Lyon's code 21 * module by Tom Walters from the AIM-MAT module based on Dick Lyon's code
22 */ 22 */
23 23
24 /*! \author Thomas Walters <tom@acousticscale.org> 24 /*! \author Thomas Walters <tom@acousticscale.org>
25 * \date created 2008/02/05 25 * \date created 2008/02/05
26 * \version \$Id: ModulePZFC.cc 4 2010-02-03 18:44:58Z tcw $ 26 * \version \$Id$
27 */ 27 */
28 28
29 #include "Support/ERBTools.h" 29 #include "Support/ERBTools.h"
30 30
31 #include "Modules/BMM/ModulePZFC.h" 31 #include "Modules/BMM/ModulePZFC.h"
33 namespace aimc { 33 namespace aimc {
34 ModulePZFC::ModulePZFC(Parameters *parameters) : Module(parameters) { 34 ModulePZFC::ModulePZFC(Parameters *parameters) : Module(parameters) {
35 module_identifier_ = "pzfc"; 35 module_identifier_ = "pzfc";
36 module_type_ = "bmm"; 36 module_type_ = "bmm";
37 module_description_ = "Pole-Zero Filter Cascade"; 37 module_description_ = "Pole-Zero Filter Cascade";
38 module_version_ = "$Id: ModulePZFC.cc 4 2010-02-03 18:44:58Z tcw $"; 38 module_version_ = "$Id$";
39 39
40 // Get parameter values, setting default values where necessary 40 // Get parameter values, setting default values where necessary
41 // Each parameter is set here only if it has not already been set elsewhere. 41 // Each parameter is set here only if it has not already been set elsewhere.
42 cf_max_ = parameters_->DefaultFloat("pzfc.highest_frequency", 6000.0f); 42 cf_max_ = parameters_->DefaultFloat("pzfc.highest_frequency", 6000.0f);
43 cf_min_ = parameters_->DefaultFloat("pzfc.lowest_frequency", 100.0f); 43 cf_min_ = parameters_->DefaultFloat("pzfc.lowest_frequency", 100.0f);