make *2 for preemphasis out

This commit is contained in:
2025-01-24 18:07:32 +01:00
parent f5b6a12486
commit efd83adf39
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -139,10 +139,10 @@ int main() {
#ifdef PREEMPHASIS
#ifdef LPF
float lowpassed = apply_low_pass_filter(&lpf, in);
float preemphasized = apply_pre_emphasis(&preemp, lowpassed);
float preemphasized = apply_pre_emphasis(&preemp, lowpassed)*2;
float current_input = hard_clip(preemphasized);
#else
float preemphasized = apply_pre_emphasis(&preemp, in);
float preemphasized = apply_pre_emphasis(&preemp, in)*2;
float current_input = hard_clip(preemphasized);
#endif
#else