comparison src/Modules/BMM/ModulePZFC.cc @ 142:f03d4455b262

- AIMC format file output
author tom@acousticscale.org
date Thu, 04 Nov 2010 19:48:53 +0000
parents c5ac2f0c7fc5
children eeeb5dceb60e
comparison
equal deleted inserted replaced
141:bbf4728ffa0e 142:f03d4455b262
167 167
168 // Store the real pole frequency as the 'centre frequency' of the filterbank 168 // Store the real pole frequency as the 'centre frequency' of the filterbank
169 // channel 169 // channel
170 output_.set_centre_frequency(i, frequency); 170 output_.set_centre_frequency(i, frequency);
171 171
172 float zero_frequency = Minimum(M_PI, zero_factor_ * pole_frequency); 172 float zero_frequency = Minimum(M_PI, zero_factor_ * pole_frequency);
173 173
174 // Impulse-invariance mapping 174 // Impulse-invariance mapping
175 float z_plane_theta = zero_frequency * sqrt(1.0f - pow(zero_damping_, 2)); 175 float z_plane_theta = zero_frequency * sqrt(1.0f - pow(zero_damping_, 2));
176 float z_plane_rho = exp(-zero_damping_ * zero_frequency); 176 float z_plane_rho = exp(-zero_damping_ * zero_frequency);
177 177