muse-sequencer / muse

MusE is a digital audio workstation with support for both Audio and MIDI
https://muse-sequencer.github.io/
Other
634 stars 67 forks source link

Missing sound with fluidsynth when two notes overlap #1258

Open beicause opened 6 months ago

beicause commented 6 months ago

Describe the bug When using fluidsynth track and two notes overlap, the second note will miss a part of sound, only has sound within the overlapping. This bug is more noticeable when using violin/sax, etc.

To Reproduce Steps to reproduce the behavior:

  1. Add audio output, fluidsynth track and midi track.
  2. Draw two notes, press shift and drag to make them overlap.
  3. Play from the start of the first note.

Expected behavior The second note shouldn't miss sound.

Desktop (please complete the following information):

devloop0123 commented 3 months ago

That's not a bug, but just the way note-off works. When a note-off is preceded by two note-ons for the same note, which one should the note-off apply to? Length-of-note is not part of midi messages.