MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <fret> element

The <fret> element

Parent elements: <frame-note><technical>

The fret element is used with tablature notation and chord diagrams. Fret numbers start with 0 for an open string and 1 for the first fret.

Content

xs:nonNegativeInteger

Attributes

Name Type Required? Description
color color No
font-family font-family No
font-size font-size No
font-style font-style No
font-weight font-weight No

Examples

This element is used in the following examples:

<barre><bend><fingering> (Frame)<fret> (Frame)<pluck><pre-bend><release><tap><technical> (Tablature)Tutorial: Chord SymbolsTutorial: Tablature