MusicXML 4.1 Draft
< >elements
@attributes
MusicXML 4.1 Draft>Elements>The <notehead> element

The <notehead> element

Parent element: <note>

The <notehead> element 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 Standard Music Font Layout (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 range and Note name noteheads supplement range (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.

Content

notehead-value

Attributes

NameTypeRequired?(Default)Description
colorcolorNoIndicates the color of an element.
Indicates the color of an element.
filledyes-noNoChanges the appearance of enclosed shapes from the default of hollow for half notes and longer, and filled otherwise.
Changes the appearance of enclosed shapes from the default of hollow for half notes and longer, and filled otherwise.
font-familyfont-familyNoA comma-separated list of font names.
A comma-separated list of font names.
font-sizefont-sizeNoOne of the CSS sizes or a numeric point size.
One of the CSS sizes or a numeric point size.
font-stylefont-styleNoNormal or italic style.
Normal or italic style.
font-weightfont-weightNoNormal or bold weight.
Normal or bold weight.
parenthesesyes-noNoIf yes, the notehead is parenthesized. It is no if not specified.
If yes, the notehead is parenthesized. It is no if not specified.
smuflsmufl-glyph-nameNoIndicates a particular Standard Music Font Layout (SMuFL) character using its canonical glyph name. Sometimes this is a formatting choice, and sometimes this is a refinement of the semantic meaning of an element.
Indicates a particular Standard Music Font Layout (SMuFL) character using its canonical glyph name. Sometimes this is a formatting choice, and sometimes this is a refinement of the semantic meaning of an element.

Examples

This element is used in the following examples:

<artificial><with-bar>Tutorial: Percussion