You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mx::core parses and serializes <level> completely, but mx::api does not expose it anywhere. An application working through mx::api drops <level> on import and cannot write it on export, wherever it appears:
As a result, the editorial status of any material, its parenthesized/bracketed/sized display, and the reference playback distinction are lost when passing through mx::api. Support should cover all of <level>'s attributes and its content, on every element that carries it.
A use case of particular interest to me is parenthesized and bracketed rests. A rest has no notehead, so <notehead parentheses="yes"> does not really describe it; <level parentheses="yes"/> (or bracket="yes") on the <note> is the encoding the MusicXML community recommends, and mx::api currently cannot write either.
Sorry I didn't get back to you with an example. Generating one, for me, is a chicken-and-egg problem. I was going to go searching for a usable example, but I have been working on a different issue. If you still need an example, let me know.
Activity
Stop writing notehead parentheses on enclosed rests (#185)
webern commentedon Nov 25, 2026
If you have a file that could be condensed to a minimal example, that would be great.
webern commentedon Nov 25, 2026
docs: level element explained (#560)
rpatters1 commentedon Nov 25, 2026
Sorry I didn't get back to you with an example. Generating one, for me, is a chicken-and-egg problem. I was going to go searching for a usable example, but I have been working on a different issue. If you still need an example, let me know.
Update mx to 9fb57380 and write rest and bracket enclosures as <level> (