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.33k stars 2.66k forks source link

Unexpected dynamic behavior of hairpins crossing into repeated sections #25007

Open madamtoast opened 1 month ago

madamtoast commented 1 month ago

Issue type

General playback bug (MS Basic)

Description with steps to reproduce

  1. Go to Bar 95.
  2. Remove repeat barline and see that flute, oboe, Bb clarinet, bassoon, and horn play normally.
  3. Add repeat barline. Expected behavior is that the above instruments play correctly. Instead, they suddenly decrease and become almost inaudible.

Behavior occurs when I duplicate the project and manually add a bar around that region. It doesn't happen elsewhere in the score, nor does it happen when I copy that outside the region.

Supporting files, videos and screenshots

The Meadow.mscz.zip

See comment for screenshot.

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

4.4.2.242570931

Regression

I was unable to check

Operating system

macOS 12.7.5

Additional context

Similar to this bug, but plays softer instead of louder. Also, it happens at the end of the first repeat, not the beginning of the second.

Checklist

madamtoast commented 1 month ago

https://github.com/user-attachments/assets/d970f276-d090-4256-96f2-9f64a019794a

Screen recording of the bug.

zacjansheski commented 1 month ago

This issue seems more obvious in MS Basic than in MuseSounds

zacjansheski commented 1 month ago

The cause seems to be the hairpins preceding the repeated section

zacjansheski commented 1 month ago

Issue present in all versions of MS4

https://github.com/user-attachments/assets/8cf0b23b-a039-45b9-ac89-df5640485efb