MusicXML import - untyped credit elements

• Nov 19, 2020 - 20:13

Notation programs typically will encode a general page-oriented text object into a MusicXML file as an untyped credit element. I encourage that approach.

I suggest consideration be given to what I describe below for MuseScore's handling of such elements in an imported MusicXML file. It is predicated on my assumption (perhaps unwarranted) that MuseScore can most readily handle text objects within the existing paradigm of their always being associated with frames.

  1. If the untyped credit element is on page 1, and there is a Title frame on page 1: Associate the text object described by the credit element with that Title frame; give the text object the location described by the coordinate attributes in the element, with alignment as defined by the alignment attributes in the element; do not expand the frame to embrace the text object.

  2. If the untyped credit element is on other than page 1, or is on page 1 but there is no Title frame on page 1: Create a vertical frame of the smallest practical height at the top of the page of interest; associate the text object described by the credit element with that frame; give the text object the location described by the coordinate attributes in the element with alignment as defined by the alignment attributes in the element; do not expand the frame to embrace the text object.

As an aside, it looks as if a vertical frame can have a zero height (even a negative height)!

Just a thought.

Doug

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