/dports/devel/godot2/godot-2.1.6-stable/servers/audio/ |
H A D | audio_filter_sw.cpp | 81 tmpgain = 0.001; in prepare_coefficients() 86 tmpgain = Math::pow(tmpgain, 1.0 / (stages + 1)); in prepare_coefficients() 160 a0 = (tmpgain + 1.0) + (tmpgain - 1.0) * cos_v + beta * sin_v; in prepare_coefficients() 161 p_coeffs->b0 = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cos_v + beta * sin_v); in prepare_coefficients() 162 p_coeffs->b1 = 2.0 * tmpgain * ((tmpgain - 1.0) - (tmpgain + 1.0) * cos_v); in prepare_coefficients() 163 p_coeffs->b2 = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cos_v - beta * sin_v); in prepare_coefficients() 175 a0 = (tmpgain + 1.0) - (tmpgain - 1.0) * cos_v + beta * sin_v; in prepare_coefficients() 176 p_coeffs->b0 = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cos_v + beta * sin_v); in prepare_coefficients() 177 p_coeffs->b1 = -2.0 * tmpgain * ((tmpgain - 1.0) + (tmpgain + 1.0) * cos_v); in prepare_coefficients() 178 p_coeffs->b2 = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cos_v - beta * sin_v); in prepare_coefficients() [all …]
|
/dports/devel/godot2-tools/godot-2.1.6-stable/servers/audio/ |
H A D | audio_filter_sw.cpp | 81 tmpgain = 0.001; in prepare_coefficients() 86 tmpgain = Math::pow(tmpgain, 1.0 / (stages + 1)); in prepare_coefficients() 160 a0 = (tmpgain + 1.0) + (tmpgain - 1.0) * cos_v + beta * sin_v; in prepare_coefficients() 161 p_coeffs->b0 = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cos_v + beta * sin_v); in prepare_coefficients() 162 p_coeffs->b1 = 2.0 * tmpgain * ((tmpgain - 1.0) - (tmpgain + 1.0) * cos_v); in prepare_coefficients() 163 p_coeffs->b2 = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cos_v - beta * sin_v); in prepare_coefficients() 175 a0 = (tmpgain + 1.0) - (tmpgain - 1.0) * cos_v + beta * sin_v; in prepare_coefficients() 176 p_coeffs->b0 = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cos_v + beta * sin_v); in prepare_coefficients() 177 p_coeffs->b1 = -2.0 * tmpgain * ((tmpgain - 1.0) + (tmpgain + 1.0) * cos_v); in prepare_coefficients() 178 p_coeffs->b2 = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cos_v - beta * sin_v); in prepare_coefficients() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/servers/audio/ |
H A D | audio_filter_sw.cpp | 81 tmpgain = 0.001; in prepare_coefficients() 86 tmpgain = Math::pow(tmpgain, 1.0 / (stages + 1)); in prepare_coefficients() 159 a0 = (tmpgain + 1.0) + (tmpgain - 1.0) * cos_v + beta * sin_v; in prepare_coefficients() 160 p_coeffs->b0 = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cos_v + beta * sin_v); in prepare_coefficients() 161 p_coeffs->b1 = 2.0 * tmpgain * ((tmpgain - 1.0) - (tmpgain + 1.0) * cos_v); in prepare_coefficients() 162 p_coeffs->b2 = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cos_v - beta * sin_v); in prepare_coefficients() 173 a0 = (tmpgain + 1.0) - (tmpgain - 1.0) * cos_v + beta * sin_v; in prepare_coefficients() 174 p_coeffs->b0 = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cos_v + beta * sin_v); in prepare_coefficients() 175 p_coeffs->b1 = -2.0 * tmpgain * ((tmpgain - 1.0) + (tmpgain + 1.0) * cos_v); in prepare_coefficients() 176 p_coeffs->b2 = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cos_v - beta * sin_v); in prepare_coefficients() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/servers/audio/ |
H A D | audio_filter_sw.cpp | 81 tmpgain = 0.001; in prepare_coefficients() 86 tmpgain = Math::pow(tmpgain, 1.0 / (stages + 1)); in prepare_coefficients() 159 a0 = (tmpgain + 1.0) + (tmpgain - 1.0) * cos_v + beta * sin_v; in prepare_coefficients() 160 p_coeffs->b0 = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cos_v + beta * sin_v); in prepare_coefficients() 161 p_coeffs->b1 = 2.0 * tmpgain * ((tmpgain - 1.0) - (tmpgain + 1.0) * cos_v); in prepare_coefficients() 162 p_coeffs->b2 = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cos_v - beta * sin_v); in prepare_coefficients() 173 a0 = (tmpgain + 1.0) - (tmpgain - 1.0) * cos_v + beta * sin_v; in prepare_coefficients() 174 p_coeffs->b0 = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cos_v + beta * sin_v); in prepare_coefficients() 175 p_coeffs->b1 = -2.0 * tmpgain * ((tmpgain - 1.0) + (tmpgain + 1.0) * cos_v); in prepare_coefficients() 176 p_coeffs->b2 = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cos_v - beta * sin_v); in prepare_coefficients() [all …]
|
/dports/audio/lmms/lmms-1.2.2/plugins/zynaddsubfx/zynaddsubfx/src/DSP/ |
H A D | AnalogFilter.cpp | 90 float tmpq, tmpgain; in computefiltercoefs() local 93 tmpgain = gain; in computefiltercoefs() 219 tmp = (tmpgain + 1.0f) + (tmpgain - 1.0f) * cs + beta * sn; in computefiltercoefs() 221 c[0] = tmpgain in computefiltercoefs() 225 * ((tmpgain - 1.0f) - (tmpgain + 1.0f) * cs) / tmp; in computefiltercoefs() 229 d[1] = -2.0f * ((tmpgain - 1.0f) + (tmpgain + 1.0f) * cs) in computefiltercoefs() 231 d[2] = ((tmpgain + 1.0f) + (tmpgain - 1.0f) * cs - beta * sn) in computefiltercoefs() 245 tmp = (tmpgain + 1.0f) - (tmpgain - 1.0f) * cs + beta * sn; in computefiltercoefs() 251 * ((tmpgain - 1.0f) + (tmpgain + 1.0f) * cs) / tmp; in computefiltercoefs() 255 d[1] = 2.0f * ((tmpgain - 1.0f) - (tmpgain + 1.0f) * cs) in computefiltercoefs() [all …]
|
/dports/audio/artyfx-lv2/openAV-ArtyFX-release-1.3-24-g6010d1a/src/dsp/rr/ |
H A D | AnalogFilter.cxx | 105 float tmpq, tmpgain; in computefiltercoefs() local 108 tmpgain = gain; in computefiltercoefs() 257 tmp = (tmpgain + 1.0f) + (tmpgain - 1.0f) * cs + beta * sn; in computefiltercoefs() 259 c[0] = tmpgain * ((tmpgain + 1.0f) - (tmpgain - 1.0f) * cs + beta * sn) / tmp; in computefiltercoefs() 260 c[1] = 2.0f * tmpgain * ((tmpgain - 1.0f) - (tmpgain + 1.0f) * cs) / tmp; in computefiltercoefs() 261 c[2] = tmpgain * ((tmpgain + 1.0f) - (tmpgain - 1.0f) * cs - beta * sn) / tmp; in computefiltercoefs() 265 c[0] = tmpgain; in computefiltercoefs() 281 tmp = (tmpgain + 1.0f) - (tmpgain - 1.0f) * cs + beta * sn; in computefiltercoefs() 284 tmpgain * ((tmpgain + 1.0f) + (tmpgain - 1.0f) * cs + in computefiltercoefs() 287 -2.0f * tmpgain * ((tmpgain - 1.0f) + (tmpgain + 1.0f) * cs) / tmp; in computefiltercoefs() [all …]
|
H A D | Waveshaper.h | 54 float tmpgain; // compression distortion temp variable variable
|
H A D | Waveshaper.cxx | 73 tmpgain = 1.0f; // compression distortion temp variable in Waveshaper() 109 tmpgain = 1.0f; // compression distortion temp variable in cleanup()
|
/dports/audio/yoshimi/yoshimi-2.1.2.2/src/DSP/ |
H A D | AnalogFilter.cpp | 131 double tmpgain; 135 tmpgain = gain; 294 tmp = (tmpgain + 1.0) + (tmpgain - 1.0) * cs + beta * sn; 296 c[0] = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cs + beta * sn) / tmp; 297 c[1] = 2.0 * tmpgain * ((tmpgain - 1.0) - (tmpgain + 1.0) * cs) / tmp; 298 c[2] = tmpgain * ((tmpgain + 1.0) - (tmpgain - 1.0) * cs - beta * sn) / tmp; 319 tmp = (tmpgain + 1.0) - (tmpgain - 1.0) * cs + beta * sn; 321 c[0] = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cs + beta * sn) / tmp; 322 c[1] = -2.0 * tmpgain * ((tmpgain - 1.0) + (tmpgain + 1.0) * cs) / tmp; 323 c[2] = tmpgain * ((tmpgain + 1.0) + (tmpgain - 1.0) * cs - beta * sn) / tmp; [all …]
|
/dports/audio/rkr-lv2/rkrlv2-beta_2-2-gd8c17d3/src/ |
H A D | AnalogFilter.C | 101 float tmpq, tmpgain; 104 tmpgain = gain; 253 tmp = (tmpgain + 1.0f) + (tmpgain - 1.0f) * cs + beta * sn; 256 tmpgain * ((tmpgain + 1.0f) - (tmpgain - 1.0f) * cs + 259 2.0f * tmpgain * ((tmpgain - 1.0f) - (tmpgain + 1.0f) * cs) / tmp; 261 tmpgain * ((tmpgain + 1.0f) - (tmpgain - 1.0f) * cs - 267 c[0] = tmpgain; 283 tmp = (tmpgain + 1.0f) - (tmpgain - 1.0f) * cs + beta * sn; 286 tmpgain * ((tmpgain + 1.0f) + (tmpgain - 1.0f) * cs + 289 -2.0f * tmpgain * ((tmpgain - 1.0f) + (tmpgain + 1.0f) * cs) / tmp; [all …]
|
H A D | Vibe.C | 330 float tmpgain = 1.0f; in init_vibes() local 375 tmpgain = 1.0f/(cd1[i] + cd0[i]); in init_vibes() 376 vc[i].n1 = tmpgain*(cn0[i] - cn1[i]); in init_vibes() 381 tmpgain = 1.0f/(ecd1[i] + ecd0[i]); in init_vibes() 387 tmpgain = 1.0f/(od1[i] + od0[i]); in init_vibes() 393 tmpgain = 1.0f/(ed1[i] + ed0[i]); in init_vibes() 410 float tmpgain; in modulate() local 446 tmpgain = 1.0f/(cd1[i] + cd0[i]); in modulate() 451 tmpgain = 1.0f/(ecd1[i] + ecd0[i]); in modulate() 457 tmpgain = 1.0f/(od1[i] + od0[i]); in modulate() [all …]
|
H A D | Sustainer.C | 103 tmpgain = compg/compenv; in out() 105 tmpgain = 1.0f; in out() 111 smpsl[i] = auxtempl * tmpgain * level; in out() 112 smpsr[i] = auxtempr * tmpgain * level; in out()
|
H A D | Vocoder.C | 240 float auxtemp, tmpgain; in out() local 263 tmpgain = compg/compenv; in out() 265 tmpgain = 1.0f; in out() 273 tmpaux[i] = auxtemp * tmpgain; in out()
|
H A D | Sustainer.h | 51 float level, fsustain, input,tmpgain; variable
|
H A D | Waveshaper.h | 49 float tmpgain; // compression distortion temp variable variable
|
H A D | Waveshaper.C | 73 tmpgain = 1.0f; // compression distortion temp variable in Waveshaper() 115 tmpgain = 1.0f; // compression distortion temp variable in cleanup()
|
/dports/audio/guitarix-lv2/guitarix-0.43.1/src/LV2/gx_vibe.lv2/ |
H A D | vibe.cc | 681 float tmpgain = 1.0f; in init_vibes() local 726 tmpgain = 1.0f/(cd1[i] + cd0[i]); in init_vibes() 727 vc[i].n1 = tmpgain*(cn0[i] - cn1[i]); in init_vibes() 732 tmpgain = 1.0f/(ecd1[i] + ecd0[i]); in init_vibes() 738 tmpgain = 1.0f/(od1[i] + od0[i]); in init_vibes() 744 tmpgain = 1.0f/(ed1[i] + ed0[i]); in init_vibes() 753 float tmpgain; in modulate() local 788 tmpgain = 1.0f/(cd1[i] + cd0[i]); in modulate() 793 tmpgain = 1.0f/(ecd1[i] + ecd0[i]); in modulate() 799 tmpgain = 1.0f/(od1[i] + od0[i]); in modulate() [all …]
|
/dports/audio/guitarix-lv2/guitarix-0.43.1/src/plugins/ |
H A D | vibe.cc | 610 float tmpgain = 1.0f; in init_vibes() local 655 tmpgain = 1.0f/(cd1[i] + cd0[i]); in init_vibes() 656 vc[i].n1 = tmpgain*(cn0[i] - cn1[i]); in init_vibes() 661 tmpgain = 1.0f/(ecd1[i] + ecd0[i]); in init_vibes() 667 tmpgain = 1.0f/(od1[i] + od0[i]); in init_vibes() 673 tmpgain = 1.0f/(ed1[i] + ed0[i]); in init_vibes() 682 float tmpgain; in modulate() local 717 tmpgain = 1.0f/(cd1[i] + cd0[i]); in modulate() 722 tmpgain = 1.0f/(ecd1[i] + ecd0[i]); in modulate() 728 tmpgain = 1.0f/(od1[i] + od0[i]); in modulate() [all …]
|
/dports/audio/zynaddsubfx/zynaddsubfx-3.0.6-rc5/src/DSP/ |
H A D | AnalogFilter.cpp | 93 float tmpq, tmpgain; in computeCoeff() local 96 tmpgain = gain; in computeCoeff() 99 tmpgain = powf(gain, 1.0f / (stages + 1)); in computeCoeff() 206 tmp = 1.0f + alpha / tmpgain; in computeCoeff() 222 beta = sqrtf(tmpgain) / tmpq; in computeCoeff() 223 tgp1 = tmpgain + 1.0f; in computeCoeff() 224 tgm1 = tmpgain - 1.0f; in computeCoeff() 234 c[0] = tmpgain; in computeCoeff() 242 beta = sqrtf(tmpgain) / tmpq; in computeCoeff() 243 tgp1 = tmpgain + 1.0f; in computeCoeff() [all …]
|
/dports/audio/lmms/lmms-1.2.2/plugins/zynaddsubfx/zynaddsubfx/src/Synth/ |
H A D | SUBnote.cpp | 443 float tmpgain = 1.0f / sqrt(envbw * envfreq); in computecurrentparameters() local 451 gain = tmpgain; in computecurrentparameters() 463 gain = tmpgain; in computecurrentparameters()
|
/dports/audio/zynaddsubfx/zynaddsubfx-3.0.6-rc5/src/Synth/ |
H A D | SUBnote.cpp | 490 float tmpgain = 1.0f / sqrt(envbw * envfreq); in computecurrentparameters() local 491 computeallfiltercoefs(lfilter, envfreq, envbw, tmpgain); in computecurrentparameters() 493 computeallfiltercoefs(rfilter, envfreq, envbw, tmpgain); in computecurrentparameters()
|
/dports/audio/yoshimi/yoshimi-2.1.2.2/src/Synth/ |
H A D | SUBnote.cpp | 612 float tmpgain = 1.0f / sqrtf(envbw * envfreq); in computeallfiltercoefs() local 619 gain = tmpgain; in computeallfiltercoefs() 633 gain = tmpgain; in computeallfiltercoefs()
|