diff --git a/app/static/js/services/soundfontPlayer.js b/app/static/js/services/soundfontPlayer.js index 3144788..7a128ec 100644 --- a/app/static/js/services/soundfontPlayer.js +++ b/app/static/js/services/soundfontPlayer.js @@ -305,9 +305,8 @@ stopNote: function (channel, pitch) { if (channel < 0 || channel > 15) return; if (_initialized && _fluidModule) { - try { - _fluidModule._fluid_synth_noteoff(_synthPtr, channel, pitch); - } catch (e) {} + try { _fluidModule._fluid_synth_noteoff(_synthPtr, channel, pitch); } catch (e) {} + try { _fluidModule._fluid_synth_cc(_synthPtr, channel, 120, 0); } catch (e) {} } },