Sustain should sustain notes after their note-off #1214
Replies: 3 comments 4 replies
-
Section 9.2 of the SoundFont2 spec says:
And this is exactly how it's implemented in fluidsynth. The "key-off" immediately enters the release phase of the AHDSR envelope - there is no way of "going back" in the envelope. This is also the behavior I perceive from my EMU synths. I do perceive the behavior you've described from my Roland ePiano - however, only for the piano based sounds (Harpsichord, Piano, ePiano, Vibraphone, etc.), but not for strings or pipe organs.
I don't see a simple solution for this, as the solution must fit into the SF2 synth model and deal with all kinds of different tunes and not just a piano. Yet, if you have a simple idea, you're welcome to prove me wrong and we might consider implementing it. |
Beta Was this translation helpful? Give feedback.
-
Sustain should sustain notes after notes off |
Beta Was this translation helpful? Give feedback.
-
I have just tried to use fluidsynth's sustain with an sf2 piano sound font. Basically fluidsynth's sustain DOES NOTHING as the notes behave and sound exactly the same whether sustain is on or off. |
Beta Was this translation helpful? Give feedback.
-
On a real piano, if one releases a key and then quickly depresses the sustain pedal, the remaining vibrations from that note will be sustained. A midi keyboard I have simulates that behavior. However, with fluidsynth the note keeps attenuating quickly just as if the sustain wasn't pressed.
I understand that a fully realistic sustain behavior (resonances, etc) might be out-of-scope for fluidsynth. However, this particular aspect of the way sustain works should be rather simple to introduce.
Is this something that we may see implemented in fluidsynth? Should I open an issue?
Here's somebody else ran into the same issue: https://linuxmusicians.com/viewtopic.php?t=18829
Beta Was this translation helpful? Give feedback.
All reactions