Notehead support for music XML has a few gaps
If I change a note's notehead to "Cross Circle", it renders in my browser as ⓧ (or something pretty close to that).
First issue: if I then export the score as a music XML file, the resulting <notehead> element has a value of "normal". I'd expect something like "circle-x", which aligns with the music XML 4.0 spec (https://www.w3.org/2021/06/musicxml40/musicxml-reference/data-types/notehead-value/) and seems to match the "Cross Circle" notehead that Noteflight allows users to specify.
Second issue: if I then change that music XML file to use the value "circle-x" for that <notehead> element and then re-import it into Noteflight, the note is rendered with a normal notehead.
Use case: I'm working on a project that programmatically inspects compositions to see if they adhere to various rules of music theory, and I'd like a way to let users visually identify which notes have problems. I originally tried to use the "x" notehead, but it doesn't provide a very strong visual indicator for unfilled noteheads (e.g, half and whole notes).
Please sign in to leave a comment.
Comments
0 comments