The <notehead> element.

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.

Hierarchy

  • Notehead

Implements

Constructors

Properties

attributes: NoteheadAttributes
schema: XMLElementSchema<"notehead"> = Notehead.schema
schema: XMLElementSchema<"notehead"> = schema.Notehead

Methods

  • Gets

    Returns null | number | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | "xx-large"

  • Gets

    Returns "none" | "other" | "normal" | "rectangle" | "square" | "triangle" | "diamond" | "slash" | "cross" | "x" | "circle-x" | "inverted triangle" | "arrow down" | "arrow up" | "circled" | "slashed" | "back slashed" | "cluster" | "circle dot" | "left triangle" | "do" | "re" | "mi" | "fa" | "fa up" | "so" | "la" | "ti"

  • Sets

    Parameters

    • noteheadValue: "none" | "other" | "normal" | "rectangle" | "square" | "triangle" | "diamond" | "slash" | "cross" | "x" | "circle-x" | "inverted triangle" | "arrow down" | "arrow up" | "circled" | "slashed" | "back slashed" | "cluster" | "circle dot" | "left triangle" | "do" | "re" | "mi" | "fa" | "fa up" | "so" | "la" | "ti"

    Returns Notehead

Generated using TypeDoc