From c54990540d7fd67b6daa97d1c23fb57663988694 Mon Sep 17 00:00:00 2001 From: derselbst Date: Sun, 3 Sep 2017 00:38:55 +0200 Subject: [PATCH] explain myself --- fluidsynth/src/synth/fluid_voice.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fluidsynth/src/synth/fluid_voice.c b/fluidsynth/src/synth/fluid_voice.c index b6b8d95d..f0f9f813 100644 --- a/fluidsynth/src/synth/fluid_voice.c +++ b/fluidsynth/src/synth/fluid_voice.c @@ -890,6 +890,10 @@ fluid_voice_update_param(fluid_voice_t* voice, int gen) * There is a flag, which should indicate, whether a generator is * enabled or not. But here we rely on the default value of -1. * */ + + /* 2017-09-02: do not change the voice's key here, otherwise it will + * never be released on a noteoff event + */ #if 0 x = _GEN(voice, GEN_KEYNUM); if (x >= 0){