Musescore export musicxml rest element with default-x position
In the current musicxml format, it doesn't include rest notes position to indicate the correct position automatically. How do musescore export file in musicxml that include default-x and default-y position which can be useful for web development as in the rest node below?
< note >
< rest / >
< duration > 1 < / duration >
< voice > 1 < / voice >
< type > quarter < / type >
< / note >
to
< note default-x = " 70.00 " default-y = " 30.00 " >
< rest / >
< duration > 1 < / duration >
< voice > 1 < / voice >
< type > quarter < / type >
< / note >
Comments
If you want to take a look yourself, see https://github.com/musescore/MuseScore/blob/bdbaf5a27e8b45f1f193303fd35…
It's done for notes here: https://github.com/musescore/MuseScore/blob/bdbaf5a27e8b45f1f193303fd35…
In reply to If you want to take a look by [DELETED] 5
The links don't seem to related to any whole, half, quarter, eighth rest notes, etc.
I guess you have misread it?
In reply to The links don't seem to by proyb2
MuseScore currently does not export default-x/y for rests. Vertical position is encoded using display-step and display octave.
If you want, you can take a look to the code I linked and add the support yourself.
update
See https://github.com/musescore/MuseScore/pull/9955
And #34451: Include default-x and default-y for Rests