Description
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. The content of the elision type is used to specify the symbol used to display the elision. Common values are a no-break space (Unicode 00A0), an underscore (Unicode 005F), or an undertie (Unicode 203F).
Derived By
Restricting xs:anyType
Attributes
Content Model
Contains elements as defined in the following table.
Component |
Type |
Occurs |
Default |
Description |
|
|
1..1 |
|
|
|
|
1..1 |
|
|
extend |
extend |
1..1 |
|
The extend type represents lyric word extension / melisma lines as well as figured bass extensions.
|
humming |
empty |
1..1 |
|
The humming element is taken from Humdrum.
|
laughing |
empty |
1..1 |
|
The laughing element is taken from Humdrum.
|
|
|
1..1 |
|
|
syllabic |
syllabic |
0..1 |
|
Lyric hyphenation is indicated by the syllabic type. The single, begin, end, and middle values represent single-syllable words, word-beginning syllables, word-ending syllables, and mid-word syllables, respectively.
|
text |
text-element-data |
1..1 |
|
|
|
|
0..* |
|
|
|
|
0..1 |
|
|
elision |
text-font-color |
1..1 |
|
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.
|
syllabic |
syllabic |
0..1 |
|
Lyric hyphenation is indicated by the syllabic type. The single, begin, end, and middle values represent single-syllable words, word-beginning syllables, word-ending syllables, and mid-word syllables, respectively.
|
|
|
|
|
|
text |
text-element-data |
1..1 |
|
|
|
|
|
|
|
extend |
extend |
0..1 |
|
The extend type represents lyric word extension / melisma lines as well as figured bass extensions.
|
|
|
|
|
|
|
|
|
|
|
end-line |
empty |
0..1 |
|
The end-line element comes from RP-017 for Standard MIDI File Lyric meta-events. It facilitates lyric display for Karaoke and similar applications.
|
end-paragraph |
empty |
0..1 |
|
The end-paragraph element comes from RP-017 for Standard MIDI File Lyric meta-events. It facilitates lyric display for Karaoke and similar applications.
|
|
|
0..1 |
|
|
footnote |
formatted-text |
1..1 |
|
The footnote element specifies editorial information that appears in footnotes in the printed score. It is defined within a group due to its multiple uses within the MusicXML schema.
|
|
|
|
|
|
|
|
0..1 |
|
|
level |
level |
1..1 |
|
The level type is used to specify editorial information for different MusicXML elements.
|
|
|
|
|
|
|
|
|
|
|
Referenced By
Definition
<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. The content of the elision type is used to specify the symbol used to display the elision. Common values are a no-break space (Unicode 00A0), an underscore (Unicode 005F), or an undertie (Unicode 203F).</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="text-font-color" />
<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">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:token">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
</xs:attribute>
<xs:attributeGroup ref="justify" />
<xs:attributeGroup ref="position" />
<xs:attributeGroup ref="placement" />
<xs:attributeGroup ref="color" />
<xs:attributeGroup ref="print-object" />
</xs:complexType>