Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enclosure attribute problems in <direction> #519

Open
lemzwerg opened this issue May 25, 2024 · 1 comment
Open

enclosure attribute problems in <direction> #519

lemzwerg opened this issue May 25, 2024 · 1 comment

Comments

@lemzwerg
Copy link
Contributor

IMHO, the current situation with the enclosure attribute within <direction> is ... suboptimal in MusicXML, to say it politely.

  1. Because various <direction-type> elements can be grouped together, the decision that only some children have an enclosure attribute looks arbitrary. For example, I can have a boxed 'molto f', but I cannot have a boxed coda sign (for example, to construct a boxed version of
    image

  2. It is undefined whether consecutive elements that have the enclosure attribute set are put together into a single box or not; see multiple `<rehearsal>` children in a single `<direction-type>` element #518 for examples.

As a remedy for item 1, please either add more enclosure attributes to <direction-type> children or document the intended usage of the elements so that it is clear from the description why it doesn't have this attribute.

For item 2 I'm waiting for @mscuthbert's forthcoming proposal of an enclosure-break attribute 🙂

Regarding a boxed 'molto f': code like

<direction>
  <direction-type>
    <words enclosure="rectangle">molto </words>
  </direction-type>
  <direction-type>
    <dynamics>
      <f/>
    </dynamics>
  </direction-type>
</direction>

fails completely in pre-4.4.0 MuseScore:
image
and Finale 27 cannot correctly cope with the 'rectangle' value:
image

@lemzwerg
Copy link
Contributor Author

@mscuthbert, any news from your proposal for an enclosure-break proposal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant