40.0)).sqrt(); 40.0)).sqrt(); 40.0)).sqrt(); 40.0)).sqrt();
gain_db gain_db gain_db gain_db gain_db gain_db gain_db
biquad.update(sample_rate, biquad.update(sample_rate,
self.gain_db self.gain_db self.gain_db self.gain_db
self.output_history[0][RIGHT] self.output_history[0][RIGHT]
new(biquad_type: new(biquad_type: new(biquad_type:
cos_omega; cos_omega; cos_omega; cos_omega; cos_omega;
sqrt_a_2_alpha); sqrt_a_2_alpha); sqrt_a_2_alpha);
self.coeffs.a0) self.coeffs.a0) self.coeffs.a0) self.coeffs.a0)
q_factor); q_factor); q_factor); q_factor); q_factor);
(self.coeffs.b1 (self.coeffs.b1 (self.coeffs.b1 (self.coeffs.b1
input_history: input_history: input_history: input_history:
self.current_index self.current_index self.current_index
center_freq: center_freq: center_freq: center_freq:
self.center_freq self.center_freq self.center_freq
output_l; output_l; output_l; output_l; output_l;
gain_db: gain_db: gain_db: gain_db: gain_db: gain_db:
biquad_type); biquad_type); biquad_type); biquad_type);
FilterType, FilterType, FilterType, FilterType, FilterType,
cos_omega cos_omega cos_omega cos_omega cos_omega
input_r); input_r); input_r); input_r); input_r);
cos_omega; cos_omega; cos_omega; cos_omega; cos_omega;
cos_omega); cos_omega); cos_omega); cos_omega); cos_omega);
q_factor: q_factor: q_factor: q_factor: q_factor:
current_index: current_index: current_index: current_index:
center_freq: center_freq: center_freq: center_freq:
cos_omega cos_omega cos_omega cos_omega cos_omega
self.coeffs.a0) self.coeffs.a0) self.coeffs.a0) self.coeffs.a0)
PartialEq)] PartialEq)] PartialEq)] PartialEq)] PartialEq)]
(self.coeffs.a2 (self.coeffs.a2 (self.coeffs.a2 (self.coeffs.a2
self.coeffs.a0) self.coeffs.a0) self.coeffs.a0) self.coeffs.a0)
(self.coeffs.b2 (self.coeffs.b2 (self.coeffs.b2 (self.coeffs.b2
(self.coeffs.a2 (self.coeffs.a2 (self.coeffs.a2 (self.coeffs.a2
gain_db: gain_db: gain_db: gain_db: gain_db: gain_db:
output_r) output_r) output_r) output_r) output_r)
set_type(&mut set_type(&mut set_type(&mut set_type(&mut
self.coeffs.a0) self.coeffs.a0) self.coeffs.a0) self.coeffs.a0)
(output_l, (output_l, (output_l, (output_l, (output_l,
BiquadCoefficients::new(self.biquad_type, BiquadCoefficients::new(self.biquad_type,
omega.sin(); omega.sin(); omega.sin(); omega.sin();
BiquadCoefficients, BiquadCoefficients, BiquadCoefficients,
biquad_type: biquad_type: biquad_type: biquad_type:
interleaves: interleaves: interleaves: interleaves:
FilterType, FilterType, FilterType, FilterType, FilterType,
gain_db gain_db gain_db gain_db gain_db gain_db gain_db
gain_db, gain_db, gain_db, gain_db, gain_db, gain_db,
center_freq, center_freq, center_freq, center_freq,
output_l; output_l; output_l; output_l; output_l;
FilterType::LowShelf FilterType::LowShelf FilterType::LowShelf
sqrt_a_2_alpha sqrt_a_2_alpha sqrt_a_2_alpha sqrt_a_2_alpha
-sin_omega -sin_omega -sin_omega -sin_omega -sin_omega
self.coeffs.a0) self.coeffs.a0) self.coeffs.a0) self.coeffs.a0)
self.current_index self.current_index self.current_index
input_r; input_r; input_r; input_r; input_r; input_r;
self.biquad_type self.biquad_type self.biquad_type
input_l input_l input_l input_l input_l input_l input_l
cos_omega; cos_omega; cos_omega; cos_omega; cos_omega;
-sin_omega -sin_omega -sin_omega -sin_omega -sin_omega
q_factor: q_factor: q_factor: q_factor: q_factor:
self.input_history[1][RIGHT] self.input_history[1][RIGHT]
FilterType::LowShelf FilterType::LowShelf FilterType::LowShelf
cos_omega cos_omega cos_omega cos_omega cos_omega
self.output_history[0][RIGHT] self.output_history[0][RIGHT]
omega.cos(); omega.cos(); omega.cos(); omega.cos();
omega.cos(); omega.cos(); omega.cos(); omega.cos();