A note head with shape and fill information belonging to a Note.
The shape type given from XML. See https://usermanuals.musicxml.com/MusicXML/Content/ST-MusicXML-notehead-value.htm
The XML flag to fill the note shape. Can be undefined if not included in XML. If undefined, the filled parameter will be calculated by note duration (d < half note => filled)
shape of the note head (normal, square, triangle, etc.)
the Note this NoteHead belongs to.
Sets the note head's shape from XML parameters.
The XML shape.
the filled parameter as given in XML. Can be undefined if not given in XML or if it should be calculated from note duration. If undefined, this.sourceNote should not be undefined.
Converts xml attribute to NoteHeadShape. Necessary because "circle-x" is not a valid enum member name.
Generated using TypeDoc