MusicXML import - misalignment of title text

• Sep 10, 2020 - 19:41

Summary: When certain MusicXML files, carrying a title object, are opened the title appears centered at the top of the score. But if the score is saved as an MSCx file, and that file opened, the title text is at the left margin.
******
Often in a MusicXML file, the title (in the on-score text, not metadata, sense) is carried in a credit element. There is a Credit type:title sub-element. The title text is in a credit-words sub-element. That includes the attributes default-x and default-y, which give the coordinates at which the text is expected to be placed.

When such a MusicXML file is opened in MuseScore, the title text appears on the reconstructed score centered at the top of the page (as would be for a title actually applied in a score constructed in MuseScore).

When that score is saved, in the MSCx file this object is carried in a VBox element, associated with the first staff, with the title text in a Text subelement, in a text subelement of that. The Text subelement does not include a style:Title subelement (as would the VBox element for the title in a MusicXML file exported from a MuseScore score in which a title had been included).

The result is that if we open that MSCx file, the title text appears at the top left corner of the score page margins.

It would seem desirable that in such a case, with the title element clearly tagged as such in the MusicXML file, the MSCx file would tag the resulting VBox element with a style:Title subelement, which I think would cause this text to be placed on the score in the normal location for the title.

A wholly parallel situation obtains with regard to the subtitle, if present.

Attached is a test MusicXML file (with both title and subtitle objects) that can be used to demonstrate this situation.

Doug

Attachment Size
Test_items_test-2052.musicxml 6.97 KB

Comments

Thanks for your post Doug.

I've noticed the same issue with title placement when opening MusicXML and saving to MuseScore format.

MuseScore 3.5.0.28145 Alpha rfb3c202

In reply to by Jojo-Schmitz

Thanks!

Sure enough, the stable 3.5.0 release came out Aug 6. My original download was on August 3rd so got the Alpha.

I ran the update check regularly and over the last few weeks, after 3.5.0.28145 the checker always said I was up to date. Does the Alpha update checker only looking for the most recent alpha?? If so, nice if it also informs about available stable updates.

Thanks again,

scorster

Do you still have an unanswered question? Please log in first to post your question.