MusicXML 4.1 Draft >
MusicXML reference >
Elements >
line
The <line> element
Parent elements:
<clef>,
<part-clef>
Line numbers are counted from the bottom of the staff. They are only needed with the G, F, and C signs in order to position a pitch correctly on the staff. Standard values are 2 for the G sign (treble clef), 4 for the F sign (bass clef), and 3 for the C sign (alto clef). Line values can be used to specify positions outside the staff, such as a C clef positioned in the middle of a grand staff.
Content
staff-line-position
Attributes
None.
Examples
This element is used in the following examples:
<assess> and <player>, <attributes>, <concert-score> and <for-part>, <double>, <instrument-change>, <line-detail>, <line>, <measure-distance>, <part-symbol>, <pedal> (Lines), <score-timewise>, <staff-type>, <staves>, Alto Clef, Baritone C Clef, Baritone F Clef, Bass Clef, Bass Clef (Down Octave), Mezzo Soprano Clef, Soprano Clef, TAB Clef, Tenor Clef, Treble Clef, Tutorial: Après un rêve, Tutorial: Chopin Prelude, Tutorial: Chord Symbols, Tutorial: Hello, World, Tutorial: Percussion, Tutorial: Tablature, Vocal Tenor Clef