fix: actually run the 250ms voice fade-out on preset change

triggerQuickRelease only set the fade step, leaving quickFade at 1.0, so
the decrement gate (quickFade < 1.0f) never triggered and only the amp
envelope's long release played out. Gate on quickFadeStep > 0 instead so
the 250ms ramp runs and the voice is freed at the end.
This commit is contained in:
Armin 2026-07-14 13:55:56 +02:00
commit f2f53d25d3

View file

@ -84,7 +84,7 @@ public:
}
// Per-voice quick fade (triggered on preset change)
if (quickFade < 1.0f)
if (quickFadeStep > 0.0f)
quickFade = std::max(0.0f, quickFade - quickFadeStep);
// LFO outputs