Mercurial > hg > aimc
comparison trunk/src/Modules/BMM/ModuleGammatone.cc @ 291:2d3cef76b073
-Removed extraneous debug logging
author | tomwalters |
---|---|
date | Mon, 22 Feb 2010 12:45:05 +0000 |
parents | e344ef4898b2 |
children | 30dde71d0230 |
comparison
equal
deleted
inserted
replaced
290:e344ef4898b2 | 291:2d3cef76b073 |
---|---|
120 * (p1 + p2 * (cos(two_cf_pi_t) + sqrt(3.0 - two_pow) * sin(two_cf_pi_t))) | 120 * (p1 + p2 * (cos(two_cf_pi_t) + sqrt(3.0 - two_pow) * sin(two_cf_pi_t))) |
121 * (p1 + p2 * (cos(two_cf_pi_t) - sqrt(3.0 + two_pow) * sin(two_cf_pi_t))) | 121 * (p1 + p2 * (cos(two_cf_pi_t) - sqrt(3.0 + two_pow) * sin(two_cf_pi_t))) |
122 * (p1 + p2 * (cos(two_cf_pi_t) + sqrt(3.0 + two_pow) * sin(two_cf_pi_t))) | 122 * (p1 + p2 * (cos(two_cf_pi_t) + sqrt(3.0 + two_pow) * sin(two_cf_pi_t))) |
123 / pow((-2.0 / exp(2.0 * b_dt) - 2.0 * ec + 2.0 * (1.0 + ec) | 123 / pow((-2.0 / exp(2.0 * b_dt) - 2.0 * ec + 2.0 * (1.0 + ec) |
124 / exp(b_dt)), 4)); | 124 / exp(b_dt)), 4)); |
125 LOG_INFO("%e", gain); | 125 // LOG_INFO("%e", gain); |
126 | 126 |
127 // The filter coefficients themselves: | 127 // The filter coefficients themselves: |
128 const int coeff_count = 3; | 128 const int coeff_count = 3; |
129 a_[ch].resize(coeff_count, 0.0f); | 129 a_[ch].resize(coeff_count, 0.0f); |
130 b1_[ch].resize(coeff_count, 0.0f); | 130 b1_[ch].resize(coeff_count, 0.0f); |