mirror of
https://codeberg.org/armin/mindball.git
synced 2026-09-21 04:17:19 +02:00
fix feedback knob value mapping max
This commit is contained in:
parent
7f6eee0186
commit
2f4d6f8726
1 changed files with 2 additions and 1 deletions
|
|
@ -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))));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue