lyric

The lyric type represents text underlays for lyrics, based on Humdrum with support for other formats. Two text elements that are not separated by an elision element are part of the same syllable, but may have different text formatting. The MusicXML 2.0 XSD is more strict than the 2.0 DTD in enforcing this by disallowing a second syllabic element unless preceded by an elision element. The lyric number indicates multiple lines, though a name can be used as well (as in Finale's verse / chorus / section specification). Justification is center by default; placement is below by default.

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
color color optional
default-x tenths optional
default-y tenths optional
justify left-center-right optional
name xs:token optional
number xs:NMTOKEN optional
placement above-below optional
relative-x tenths optional
relative-y tenths optional

Used By

Element note/lyric

Source

<xs:complexType name="lyric">
  <xs:annotation>
    <xs:documentation>The lyric type represents text underlays for lyrics, based on Humdrum with support for other formats. Two text elements that are not separated by an elision element are part of the same syllable, but may have different text formatting. The MusicXML 2.0 XSD is more strict than the 2.0 DTD in enforcing this by disallowing a second syllabic element unless preceded by an elision element. The lyric number indicates multiple lines, though a name can be used as well (as in Finale's verse / chorus / section specification). Justification is center by default; placement is below by default.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:choice>
      <xs:sequence>
        <xs:element name="syllabic" type="syllabic" minOccurs="0"/>
        <xs:element name="text" type="text-element-data"/>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:sequence minOccurs="0">
            <xs:element name="elision" type="elision"/>
            <xs:element name="syllabic" type="syllabic" minOccurs="0"/>
          </xs:sequence>
          <xs:element name="text" type="text-element-data"/>
        </xs:sequence>
        <xs:element name="extend" type="extend" minOccurs="0"/>
      </xs:sequence>
      <xs:element name="extend" type="extend"/>
      <xs:element name="laughing" type="empty">
        <xs:annotation>
          <xs:documentation>The laughing element is taken from Humdrum.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="humming" type="empty">
        <xs:annotation>
          <xs:documentation>The humming element is taken from Humdrum.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
    <xs:element name="end-line" type="empty" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The end-line element comes from RP-017 for Standard MIDI File Lyric meta-events. It facilitates lyric display for Karaoke and similar applications.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="end-paragraph" type="empty" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The end-paragraph element comes from RP-017 for Standard MIDI File Lyric meta-events. It facilitates lyric display for Karaoke and similar applications.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:group ref="editorial"/>
  </xs:sequence>
  <xs:attribute name="number" type="xs:NMTOKEN"/>
  <xs:attribute name="name" type="xs:token"/>
  <xs:attributeGroup ref="justify"/>
  <xs:attributeGroup ref="position"/>
  <xs:attributeGroup ref="placement"/>
  <xs:attributeGroup ref="color"/>
</xs:complexType>