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
11.82k stars 2.57k forks source link

[Musicxml Export] - Confusing staff-distance #22098

Open hhpmusic opened 3 months ago

hhpmusic commented 3 months ago

Issue type

Import/export issue

Bug description

hidden staves.zip

Steps to reproduce

In this example, I'm demonstrating various hidden staves for Musicxml export. Since Musescore still doesn't use part-object print-object="yes/no", I have to evaluate the current staff-distance to see if it fulfills the condition of implementing correct braille exsport. The result is somewhat tricky, so I'm wondering if we still need to stick on this confusing tag. From the exported Musicxml, I learned a positive value means the staff (except the first staff, which is controlled by staff 2's value) is displayed, while a negative value means it's hidden. The problem occurs on the zero value. At the first glance, I thought it means the upper staff is hidden, and the current staff can have notes. Please see oboe part at bar 5 and 9, and violin staff 1 bar 1, where the upper staff does hide. However, at bar 1, violin 2 staff has the value 83, where the first violin staff is actually hidden. So, how can we know which staff is hidden in this case? Does this value confusing? If yes, we should abandon it and use the staff-details print-object="yes/no", otherwise the output, both musicxml import and braille conversion, will bring big confusion. Am I right? Or is there anyone to point out the correct interpretation of this value? This, and the instrument changes, are two blocking stones for my braille transcription, so I hope to make things clear and ask our software developers to implement correct braille output, before we end the dAISY Music Braille Project next year. Thanks!

Haipeng

Screenshots/Screen recordings

No response

MuseScore Version

4.2

Regression

No.

Operating system

Windows

Additional context

No response

zacjansheski commented 3 months ago

@shoogle please take a look