Re: [musicxml] Allow specification of SMuFL unique glyph names for accidentals

Here is a proposal for implementing this feature:

- Add an `<xs:enumeration value="other"/>` to the accidental-value 
simple type.
- Add an `<xs:attribute name="smufl" type="xs:NMTOKEN"/>` to the 
accidental, accidental-mark, and accidental-text complex types. The 
content of this attribute would be a SMuFL canonical name - not a code
 point - from within the SMuFL accidental ranges.
- Add a new "key-accidental" complex type that includes the smufl 
attribute. This would look like the accidental and accidental-mark 
complex types, but with a single smufl attribute in addition to the 
accidental-value simple content.
- Change the type of the key-accidental element within the 
non-traditional-key group from accidental-value to key-accidental.

This will cover all the current uses of accidental symbols, 
represented by the accidental-value simple type, within the MusicXML 
format. The DTDs would be updated in parallel with the XSD changes.

If desired, we could create a smufl simple type to be used by all of 
the smufl attributes, in case we want to change the definition from 
xs:NMTOKEN in the future.

The smufl attribute may be used with any enumeration value as 
appropriate, not just the other value. For example, the smufl value 
accidentalNarrowReversedFlat could be used together with the 
quarter-flat accidental-value to indicate a specific appearance of the
 quarter-flat accidental.

Comments and suggestions are most welcome!

-- 
GitHub Notification of comment by mdgood
Please view or discuss this issue at 
https://github.com/w3c/musicxml/issues/109#issuecomment-203549029 
using your GitHub account

Received on Wednesday, 30 March 2016 17:48:46 UTC