The <notehead> element
Parent element: <note>
The notehead type indicates shapes other than the open and closed ovals associated with note durations.
The smufl attribute can be used to specify a particular notehead, allowing application interoperability without requiring every SMuFL glyph to have a MusicXML element equivalent. This attribute can be used either with the “other” value, or to refine a specific notehead value such as “cluster”. Noteheads in the SMuFL Note name noteheads and Note name noteheads supplement ranges (U+E150–U+E1AF and U+EEE0–U+EEFF) should not use the smufl attribute or the “other” value, but instead use the notehead-text element.
For the enclosed shapes, the default is to be hollow for half notes and longer, and filled otherwise. The filled attribute can be set to change this if needed.
If the parentheses attribute is set to yes, the notehead is parenthesized. It is no by default.
Content
notehead-valueAttributes
| Name | Type | Required? | Description |
|---|---|---|---|
| color | color | No | |
| filled | yes-no | No | |
| font-family | font-family | No | |
| font-size | font-size | No | |
| font-style | font-style | No | |
| font-weight | font-weight | No | |
| parentheses | yes-no | No | |
| smufl | smufl-glyph-name | No |
Examples
This element is used in the following examples: