musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.22k stars 2.65k forks source link

Glissandi where the end note has the "play" flag off play back incorrectly via muse sampler #23880

Open wizofaus opened 2 months ago

wizofaus commented 2 months ago

Issue type

Muse Sounds bug

Description with steps to reproduce

  1. Create a score using, e.g. Muse Strings, with 3 notes all at different pitches and add a glissando line between the first two.
  2. Confirm the playback is as expected
  3. Now turn off the "play" flag for the middle note.
  4. Repeat playback - observe that the glissando is played between the wrong notes. This happens even if a rest is placed before the 3rd note.

Supporting files, videos and screenshots

https://musescore.com/user/7209246/scores/20045797/s/vsx8fa

Comparison of MS Basic gliss to note with play-flag off vs Muse Sounds (happens with almost any library etc.)

What is the latest version of MuseScore Studio where this issue is present?

4.4

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

Windows 11

Additional context

Have reported via Muse Hub but it does appear to be an issue in the playback rendering code inside MuseScore itself, as it never sends any information about the silent note to the sampler. Doesn't happen with MS Basic. Note that what I'm trying to achieve is a glissando that doesn't end on a sustained pitch at all, i.e. a "fall off".

Checklist

bkunda commented 2 months ago

I think we do really need to see an example score of what you'd like to achieve to best understand this issue.

Please attach a screenshot (as required by the issue template).

wizofaus commented 2 months ago

Have provided link to minimal example demonstrating the issue.