MuseScore
MuseScore copied to clipboard
[MU4 Issue] Mordents on 16ths or shorter notes ring indefinetly during playback
Describe the bug Mordents (both regular and inverted) are incorrectly played back on 16th notes (and shorter). The note never stops playing.
To Reproduce Steps to reproduce the behavior:
- New file
- Add instrument (I tried with Violin and French Horn)
- Place a 16th note (or an even shorter note)
- Add a mordent via the "Ornaments" palette to the note
- Playback => The mordent is played but then the note is held indefinitely
Note: A regular trill is played correctly (basically you only hear the real note plus once the upper note, since then the time slot for the 16th note already passed during the playback).
Expected behavior Playback of the note should stop after the mordent. One can argue how sensible adding the mordent is if there is not enough time for the note to actually play the mordent out (probably linked to the reason why the playback of the note then gets stuck), but at least the playback should not keep the note ringing indefinitely.
Screenshots If applicable, add screenshots to help explain your problem.
Platform information
- OS: Win10
Additional context Add any other context about the problem here.
At least in my particular case changing from MS Basic to a muse sounds instrument in the mixer fixed the issue. A tremblement in a flute part was causing the issue.
Dev note: this is an issue in OrnamentsRenderer which in this case generates notes with 0 duration (see OrnamentsRenderer::createEvents)
Can have a look at this if nobody else is.