Skip to content

What's the purpose of clefs array in the beginning of the measures array? #343

Discussion options

You must be logged in to vote

Hello — please see the example document called "Clef changes":
https://w3c.github.io/mnx/docs/mnx-reference/examples/clef-changes/

That "clefs" array is a list of clefs with their rhythmic positions — positioned clef objects.

Yes, it is indeed possible for the clef to change in the middle of a score, even in the middle of a measure. Our lives would be much easier if this weren't the case.

We haven't yet specified how to encode clefs for multi-stave instruments, such as a piano grand staff. MusicXML does this via the "number" attribute on the clef object, and I imagine MNX will do something similar.

(I'm going to convert this to a GitHub discussion thread, since it's more of a question as …

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by GeorgeTailor
Comment options

You must be logged in to vote
13 replies
@ahankinson
Comment options

@mscuthbert
Comment options

@GeorgeTailor
Comment options

@adrianholovaty
Comment options

@ahankinson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #341 on May 30, 2024 13:02.