Home
last modified time | relevance | path

Searched refs:sqrt_gain (Results 1 – 3 of 3) sorted by relevance

/dports/multimedia/libopenshot/libopenshot-0.2.7/src/audio_effects/
H A DParametricEQ.cpp112 double sqrt_gain = sqrt (gain); in updateCoefficients() local
135 /* b1 */ gain * tan_half_wc - sqrt_gain, in updateCoefficients()
137 /* a0 */ tan_half_wc + sqrt_gain, in updateCoefficients()
138 /* a1 */ tan_half_wc - sqrt_gain, in updateCoefficients()
144 /* b1 */ sqrt_gain * tan_half_wc - gain, in updateCoefficients()
146 /* a0 */ sqrt_gain * tan_half_wc + 1.0, in updateCoefficients()
147 /* a1 */ sqrt_gain * tan_half_wc - 1.0, in updateCoefficients()
171 /* b1 */ sqrt_gain * two_cos_wc, in updateCoefficients()
173 /* a0 */ sqrt_gain + tan_half_bw, in updateCoefficients()
174 /* a1 */ sqrt_gain * two_cos_wc, in updateCoefficients()
[all …]
H A DDistortion.cpp172 double sqrt_gain = sqrt(gain); in updateCoefficients() local
174 coefficients = juce::IIRCoefficients(/* b0 */ sqrt_gain * tan_half_wc + gain, in updateCoefficients()
175 /* b1 */ sqrt_gain * tan_half_wc - gain, in updateCoefficients()
177 /* a0 */ sqrt_gain * tan_half_wc + 1.0, in updateCoefficients()
178 /* a1 */ sqrt_gain * tan_half_wc - 1.0, in updateCoefficients()
/dports/net/mediastreamer/mediastreamer-2.16.1/src/audiofilters/
H A Dequalizer.c128 static float equalizer_compute_gainpoint(int f, int freq_0, float sqrt_gain, int freq_bw) in equalizer_compute_gainpoint() argument
135 return (k1+k2*sqrt_gain)/(k1+k2/sqrt_gain); in equalizer_compute_gainpoint()
152 float sqrt_gain = (float)sqrt(gain); in equalizer_state_set() local
163 gain = equalizer_compute_gainpoint(f-delta_f, freq_0, sqrt_gain, freq_bw); in equalizer_state_set()
171 gain = equalizer_compute_gainpoint(f+delta_f, freq_0, sqrt_gain, freq_bw); in equalizer_state_set()