You are here: MusicXML Reference > Score Schema (XSD) > Elements > Element: first-fret

Element: first-fret

Description

The first-fret type indicates which fret is shown in the top space of the frame; it is fret 1 if the element is not present.

Derived By

Type first-fret

Attributes
Name  Type  Required?  Default  Description 
text  xs:token  No  The first-fret type indicates which fret is shown in the top space of the frame; it is fret 1 if the element is not present. The optional text attribute indicates how this is represented in the fret diagram.
location  left-right  No  The location attribute indicates whether the text appears to the left or right of the frame.
Content Model

Contains text only.

Referenced By
Example

      <harmony default-y="110" font-family="Arial">
        <root>
          <root-step>A</root-step>
        </root>
        <kind halign="center" text="">major</kind>
        <frame default-y="93" halign="center" unplayed="x" valign="top">
          <frame-strings>6</frame-strings>
          <frame-frets>5</frame-frets>
          <first-fret location="right" text="12fr.">12</first-fret>
          <frame-note>
            <string>5</string>
            <fret>12</fret>
            <barre type="start"/>
          </frame-note>
          <frame-note>
            <string>4</string>
            <fret>14</fret>
            <barre type="start"/>
          </frame-note>
          <frame-note>
            <string>3</string>
            <fret>14</fret>
          </frame-note>
          <frame-note>
            <string>2</string>
            <fret>14</fret>
            <barre type="stop"/>
          </frame-note>
          <frame-note>
            <string>1</string>
            <fret>12</fret>
            <barre type="stop"/>
          </frame-note>
        </frame>
      </harmony>

Definition

See frame

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301