From 2f4d6f87264829ed41f97285003cc35d3417c1d5 Mon Sep 17 00:00:00 2001 From: Armin Date: Wed, 9 Sep 2026 16:36:53 +0200 Subject: [PATCH] fix feedback knob value mapping max --- Source/DelayEngine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/DelayEngine.h b/Source/DelayEngine.h index c7d5bdb..8c92ff4 100644 --- a/Source/DelayEngine.h +++ b/Source/DelayEngine.h @@ -206,7 +206,8 @@ public: wetR *= gR; } - const float g = sFeedback * (1.0f + 0.002f * std::pow (sFeedback, 100.0f)); + const float fb = sFeedback * 0.91f; + const float g = fb * (1.0f + 0.1f * std::pow (fb, 4.0f)); dl.write (inL[i] + softClip (lpL.processLP (hpL.processHP (fbL * g)))); dr.write (inR[i] + softClip (lpR.processLP (hpR.processHP (fbR * g))));