<!-- header_tag --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> <html> <!-- Created on January 20, 2009 by texi2html 1.79 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> Olaf Bachmann <obachman@mathematik.uni-kl.de> and many others. Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> <title>Unofficial MusicXML test suite</title> <meta name="description" content="Unofficial MusicXML test suite"> <meta name="keywords" content="Unofficial MusicXML test suite"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 1.79"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="#Top" rel="start" title="Unofficial MusicXML test suite"> <link href="#SEC_About" rel="help" title="About This Document"> <link rel="stylesheet" type="text/css" title="Patrick McCarty's design" href="lilypond-mccarty.css"> <link rel="alternate stylesheet" type="text/css" href="lilypond.css" title="Andrew Hawryluk's design"> <link rel="alternate stylesheet" type="text/css" href="lilypond-blue.css" title="Kurt Kroon's blue design"> <!--[if lte IE 7]> <link href="lilypond-ie-fixes.css" rel="stylesheet" type="text/css"> <![endif]--> </head> <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> <div id="main"> <a name="Top"></a> <table class="nav_table"> <tr><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td></tr></table> <a name="Top"></a> <h1 class="settitle">Unofficial MusicXML test suite</h1> <table class="menu" border="0" cellspacing="0"> <tr><td align="left" valign="top"><a href="#Introduction" accesskey="1">1. Introduction</a></td><td> </td><td align="left" valign="top"> </td></tr> <tr><td align="left" valign="top"><a href="#Test-cases" accesskey="2">2. Test cases</a></td><td> </td><td align="left" valign="top"> </td></tr> </table> <hr size="1"> <a name="Introduction"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Top" title="Beginning of this chapter or previous chapter"> << Top </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="#Test-cases" title="Next chapter"> Test cases >> </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Top" title="Previous section in reading order" accesskey="p" rel="previous"> < Top </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Top" title="Up section" accesskey="u" rel="up"> Up : Top </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> Test cases > </a>]</td></tr></table> <a name="Introduction"></a> <h1 class="chapter">1. Introduction</h1> <a name="Why-a-MusicXML-test-suite_003f"></a> <h2 class="heading">Why a MusicXML test suite?</h2> <p>This test suite of sample <a href="http://www.musicxml.org/">MusicXML</a> files is supposed to fill a severe gap for all developers implementing MusicXML support in their application: There is no complete test suite of MusicXML files available for testing purposes. </p> <a name="Downloading-the-test-suite"></a> <h2 class="heading">Downloading the test suite</h2> <p>The complete set of MusicXML test files contained in this suite can be downloaded <a href="MusicXML-TestSuite-0.1.zip">here</a> as a ZIP archive. </p> <a name="Connection-with-http_003a_002f_002fwww_002elilypond_002eorg_002f_002cLilyPond"></a> <h2 class="heading">Connection with <a href="http://www.lilypond.org/">LilyPond</a></h2> <p>At the same time as providing a generic test suite for MusicXML document, this test suite also serves as proofs for the musicxml2ly script provided with LilyPond 2.12.2. The images shown in the <a href="#Test-cases">Test cases</a> chapter were generated by running <code>musicxml2ly</code> and <code>lilypond</code> on the MusicXML files. As <code>musicxml2ly</code> does not yet perfectly support every single aspect of MusicXML, the output is not supposed to be used as a definitive reference rendering, but rather as an indication how one particular application supports and interprets each of the test files. </p> <p>If something does not seem right in the output, it might either be that this feature has not been implemented yet, has been wrongly implemented, or a regression has crept in recently... </p> <p>In the web version of this document, you can click on the file name or figure for each example to see the corresponding .ly intermediary file. </p> <a name="Structure-of-this-test-suite"></a> <h2 class="heading">Structure of this test suite </h2> <p>Each test file (typically hand-crafted from the MusicXML "specification") checks one particular aspect of MusicXML. A short description of the particular feature for a file is given element inside the file in a comment element of the form: </p><blockquote><pre class="example"><pre class="example"> <identification><miscellaneous> <miscellaneous-field name="description"> .... </miscellaneous-field> </miscellaneous></identification> </pre></pre></blockquote> <p>The files are categorized by their first two digits with the following meaning: </p><ul> <li> 01-03 ... Basics: Pitches, Rests, Rhythm </li><li> 11-13 ... Staff attributes: Time signatures, Clefs, Key signatures </li><li> 21-24 ... Note settings: Chorded notes, note heads, tuplets, grace notes </li><li> 31-33 ... Notations and articulations: Dynamics (staff-attached), Notations (note-attached), Spanners </li><li> 41-44 ... Parts: Multiple parts, multi-voice parts, multi-staff parts </li><li> 45-46 ... Measure issues and repeats </li><li> 51-52 ... Page issues: Header fields, page layout </li><li> 55-59 ... Exact positioning of items, offsets, etc. </li><li> 61-69 ... Vocal music </li><li> 71-75 ... Instrument-specific: Guitar (Chord, fretboards), Transposing instruments, Percussion, Figured Bass, Others </li><li> 81-89 ... MIDI generation (all sound-related issues) </li><li> 90-99 ... Various Other: Compressed MusicXML files, compatibility with broken MusicXML files exported by other applications </li></ul> <p>Some of the catetories (in particular the exact item positioning and the MIDI generation don’thave any test cases yet. </p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Introduction" title="Beginning of this chapter or previous chapter"> << Introduction </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Introduction" title="Previous section in reading order" accesskey="p" rel="previous"> < Introduction </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Top" title="Up section" accesskey="u" rel="up"> Up : Top </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <a name="Test-cases"></a> <h1 class="chapter">2. Test cases</h1> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < Test cases </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">01 ... Pitches</h2> <a name="01a-Pitches-Pitches.ly"></a> <a href="80/lily-7d17dda7.ly"><p>‘<tt>01a-Pitches-Pitches.ly</tt>’ </a> All pitches from G to c”” in ascending steps; First without accidentals, then with a sharp and then with a flat accidental. Double alterations and cautionary accidentals are tested at the end. <p> <a href="80/lily-7d17dda7.ly"> <img align="middle" border="0" src="80/lily-7d17dda7.png" alt="[image of music]"> </a> </p></p> <a name="01b-Pitches-Intervals.ly"></a> <a href="76/lily-fcbbc9d5.ly"><p>‘<tt>01b-Pitches-Intervals.ly</tt>’ </a> All pitch intervals in ascending jump size. <p> <a href="76/lily-fcbbc9d5.ly"> <img align="middle" border="0" src="76/lily-fcbbc9d5.png" alt="[image of music]"> </a> </p></p> <a name="01c-Pitches-NoVoiceElement.ly"></a> <a href="54/lily-155167e3.ly"><p>‘<tt>01c-Pitches-NoVoiceElement.ly</tt>’ </a> The <voice> element of notes is optional in MusicXML (although Dolet always writes it out). Here, there is one note with lyrics, but without a voice assigned. It should still be correctly converted. <p> <a href="54/lily-155167e3.ly"> <img align="middle" border="0" src="54/lily-155167e3.png" alt="[image of music]"> </a> </p></p> <a name="01d-Pitches-Microtones.ly"></a> <a href="ef/lily-d5566ac6.ly"><p>‘<tt>01d-Pitches-Microtones.ly</tt>’ </a> Some microtones: c flat-and-a-half, d half-flat, e half-sharp, f sharp-and-a half. Once in the lower and once in the upper region of the staff. <p> <a href="ef/lily-d5566ac6.ly"> <img align="middle" border="0" src="ef/lily-d5566ac6.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">02 ... Rests</h2> <a name="02a-Rests-Durations.ly"></a> <a href="1a/lily-bfd79a01.ly"><p>‘<tt>02a-Rests-Durations.ly</tt>’ </a> All different rest lengths: A two-bar multi-measure rest, a whole rest, a half, etc. until a 128th-rest; Then the same with dotted durations. <p> <a href="1a/lily-bfd79a01.ly"> <img align="middle" border="0" src="1a/lily-bfd79a01.png" alt="[image of music]"> </a> </p></p> <a name="02b-Rests-PitchedRests.ly"></a> <a href="e2/lily-a8d4096a.ly"><p>‘<tt>02b-Rests-PitchedRests.ly</tt>’ </a> Rests can have explicit pitches, where they are displayed. The first rest uses no explicit position and should use the default position, all others are explicitly positioned somewhere else. <p> <a href="e2/lily-a8d4096a.ly"> <img align="middle" border="0" src="e2/lily-a8d4096a.png" alt="[image of music]"> </a> </p></p> <a name="02c-Rests-MultiMeasureRests.ly"></a> <a href="e7/lily-3e4f17b3.ly"><p>‘<tt>02c-Rests-MultiMeasureRests.ly</tt>’ </a> Four multi-measure rests: 3 measures, 15 measures, 1 measure, and 12 measures. <p> <a href="e7/lily-3e4f17b3.ly"> <img align="middle" border="0" src="e7/lily-3e4f17b3.png" alt="[image of music]"> </a> </p></p> <a name="02d-Rests-Multimeasure-TimeSignatures.ly"></a> <a href="66/lily-48883c09.ly"><p>‘<tt>02d-Rests-Multimeasure-TimeSignatures.ly</tt>’ </a> Multi-Measure rests should always be converted into durations that are a multiple of the time signature. <p> <a href="66/lily-48883c09.ly"> <img align="middle" border="0" src="66/lily-48883c09.png" alt="[image of music]"> </a> </p></p> <a name="02e-Rests-NoType.ly"></a> <a href="1b/lily-6529dcb6.ly"><p>‘<tt>02e-Rests-NoType.ly</tt>’ </a> In some cases, a rest might not have its type attribute set (this happens, for example, with voices in Finale, where you don’t manually insert a rest). <p> <a href="1b/lily-6529dcb6.ly"> <img align="middle" border="0" src="1b/lily-6529dcb6.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">03 ... Rhythm</h2> <a name="03a-Rhythm-Durations.ly"></a> <a href="8c/lily-54c11b57.ly"><p>‘<tt>03a-Rhythm-Durations.ly</tt>’ </a> All note durations, from long, brevis, whole until 128th; First with their plain values, then dotted and finally doubly-dotted. <p> <a href="8c/lily-54c11b57.ly"> <img align="middle" border="0" src="8c/lily-54c11b57.png" alt="[image of music]"> </a> </p></p> <a name="03b-Rhythm-Backup.ly"></a> <a href="b3/lily-6fda99d0.ly"><p>‘<tt>03b-Rhythm-Backup.ly</tt>’ </a> Two voices with a backup, that does not jump to the beginning for the measure for voice 2, but somewhere in the middle. Voice 2 thus won’t have any notes or rests for the first beat of the measures. <p> <a href="b3/lily-6fda99d0.ly"> <img align="middle" border="0" src="b3/lily-6fda99d0.png" alt="[image of music]"> </a> </p></p> <a name="03c-Rhythm-DivisionChange.ly"></a> <a href="63/lily-9cfa4ba5.ly"><p>‘<tt>03c-Rhythm-DivisionChange.ly</tt>’ </a> Although uncommon, the divisions of a quarter note can change somewhere in the middle of a MusicXML file. Here, the first half measure uses a division of 1, which then changes to 8 in the middle of the first measure and to 38 in the middle of the second measure. <p> <a href="63/lily-9cfa4ba5.ly"> <img align="middle" border="0" src="63/lily-9cfa4ba5.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">11 ... Time signatures</h2> <a name="11a-TimeSignatures.ly"></a> <a href="15/lily-0e5f7490.ly"><p>‘<tt>11a-TimeSignatures.ly</tt>’ </a> Various time signatures: 2/2 (alla breve), 4/4 (C), 2/2, 3/2, 2/4, 3/4, 4/4, 5/4, 3/8, 6/8, 12/8 <p> <a href="15/lily-0e5f7490.ly"> <img align="middle" border="0" src="15/lily-0e5f7490.png" alt="[image of music]"> </a> </p></p> <a name="11b-TimeSignatures-NoTime.ly"></a> <a href="1a/lily-fd891180.ly"><p>‘<tt>11b-TimeSignatures-NoTime.ly</tt>’ </a> A score without a time signature (but with a key and clefs) <p> <a href="1a/lily-fd891180.ly"> <img align="middle" border="0" src="1a/lily-fd891180.png" alt="[image of music]"> </a> </p></p> <a name="11c-TimeSignatures-CompoundSimple.ly"></a> <a href="5d/lily-204ebfe6.ly"><p>‘<tt>11c-TimeSignatures-CompoundSimple.ly</tt>’ </a> Compound time signatures with same denominator: (3+2)/8 and (5+3+1)/4. <p> <a href="5d/lily-204ebfe6.ly"> <img align="middle" border="0" src="5d/lily-204ebfe6.png" alt="[image of music]"> </a> </p></p> <a name="11d-TimeSignatures-CompoundMultiple.ly"></a> <a href="da/lily-7fdc3040.ly"><p>‘<tt>11d-TimeSignatures-CompoundMultiple.ly</tt>’ </a> Compound time signatures with separate fractions displayed: 3/8+2/8+3/4 and 5/2+1/8. <p> <a href="da/lily-7fdc3040.ly"> <img align="middle" border="0" src="da/lily-7fdc3040.png" alt="[image of music]"> </a> </p></p> <a name="11e-TimeSignatures-CompoundMixed.ly"></a> <a href="18/lily-3508dd46.ly"><p>‘<tt>11e-TimeSignatures-CompoundMixed.ly</tt>’ </a> Compound time signatures of mixed type: (3+2)/8+3/4. <p> <a href="18/lily-3508dd46.ly"> <img align="middle" border="0" src="18/lily-3508dd46.png" alt="[image of music]"> </a> </p></p> <a name="11f-TimeSignatures-SymbolMeaning.ly"></a> <a href="58/lily-2630d10c.ly"><p>‘<tt>11f-TimeSignatures-SymbolMeaning.ly</tt>’ </a> A time signature of 3/8 with the symbol="cut" attribute and two symbol="single-number" attributes with compound time signatures. Shall the symbol be ignored in this case? <p> <a href="58/lily-2630d10c.ly"> <img align="middle" border="0" src="58/lily-2630d10c.png" alt="[image of music]"> </a> </p></p> <a name="11g-TimeSignatures-SingleNumber.ly"></a> <a href="7f/lily-4b44524f.ly"><p>‘<tt>11g-TimeSignatures-SingleNumber.ly</tt>’ </a> Time signature displayed as a single number. <p> <a href="7f/lily-4b44524f.ly"> <img align="middle" border="0" src="7f/lily-4b44524f.png" alt="[image of music]"> </a> </p></p> <a name="11h-TimeSignatures-SenzaMisura.ly"></a> <a href="95/lily-9ed624fd.ly"><p>‘<tt>11h-TimeSignatures-SenzaMisura.ly</tt>’ </a> Senza-misura time signature <p> <a href="95/lily-9ed624fd.ly"> <img align="middle" border="0" src="95/lily-9ed624fd.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">12 ... Clefs</h2> <a name="12a-Clefs.ly"></a> <a href="f4/lily-4e112c9d.ly"><p>‘<tt>12a-Clefs.ly</tt>’ </a> Various clefs: G, C, F, percussion, TAB and none; some are also possible with octavation and on other staff lines than their default (e.g. soprano/alto/tenor/bariton C clefs); Each measure shows a different clef (measure 17 has the "none" clef), only measure 18 has the same treble clef as measure 1. <p> <a href="f4/lily-4e112c9d.ly"> <img align="middle" border="0" src="f4/lily-4e112c9d.png" alt="[image of music]"> </a> </p></p> <a name="12b-Clefs-NoKeyOrClef.ly"></a> <a href="8d/lily-833efcd1.ly"><p>‘<tt>12b-Clefs-NoKeyOrClef.ly</tt>’ </a> A score without any key or clef defined. The default (4/4 in treble clef) should be used. <p> <a href="8d/lily-833efcd1.ly"> <img align="middle" border="0" src="8d/lily-833efcd1.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">13 ... Key signatures</h2> <a name="13a-KeySignatures.ly"></a> <a href="18/lily-7e880be3.ly"><p>‘<tt>13a-KeySignatures.ly</tt>’ </a> Various key signature: from 11 flats to 11 sharps (each one first one measure in major, then one measure in minor) <p> <a href="18/lily-7e880be3.ly"> <img align="middle" border="0" src="18/lily-7e880be3.png" alt="[image of music]"> </a> </p></p> <a name="13b-KeySignatures-ChurchModes.ly"></a> <a href="19/lily-b40c4a28.ly"><p>‘<tt>13b-KeySignatures-ChurchModes.ly</tt>’ </a> All different modes: major, minor, ionian, dorian, phrygian, lydian, mixolydian, aeolian, and locrian; All modes are given with 2 sharps. <p> <a href="19/lily-b40c4a28.ly"> <img align="middle" border="0" src="19/lily-b40c4a28.png" alt="[image of music]"> </a> </p></p> <a name="13c-KeySignatures-NonTraditional.ly"></a> <a href="7c/lily-38408b78.ly"><p>‘<tt>13c-KeySignatures-NonTraditional.ly</tt>’ </a> Non-traditional key signatures, where each alteration is separately given. Here we have (f sharp, a flat, b flat) and (c flatflat, g sharp sharp, d flat, b sharp, f natural), where in the second case an explicit octave is given for each alteration. <p> <a href="7c/lily-38408b78.ly"> <img align="middle" border="0" src="7c/lily-38408b78.png" alt="[image of music]"> </a> </p></p> <a name="13d-KeySignatures-Microtones.ly"></a> <a href="7b/lily-5e129c18.ly"><p>‘<tt>13d-KeySignatures-Microtones.ly</tt>’ </a> Non-traditional key signatures with microtone alterations: (g flat-and-a-half, a flat, b half-flat, c natural, d half-sharp, e sharp, f sharp-and-a-half). <p> <a href="7b/lily-5e129c18.ly"> <img align="middle" border="0" src="7b/lily-5e129c18.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">21 ... Chorded notes</h2> <a name="21a-Chord-Basic.ly"></a> <a href="3f/lily-b6fe37f3.ly"><p>‘<tt>21a-Chord-Basic.ly</tt>’ </a> One simple chord consisting of two notes. <p> <a href="3f/lily-b6fe37f3.ly"> <img align="middle" border="0" src="3f/lily-b6fe37f3.png" alt="[image of music]"> </a> </p></p> <a name="21b-Chords-TwoNotes.ly"></a> <a href="5d/lily-13407853.ly"><p>‘<tt>21b-Chords-TwoNotes.ly</tt>’ </a> Some subsequent (identical) two-note chords. <p> <a href="5d/lily-13407853.ly"> <img align="middle" border="0" src="5d/lily-13407853.png" alt="[image of music]"> </a> </p></p> <a name="21c-Chords-ThreeNotesDuration.ly"></a> <a href="69/lily-9061ac9b.ly"><p>‘<tt>21c-Chords-ThreeNotesDuration.ly</tt>’ </a> Some three-note chords, with various durations. <p> <a href="69/lily-9061ac9b.ly"> <img align="middle" border="0" src="69/lily-9061ac9b.png" alt="[image of music]"> </a> </p></p> <a name="21d-Chords-SchubertStabatMater.ly"></a> <a href="4b/lily-31b4f3a5.ly"><p>‘<tt>21d-Chords-SchubertStabatMater.ly</tt>’ </a> Chords in the second measure, after several ornaments in the first measure and a p at the beginning of the second measure. <p> <a href="4b/lily-31b4f3a5.ly"> <img align="middle" border="0" src="4b/lily-31b4f3a5.png" alt="[image of music]"> </a> </p></p> <a name="21e-Chords-PickupMeasures.ly"></a> <a href="5c/lily-6bcc1226.ly"><p>‘<tt>21e-Chords-PickupMeasures.ly</tt>’ </a> Check for proper chord detection after a pickup measure (i.e. the first beat of the measure is not aligned with multiples of the time signature)! <p> <a href="5c/lily-6bcc1226.ly"> <img align="middle" border="0" src="5c/lily-6bcc1226.png" alt="[image of music]"> </a> </p></p> <a name="21f-Chord-ElementInBetween.ly"></a> <a href="f3/lily-0e6b375e.ly"><p>‘<tt>21f-Chord-ElementInBetween.ly</tt>’ </a> Between the individual notes of a chord there can be direction or harmony elements, which should be properly assigned to the chord (or the position of the chord). <p> <a href="f3/lily-0e6b375e.ly"> <img align="middle" border="0" src="f3/lily-0e6b375e.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">22 ... Note settings, heads, etc.</h2> <a name="22a-Noteheads.ly"></a> <a href="0d/lily-59754be4.ly"><p>‘<tt>22a-Noteheads.ly</tt>’ </a> Different note styles, using the <notehead> element. First, each note head style is printed with four quarter notes, two with filled heads, two with unfilled heads, where first the stem is up and then the stem is down. After that, each note head style is printed with a half note (should have an unfilled head by default). Finally, the Aiken note head styles are tested, once with stem up and once with stem down. <p> <a href="0d/lily-59754be4.ly"> <img align="middle" border="0" src="0d/lily-59754be4.png" alt="[image of music]"> </a> </p></p> <a name="22b-Staff-Notestyles.ly"></a> <a href="88/lily-fc14106e.ly"><p>‘<tt>22b-Staff-Notestyles.ly</tt>’ </a> Staff-connected note styles: slash notation, hidden notes (with and without hidden staff lines) <p> <a href="88/lily-fc14106e.ly"> <img align="middle" border="0" src="88/lily-fc14106e.png" alt="[image of music]"> </a> </p></p> <a name="22c-Noteheads-Chords.ly"></a> <a href="32/lily-2ee0ecb3.ly"><p>‘<tt>22c-Noteheads-Chords.ly</tt>’ </a> Different note styles for individual notes inside a chord, using the <notehead> element. <p> <a href="32/lily-2ee0ecb3.ly"> <img align="middle" border="0" src="32/lily-2ee0ecb3.png" alt="[image of music]"> </a> </p></p> <a name="22d-Parenthesized-Noteheads.ly"></a> <a href="f4/lily-facb9845.ly"><p>‘<tt>22d-Parenthesized-Noteheads.ly</tt>’ </a> Parenthesized note heads. First, a single parenthesized note is tested, once with a normal and then with a non-standard notehead, then two chords with some/all parenthesized noteheads and finally a parenthesized rest. <p> <a href="f4/lily-facb9845.ly"> <img align="middle" border="0" src="f4/lily-facb9845.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">23 ... Triplets, Tuplets</h2> <a name="23a-Tuplets.ly"></a> <a href="fc/lily-6db06aa1.ly"><p>‘<tt>23a-Tuplets.ly</tt>’ </a> Some tuplets (3:2, 3:2, 3:2, 4:2, 4:1, 7:3, 6:2) with the default tuplet bracket displaying the number of actual notes played. The second tuplet does not have a number attribute set. <p> <a href="fc/lily-6db06aa1.ly"> <img align="middle" border="0" src="fc/lily-6db06aa1.png" alt="[image of music]"> </a> </p></p> <a name="23b-Tuplets-Styles.ly"></a> <a href="25/lily-62aa327d.ly"><p>‘<tt>23b-Tuplets-Styles.ly</tt>’ </a> Different tuplet styles: default, none, x:y, x:y-note; Each with bracket, slur and none. Finally, non-standard 4:3 and 17:2 tuplets are given. <p> <a href="25/lily-62aa327d.ly"> <img align="middle" border="0" src="25/lily-62aa327d.png" alt="[image of music]"> </a> </p></p> <a name="23c-Tuplet-Display-NonStandard.ly"></a> <a href="48/lily-7314283a.ly"><p>‘<tt>23c-Tuplet-Display-NonStandard.ly</tt>’ </a> Displaying tuplet note types, that might not coincide with the displayed note. The first two tuplets take the type from the note, the second two from the <time-modification> element, the remaining pair of tuplets from the <tuplet> notation element. The tuplets in measure 3 specify both a number of notes and a type inside the <tuplet-actual> and <tuplet-normal> elements, the ones in measure 4 specify only a note type (but no number), and the ones in measure 5 specify only a number of tuplet-notes (but no type, which is deduced from the note’s type). The first tuplet of measures 3-5 uses ’display-type="actual"’, the second one ’display-type="both"’. FIXME: The tuplet-normal should coincide with the real notes! <p> <a href="48/lily-7314283a.ly"> <img align="middle" border="0" src="48/lily-7314283a.png" alt="[image of music]"> </a> </p></p> <a name="23d-Tuplets-Nested.ly"></a> <a href="18/lily-d2c37355.ly"><p>‘<tt>23d-Tuplets-Nested.ly</tt>’ </a> Tuplets can be nested. Here there is a 5:2 tuplet inside a 3:2 tuple (all consisting of written eighth notes). <p> <a href="18/lily-d2c37355.ly"> <img align="middle" border="0" src="18/lily-d2c37355.png" alt="[image of music]"> </a> </p></p> <a name="23e-Tuplets-Tremolo.ly"></a> <a href="be/lily-608df2af.ly"><p>‘<tt>23e-Tuplets-Tremolo.ly</tt>’ </a> Tremolo tuplets are tuplets on single notes with a tremolo ornament. The application shall correctly import these notes with 2/3 or their time... <p> <a href="be/lily-608df2af.ly"> <img align="middle" border="0" src="be/lily-608df2af.png" alt="[image of music]"> </a> </p></p> <a name="23f-Tuplets-DurationButNoBracket.ly"></a> <a href="63/lily-ffb46c93.ly"><p>‘<tt>23f-Tuplets-DurationButNoBracket.ly</tt>’ </a> Some "triplets" on the end of the first and in the second staff, using only <time-modification>, but not explicit tuplet bracket. Thus, the duration of the notes in the second staff should be scaled properly in comparison to staff 1, but no visual indication about the tuplets is given. <p> <a href="63/lily-ffb46c93.ly"> <img align="middle" border="0" src="63/lily-ffb46c93.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">24 ... Grace notes</h2> <a name="24a-GraceNotes.ly"></a> <a href="1e/lily-09068dc1.ly"><p>‘<tt>24a-GraceNotes.ly</tt>’ </a> Different kinds of grace notes: acciaccatura, appoggiatura; beamed grace notes; grace notes with accidentals; different durations of the grace notes. <p> <a href="1e/lily-09068dc1.ly"> <img align="middle" border="0" src="1e/lily-09068dc1.png" alt="[image of music]"> </a> </p></p> <a name="24b-ChordAsGraceNote.ly"></a> <a href="43/lily-2cdda8ac.ly"><p>‘<tt>24b-ChordAsGraceNote.ly</tt>’ </a> Chords as grace notes. <p> <a href="43/lily-2cdda8ac.ly"> <img align="middle" border="0" src="43/lily-2cdda8ac.png" alt="[image of music]"> </a> </p></p> <a name="24c-GraceNote-MeasureEnd.ly"></a> <a href="bf/lily-641030e9.ly"><p>‘<tt>24c-GraceNote-MeasureEnd.ly</tt>’ </a> A grace note that appears at the measure end (without any steal-from-* attribute set). Some applications need to convert this into an after-grace. <p> <a href="bf/lily-641030e9.ly"> <img align="middle" border="0" src="bf/lily-641030e9.png" alt="[image of music]"> </a> </p></p> <a name="24d-AfterGrace.ly"></a> <a href="20/lily-9f01a189.ly"><p>‘<tt>24d-AfterGrace.ly</tt>’ </a> Some grace notes and after-graces (indicated by steal-time-previous and steal-time-next). <p> <a href="20/lily-9f01a189.ly"> <img align="middle" border="0" src="20/lily-9f01a189.png" alt="[image of music]"> </a> </p></p> <a name="24e-GraceNote-StaffChange.ly"></a> <a href="60/lily-be9dbc24.ly"><p>‘<tt>24e-GraceNote-StaffChange.ly</tt>’ </a> A grace note on a different staff than the actual note. <p> <a href="60/lily-be9dbc24.ly"> <img align="middle" border="0" src="60/lily-be9dbc24.png" alt="[image of music]"> </a> </p></p> <a name="24f-GraceNote-Slur.ly"></a> <a href="cf/lily-8e2b89d2.ly"><p>‘<tt>24f-GraceNote-Slur.ly</tt>’ </a> A grace note with a slur to the actual note. This can be interpreted as acciaccatura or appoggiatura, depending on the existence of a slash. <p> <a href="cf/lily-8e2b89d2.ly"> <img align="middle" border="0" src="cf/lily-8e2b89d2.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">31 ... Dynamics and other single symbols</h2> <a name="31a-Directions.ly"></a> <a href="e8/lily-931a0481.ly"><p>‘<tt>31a-Directions.ly</tt>’ </a> All <direction> elements defined in MusicXML. The lyrics for each note describes the direction element assigned to that note. <p> <a href="e8/lily-931a0481.ly"> <img align="middle" border="0" src="e8/lily-931a0481.png" alt="[image of music]"> </a> </p></p> <a name="31c-MetronomeMarks.ly"></a> <a href="74/lily-6ebb6b1e.ly"><p>‘<tt>31c-MetronomeMarks.ly</tt>’ </a> Tempo Markings: note=bpm, text (note=bpm), note=note, (note=note), (note=bpm) <p> <a href="74/lily-6ebb6b1e.ly"> <img align="middle" border="0" src="74/lily-6ebb6b1e.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">32 ... Notations and Articulations</h2> <a name="32a-Notations.ly"></a> <a href="36/lily-c74395a1.ly"><p>‘<tt>32a-Notations.ly</tt>’ </a> All <notation> elements defined in MusicXML. The lyrics show the notation assigned to each note. <p> <a href="36/lily-c74395a1.ly"> <img align="middle" border="0" src="36/lily-c74395a1.png" alt="[image of music]"> </a> </p></p> <a name="32b-Articulations-Texts.ly"></a> <a href="8f/lily-c9f9fac0.ly"><p>‘<tt>32b-Articulations-Texts.ly</tt>’ </a> Text markup: different font sizes, weights and colors. <p> <a href="8f/lily-c9f9fac0.ly"> <img align="middle" border="0" src="8f/lily-c9f9fac0.png" alt="[image of music]"> </a> </p></p> <a name="32c-MultipleNotationChildren.ly"></a> <a href="12/lily-92cf9642.ly"><p>‘<tt>32c-MultipleNotationChildren.ly</tt>’ </a></p> <p> It should not make any difference whether two articulations are given inside two different notation elements, inside two different articulations children of the same notation element or inside the same articulations element. Thus, all three notes should have a staccato and an accent. </p> <p> <a href="12/lily-92cf9642.ly"> <img align="middle" border="0" src="12/lily-92cf9642.png" alt="[image of music]"> </a> </p> <a name="32d-Arpeggio.ly"></a> <a href="6f/lily-9bd92f04.ly"><p>‘<tt>32d-Arpeggio.ly</tt>’ </a> Different Arpeggio directions (normal, up, down, non-arpeggiate) <p> <a href="6f/lily-9bd92f04.ly"> <img align="middle" border="0" src="6f/lily-9bd92f04.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">33 ... Spanners</h2> <a name="33a-Spanners.ly"></a> <a href="a9/lily-a846a2f0.ly"><p>‘<tt>33a-Spanners.ly</tt>’ </a> Several spanners defined in MusicXML: tuplet, slur (solid, dashed), tie, wedge (cresc, dim), tr + wavy-line, single-note trill spanner, octave-shift (8va,15mb), bracket (solid down/down, dashed down/down, solid none/down, dashed none/up, solid none/none), dashes, glissando (wavy), bend-alter, slide (solid), grouping, two-note tremolo, hammer-on, pull-off, pedal (down, change, up). <p> <a href="a9/lily-a846a2f0.ly"> <img align="middle" border="0" src="a9/lily-a846a2f0.png" alt="[image of music]"> </a> </p></p> <a name="33b-Spanners-Tie.ly"></a> <a href="ab/lily-62ecd957.ly"><p>‘<tt>33b-Spanners-Tie.ly</tt>’ </a> Two simple tied whole notes <p> <a href="ab/lily-62ecd957.ly"> <img align="middle" border="0" src="ab/lily-62ecd957.png" alt="[image of music]"> </a> </p></p> <a name="33c-Spanners-Slurs.ly"></a> <a href="f6/lily-04dfd76e.ly"><p>‘<tt>33c-Spanners-Slurs.ly</tt>’ </a> A note can be the end of one slur and the start of a new slur. Also, in MusicXML, nested slurs are possible like in the second measure where one slur goes over all four notes, and another slur goes from the second to the third note. <p> <a href="f6/lily-04dfd76e.ly"> <img align="middle" border="0" src="f6/lily-04dfd76e.png" alt="[image of music]"> </a> </p></p> <a name="33d-Spanners-OctaveShifts.ly"></a> <a href="d8/lily-f2f0cc35.ly"><p>‘<tt>33d-Spanners-OctaveShifts.ly</tt>’ </a> All types of octave shifts (15ma, 15mb, 8va, 8vb) <p> <a href="d8/lily-f2f0cc35.ly"> <img align="middle" border="0" src="d8/lily-f2f0cc35.png" alt="[image of music]"> </a> </p></p> <a name="33e-Spanners-OctaveShifts-InvalidSize.ly"></a> <a href="e4/lily-82e190ac.ly"><p>‘<tt>33e-Spanners-OctaveShifts-InvalidSize.ly</tt>’ </a> Invalid octave-shifts: 27 down, 11 up. <p> <a href="e4/lily-82e190ac.ly"> <img align="middle" border="0" src="e4/lily-82e190ac.png" alt="[image of music]"> </a> </p></p> <a name="33f-Trill-EndingOnGraceNote.ly"></a> <a href="45/lily-9967bf77.ly"><p>‘<tt>33f-Trill-EndingOnGraceNote.ly</tt>’ </a> A trill spanner that spans a grace note and ends on an after-grace note at the end of the measure. <p> <a href="45/lily-9967bf77.ly"> <img align="middle" border="0" src="45/lily-9967bf77.png" alt="[image of music]"> </a> </p></p> <a name="33g-Slur-ChordedNotes.ly"></a> <a href="37/lily-bd77e815.ly"><p>‘<tt>33g-Slur-ChordedNotes.ly</tt>’ </a> Slurs on chorded notes: Only the first note of the chord should get the slur notation. Some applications print out the slur for all notes – these should be ignored. <p> <a href="37/lily-bd77e815.ly"> <img align="middle" border="0" src="37/lily-bd77e815.png" alt="[image of music]"> </a> </p></p> <a name="33h-Spanners-Glissando.ly"></a> <a href="ae/lily-e741dd36.ly"><p>‘<tt>33h-Spanners-Glissando.ly</tt>’ </a> All different types of glissando defined in MusicXML <p> <a href="ae/lily-e741dd36.ly"> <img align="middle" border="0" src="ae/lily-e741dd36.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">41 ... Multiple parts (staves)</h2> <a name="41a-MultiParts-Partorder.ly"></a> <a href="e6/lily-56aacc80.ly"><p>‘<tt>41a-MultiParts-Partorder.ly</tt>’ </a> A piece with four parts (P0, P1, P2, P3; different from what Finale creates!). Are they converted in the correct order? <p> <a href="e6/lily-56aacc80.ly"> <img align="middle" border="0" src="e6/lily-56aacc80.png" alt="[image of music]"> </a> </p></p> <a name="41b-MultiParts-MoreThan10.ly"></a> <a href="40/lily-385d9786.ly"><p>‘<tt>41b-MultiParts-MoreThan10.ly</tt>’ </a> A piece with 20 parts to check whether an application supports that many parts and whether they are correctly sorted. <p> <a href="40/lily-385d9786.ly"> <img align="middle" border="0" src="40/lily-385d9786.png" alt="[image of music]"> </a> </p></p> <a name="41c-StaffGroups.ly"></a> <a href="33/lily-185258fa.ly"><p>‘<tt>41c-StaffGroups.ly</tt>’ </a> A huge orchestra score with 28 parts and different kinds of nested bracketed groups. Each part/group is assigned a name and an abbreviation to be shown before the staff. Also, most of the groups show unbroken barlines, while the barlines are broken between the groups. <p> <a href="33/lily-185258fa.ly"> <img align="middle" border="0" src="33/lily-185258fa.png" alt="[image of music]"> </a> </p></p> <a name="41d-StaffGroups-Nested.ly"></a> <a href="f8/lily-d96926a0.ly"><p>‘<tt>41d-StaffGroups-Nested.ly</tt>’ </a> Two properly nested part groups: One group (with a square bracket) goes from staff 2 to 4) and another group (with a curly bracket) goes from staff 3 to 4. <p> <a href="f8/lily-d96926a0.ly"> <img align="middle" border="0" src="f8/lily-d96926a0.png" alt="[image of music]"> </a> </p></p> <a name="41e-StaffGroups-InstrumentNames-Linebroken.ly"></a> <a href="81/lily-2465bdb0.ly"><p>‘<tt>41e-StaffGroups-InstrumentNames-Linebroken.ly</tt>’ </a> Part names and abbreviations can contain line breaks. <p> <a href="81/lily-2465bdb0.ly"> <img align="middle" border="0" src="81/lily-2465bdb0.png" alt="[image of music]"> </a> </p></p> <a name="41f-StaffGroups-Overlapping.ly"></a> <a href="f5/lily-0097dce7.ly"><p>‘<tt>41f-StaffGroups-Overlapping.ly</tt>’ </a> MusicXML allows for overlapping part-groups, while many applications do not allow overlapping groups, but require them to be properly nested. In this case, one group (with a square bracket) goes from staff 2 to 4) and another group (with a curly bracket) goes from staff 3 to 5. <p> <a href="f5/lily-0097dce7.ly"> <img align="middle" border="0" src="f5/lily-0097dce7.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">42 ... Multiple voices per staff</h2> <a name="42a-MultiVoice-TwoVoicesOnStaff-Lyrics.ly"></a> <a href="81/lily-7a99048c.ly"><p>‘<tt>42a-MultiVoice-TwoVoicesOnStaff-Lyrics.ly</tt>’ </a> Two voices share one staff. Each voice is assigned some lyrics. <p> <a href="81/lily-7a99048c.ly"> <img align="middle" border="0" src="81/lily-7a99048c.png" alt="[image of music]"> </a> </p></p> <a name="42b-MultiVoice-MidMeasureClefChange.ly"></a> <a href="af/lily-af29427a.ly"><p>‘<tt>42b-MultiVoice-MidMeasureClefChange.ly</tt>’ </a> A multi-voice / multi-staff part with a clef change in the middle of a measure and a <backward> for voice 2 jumping back beyond that clef change. <p> <a href="af/lily-af29427a.ly"> <img align="middle" border="0" src="af/lily-af29427a.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">43 ... One part on multiple staves</h2> <a name="43a-PianoStaff.ly"></a> <a href="54/lily-44cc71de.ly"><p>‘<tt>43a-PianoStaff.ly</tt>’ </a> A simple piano staff <p> <a href="54/lily-44cc71de.ly"> <img align="middle" border="0" src="54/lily-44cc71de.png" alt="[image of music]"> </a> </p></p> <a name="43b-MultiStaff-DifferentKeys.ly"></a> <a href="50/lily-23a098db.ly"><p>‘<tt>43b-MultiStaff-DifferentKeys.ly</tt>’ </a> A piano staff with different keys and clefs for each of its staves. The keys and clefs for both staves are given at the very beginning of the measure. <p> <a href="50/lily-23a098db.ly"> <img align="middle" border="0" src="50/lily-23a098db.png" alt="[image of music]"> </a> </p></p> <a name="43c-MultiStaff-DifferentKeysAfterBackup.ly"></a> <a href="ed/lily-e2d21b1e.ly"><p>‘<tt>43c-MultiStaff-DifferentKeysAfterBackup.ly</tt>’ </a> A piano staff with different keys and clefs for each of its staves. The key and clef for the second staff is given only after a backward, just before the first note of the second staff is given, but after the whole measure for staff 1 has been given. <p> <a href="ed/lily-e2d21b1e.ly"> <img align="middle" border="0" src="ed/lily-e2d21b1e.png" alt="[image of music]"> </a> </p></p> <a name="43d-MultiStaff-StaffChange.ly"></a> <a href="39/lily-c7af0ce3.ly"><p>‘<tt>43d-MultiStaff-StaffChange.ly</tt>’ </a> Staff changes in a piano staff. The voice from the second staff has some notes/chords on the first staff. The final two chords have some notes on the first, some on the second staff. <p> <a href="39/lily-c7af0ce3.ly"> <img align="middle" border="0" src="39/lily-c7af0ce3.png" alt="[image of music]"> </a> </p></p> <a name="43e-Multistaff-ClefDynamics.ly"></a> <a href="92/lily-36a5aac4.ly"><p>‘<tt>43e-Multistaff-ClefDynamics.ly</tt>’ </a> A piano staff with dynamics and clef changes, where each element (ffff, wedge and clef changes) applies only to one voice or one staff, respectively. <p> <a href="92/lily-36a5aac4.ly"> <img align="middle" border="0" src="92/lily-36a5aac4.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">45 ... Repeats</h2> <a name="45a-SimpleRepeat.ly"></a> <a href="40/lily-7e201bae.ly"><p>‘<tt>45a-SimpleRepeat.ly</tt>’ </a> A simple, repeated measure (repeated 5 times) <p> <a href="40/lily-7e201bae.ly"> <img align="middle" border="0" src="40/lily-7e201bae.png" alt="[image of music]"> </a> </p></p> <a name="45b-RepeatWithAlternatives.ly"></a> <a href="b5/lily-1f9f0a83.ly"><p>‘<tt>45b-RepeatWithAlternatives.ly</tt>’ </a> A simple repeat with two alternative endings (volta brackets). <p> <a href="b5/lily-1f9f0a83.ly"> <img align="middle" border="0" src="b5/lily-1f9f0a83.png" alt="[image of music]"> </a> </p></p> <a name="45c-RepeatMultipleTimes.ly"></a> <a href="07/lily-ed48b022.ly"><p>‘<tt>45c-RepeatMultipleTimes.ly</tt>’ </a> Repeats can also be nested. <p> <a href="07/lily-ed48b022.ly"> <img align="middle" border="0" src="07/lily-ed48b022.png" alt="[image of music]"> </a> </p></p> <a name="45d-Repeats-Nested-Alternatives.ly"></a> <a href="0b/lily-d251b00f.ly"><p>‘<tt>45d-Repeats-Nested-Alternatives.ly</tt>’ </a> Nested repeats, each with alternative endings. <p> <a href="0b/lily-d251b00f.ly"> <img align="middle" border="0" src="0b/lily-d251b00f.png" alt="[image of music]"> </a> </p></p> <a name="45e-Repeats-Nested-Alternatives.ly"></a> <a href="7f/lily-593e1c1b.ly"><p>‘<tt>45e-Repeats-Nested-Alternatives.ly</tt>’ </a> Some more nested repeats with alternatives. The barline between measure 7 and 8 will probably be messed up! (Should be a repeat on both sides!) <p> <a href="7f/lily-593e1c1b.ly"> <img align="middle" border="0" src="7f/lily-593e1c1b.png" alt="[image of music]"> </a> </p></p> <a name="45f-Repeats-InvalidEndings.ly"></a> <a href="ca/lily-60142c28.ly"><p>‘<tt>45f-Repeats-InvalidEndings.ly</tt>’ </a> Some more nested repeats with alternatives, where the MusicXML file does not make sense in the first place. How well are applications able to cope with improper repeats and alternatives? <p> <a href="ca/lily-60142c28.ly"> <img align="middle" border="0" src="ca/lily-60142c28.png" alt="[image of music]"> </a> </p></p> <a name="45g-Repeats-NotEnded.ly"></a> <a href="fc/lily-988e1c67.ly"><p>‘<tt>45g-Repeats-NotEnded.ly</tt>’ </a> A forward-repeating bar line without an ending repeat bar. <p> <a href="fc/lily-988e1c67.ly"> <img align="middle" border="0" src="fc/lily-988e1c67.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">46 ... Barlines, Measures</h2> <a name="46a-Barlines.ly"></a> <a href="36/lily-167361ec.ly"><p>‘<tt>46a-Barlines.ly</tt>’ </a> Different types of (non-repeat) barlines: default (no setting), regular, dotted, dashed, heavy, light-light, light-heavy, heavy-light, heavy-heavy, tick, short, none. <p> <a href="36/lily-167361ec.ly"> <img align="middle" border="0" src="36/lily-167361ec.png" alt="[image of music]"> </a> </p></p> <a name="46b-MidmeasureBarline.ly"></a> <a href="84/lily-6ac3b16d.ly"><p>‘<tt>46b-MidmeasureBarline.ly</tt>’ </a> Barlines can appear at mid-measure positions, without using an implicit measure! <p> <a href="84/lily-6ac3b16d.ly"> <img align="middle" border="0" src="84/lily-6ac3b16d.png" alt="[image of music]"> </a> </p></p> <a name="46c-Midmeasure-Clef.ly"></a> <a href="77/lily-8a2c1e3a.ly"><p>‘<tt>46c-Midmeasure-Clef.ly</tt>’ </a> A clef change in the middle of a measure, using either an implicit measure or simply placing the attributes in the middle of the measure. <p> <a href="77/lily-8a2c1e3a.ly"> <img align="middle" border="0" src="77/lily-8a2c1e3a.png" alt="[image of music]"> </a> </p></p> <a name="46d-PickupMeasure-ImplicitMeasures.ly"></a> <a href="21/lily-271043ae.ly"><p>‘<tt>46d-PickupMeasure-ImplicitMeasures.ly</tt>’ </a> A 3/8 pickup measure, a measure that is split into one (incomplete, only 2/4) measure and an implicit measure, and an incomplete measure (containg 3/4). <p> <a href="21/lily-271043ae.ly"> <img align="middle" border="0" src="21/lily-271043ae.png" alt="[image of music]"> </a> </p></p> <a name="46e-PickupMeasure-SecondVoiceStartsLater.ly"></a> <a href="c1/lily-53632dd9.ly"><p>‘<tt>46e-PickupMeasure-SecondVoiceStartsLater.ly</tt>’ </a> Voice 2 should start at 2nd beat of first full measure. <p> <a href="c1/lily-53632dd9.ly"> <img align="middle" border="0" src="c1/lily-53632dd9.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">51 ... Header information</h2> <a name="51b-Header-Quotes.ly"></a> <a href="39/lily-12ecbd14.ly"><p>‘<tt>51b-Header-Quotes.ly</tt>’ </a> Several header fields and part names can contain quotes ("). This test checks whether they are converted/imported without problems (i.e. whether they are correctly escaped when converting). <p> <a href="39/lily-12ecbd14.ly"> <img align="middle" border="0" src="39/lily-12ecbd14.png" alt="[image of music]"> </a> </p></p> <a name="51c-MultipleRights.ly"></a> <a href="af/lily-124f5c37.ly"><p>‘<tt>51c-MultipleRights.ly</tt>’ </a> There can be multiple <rights> tags in the identification element of the score. The conversion shall still work, ideally using both of them. <p> <a href="af/lily-124f5c37.ly"> <img align="middle" border="0" src="af/lily-124f5c37.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">52 ... Page layout</h2> <a name="52a-PageLayout.ly"></a> <a href="30/lily-b84f682c.ly"><p>‘<tt>52a-PageLayout.ly</tt>’ </a> Several page layout settings: paper size, margins, system margins and distances, different fonts, etc. <p> <a href="30/lily-b84f682c.ly"> <img align="middle" border="0" src="30/lily-b84f682c.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">61 ... Lyrics</h2> <a name="61a-Lyrics.ly"></a> <a href="55/lily-e7669b81.ly"><p>‘<tt>61a-Lyrics.ly</tt>’ </a> Some notes with simple lyrics: Syllables, notes without a syllable, syllable spanners. <p> <a href="55/lily-e7669b81.ly"> <img align="middle" border="0" src="55/lily-e7669b81.png" alt="[image of music]"> </a> </p></p> <a name="61b-MultipleLyrics.ly"></a> <a href="86/lily-11f4dc43.ly"><p>‘<tt>61b-MultipleLyrics.ly</tt>’ </a> Multiple (simple) lyrics. The order of the exported stanzas is relevant (identified by the number attribute in this test case) <p> <a href="86/lily-11f4dc43.ly"> <img align="middle" border="0" src="86/lily-11f4dc43.png" alt="[image of music]"> </a> </p></p> <a name="61c-Lyrics-Pianostaff.ly"></a> <a href="9c/lily-9853fce0.ly"><p>‘<tt>61c-Lyrics-Pianostaff.ly</tt>’ </a> Lyrics assigned to the voices of a piano staff containing two simple staves. Each staff is assigned exactly one lyrics line. <p> <a href="9c/lily-9853fce0.ly"> <img align="middle" border="0" src="9c/lily-9853fce0.png" alt="[image of music]"> </a> </p></p> <a name="61d-Lyrics-Melisma.ly"></a> <a href="c6/lily-ba0b6bb0.ly"><p>‘<tt>61d-Lyrics-Melisma.ly</tt>’ </a> How to treat lyrics and slurred notes. Normally, a slurred group of notes is assigned only one lyrics syllable. <p> <a href="c6/lily-ba0b6bb0.ly"> <img align="middle" border="0" src="c6/lily-ba0b6bb0.png" alt="[image of music]"> </a> </p></p> <a name="61e-Lyrics-Chords.ly"></a> <a href="0c/lily-42795feb.ly"><p>‘<tt>61e-Lyrics-Chords.ly</tt>’ </a> Assigning lyrics to chorded notes. <p> <a href="0c/lily-42795feb.ly"> <img align="middle" border="0" src="0c/lily-42795feb.png" alt="[image of music]"> </a> </p></p> <a name="61f-Lyrics-GracedNotes.ly"></a> <a href="4a/lily-e9c9d1bd.ly"><p>‘<tt>61f-Lyrics-GracedNotes.ly</tt>’ </a> Grace notes shall not mess up the lyrics, and they shall not be assigned a syllable. <p> <a href="4a/lily-e9c9d1bd.ly"> <img align="middle" border="0" src="4a/lily-e9c9d1bd.png" alt="[image of music]"> </a> </p></p> <a name="61g-Lyrics-NameNumber.ly"></a> <a href="02/lily-74a4a0aa.ly"><p>‘<tt>61g-Lyrics-NameNumber.ly</tt>’ </a> A lyrics syllable can have both a number and a name attribute. The question is: What should be used to put syllables of the same voice together. This example uses different number/name combinations to check how different applications handle this unspecified case (The advice on the MusicXML mailing list was "there is no correct way, each application can do what it thinks is best"). <p> <a href="02/lily-74a4a0aa.ly"> <img align="middle" border="0" src="02/lily-74a4a0aa.png" alt="[image of music]"> </a> </p></p> <a name="61h-Lyrics-BeamsMelismata.ly"></a> <a href="07/lily-e2457803.ly"><p>‘<tt>61h-Lyrics-BeamsMelismata.ly</tt>’ </a> Beaming or slurs can indicate melismata for lyrics. Also make sure that notes without an explicit syllable are treated as if they were part of a melisma. <p> <a href="07/lily-e2457803.ly"> <img align="middle" border="0" src="07/lily-e2457803.png" alt="[image of music]"> </a> </p></p> <a name="61i-Lyrics-Chords.ly"></a> <a href="69/lily-b4fcf1cd.ly"><p>‘<tt>61i-Lyrics-Chords.ly</tt>’ </a> Each note of a chord can have some lyrics attached. In this case, each note of the chord has lyrics of the form "Lyrics [123]" attached, where each lyrics has a different number attribute to distinguish them. These syllables should be imported into three different stanzas and the timing should be correct. <p> <a href="69/lily-b4fcf1cd.ly"> <img align="middle" border="0" src="69/lily-b4fcf1cd.png" alt="[image of music]"> </a> </p></p> <a name="61j-Lyrics-Elisions.ly"></a> <a href="3d/lily-0291926a.ly"><p>‘<tt>61j-Lyrics-Elisions.ly</tt>’ </a> Multiple lyrics syllables assigned to a single note are implemented either using a space in the lyrics or by using the <elision> lyrics element. This testcase checks both of them. First, a note with on syllable is given, then a note with two syllables separated by a spcae and finally a note with two and one with three syllables implemented using <elision> is given. <p> <a href="3d/lily-0291926a.ly"> <img align="middle" border="0" src="3d/lily-0291926a.png" alt="[image of music]"> </a> </p></p> <a name="61k-Lyrics-SpannersExtenders.ly"></a> <a href="98/lily-91537e1d.ly"><p>‘<tt>61k-Lyrics-SpannersExtenders.ly</tt>’ </a> Lyrics spanners: continued syllables and extenders, possibly spanning multiple notes. The intermediate notes do not have any <lyric> element. <p> <a href="98/lily-91537e1d.ly"> <img align="middle" border="0" src="98/lily-91537e1d.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">71 ... Guitar notation</h2> <a name="71a-Chordnames.ly"></a> <a href="f3/lily-ef3d2da2.ly"><p>‘<tt>71a-Chordnames.ly</tt>’ </a> A normal staff with several (complex) chord names displayed. <p> <a href="f3/lily-ef3d2da2.ly"> <img align="middle" border="0" src="f3/lily-ef3d2da2.png" alt="[image of music]"> </a> </p></p> <a name="71c-ChordsFrets.ly"></a> <a href="18/lily-0d693ca4.ly"><p>‘<tt>71c-ChordsFrets.ly</tt>’ </a> A staff with chord names and some fretboards shown. The fretboards can have an arbitrary number of frets/strings, can start at an arbitrary fret and can even contain fingering information. <p> <a href="18/lily-0d693ca4.ly"> <img align="middle" border="0" src="18/lily-0d693ca4.png" alt="[image of music]"> </a> </p></p> <a name="71d-ChordsFrets-Multistaff.ly"></a> <a href="3a/lily-1367f526.ly"><p>‘<tt>71d-ChordsFrets-Multistaff.ly</tt>’ </a> Chords and fretboards assigned to the voices in a multi-voice, multi-staff part. There should be fret diagrams above each of the two staves. <p> <a href="3a/lily-1367f526.ly"> <img align="middle" border="0" src="3a/lily-1367f526.png" alt="[image of music]"> </a> </p></p> <a name="71e-TabStaves.ly"></a> <a href="81/lily-c65ce419.ly"><p>‘<tt>71e-TabStaves.ly</tt>’ </a> Some tablature staves, with explicit fingering information and different string tunings given in the MusicXML file. <p> <a href="81/lily-c65ce419.ly"> <img align="middle" border="0" src="81/lily-c65ce419.png" alt="[image of music]"> </a> </p></p> <a name="71f-AllChordTypes.ly"></a> <a href="d1/lily-98559008.ly"><p>‘<tt>71f-AllChordTypes.ly</tt>’ </a> All chord types defined in MusicXML. The staff will only contain one c’ note (NO chord) for all of them, but the chord names should be properly printed. <p> <a href="d1/lily-98559008.ly"> <img align="middle" border="0" src="d1/lily-98559008.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">72 ... Transposing instruments</h2> <a name="72a-TransposingInstruments.ly"></a> <a href="bb/lily-57717653.ly"><p>‘<tt>72a-TransposingInstruments.ly</tt>’ </a> Transposing instruments: Trumpet in Bb, Horn in Eb, Piano; All of them show the C major scale (the trumpet with 2 sharp, the horn with 3 sharp). <p> <a href="bb/lily-57717653.ly"> <img align="middle" border="0" src="bb/lily-57717653.png" alt="[image of music]"> </a> </p></p> <a name="72b-TransposingInstruments-Full.ly"></a> <a href="c8/lily-2d31ad49.ly"><p>‘<tt>72b-TransposingInstruments-Full.ly</tt>’ </a> Various transposition. Each part plays a c”, just displayed in different display pitches. The second-to-last staff uses a transposition where the displayed c’ is an actual f”’ concert pitch. The final staff is an untransposed instrument. <p> <a href="c8/lily-2d31ad49.ly"> <img align="middle" border="0" src="c8/lily-2d31ad49.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">73 ... Percussion</h2> <a name="73a-Percussion.ly"></a> <a href="b3/lily-24b301af.ly"><p>‘<tt>73a-Percussion.ly</tt>’ </a> Three types of percussion staves: A five-line staff with bass clef for Timpani, a five-line staff with percussion clef, and a one-line percussion staff with only unpitched notes. <p> <a href="b3/lily-24b301af.ly"> <img align="middle" border="0" src="b3/lily-24b301af.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">74 ... Figured bass</h2> <a name="74a-FiguredBass.ly"></a> <a href="5c/lily-59e31d9b.ly"><p>‘<tt>74a-FiguredBass.ly</tt>’ </a> Some figured bass containing alterated figures, bracketed figures and slashed figures. The last note contains an empty <figured-bass> element, which is invalid MusicXML, to check how well applications cope with malformed files. </p> <p> Note that this file does not contain any extenders! <p> <a href="5c/lily-59e31d9b.ly"> <img align="middle" border="0" src="5c/lily-59e31d9b.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">75 ... Other instrumental notation</h2> <a name="75a-AccordionRegistrations.ly"></a> <a href="7e/lily-9ecfbd7e.ly"><p>‘<tt>75a-AccordionRegistrations.ly</tt>’ </a> All possible accordion registrations. <p> <a href="7e/lily-9ecfbd7e.ly"> <img align="middle" border="0" src="7e/lily-9ecfbd7e.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Test-cases" title="Next section in reading order" accesskey="n" rel="next"> > </a>]</td></tr></table> <h2 class="unnumberedsec">90 ... Compressed MusicXML files</h2> <a name="90a-Compressed-MusicXML.ly"></a> <a href="8b/lily-1bec0e9e.ly"><p>‘<tt>90a-Compressed-MusicXML.ly</tt>’ </a> A compressed MusicXML file, containing a simple MusicXML score and the corresponding .pdf output for reference. <p> <a href="8b/lily-1bec0e9e.ly"> <img align="middle" border="0" src="8b/lily-1bec0e9e.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="Test-cases"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="#Test-cases" title="Beginning of this chapter or previous chapter"> << Test cases </a>]</td><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[ >> ]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Test-cases" title="Previous section in reading order" accesskey="p" rel="previous"> < </a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Test-cases" title="Up section" accesskey="u" rel="up"> Up : Test cases </a>]</td><td valign="middle" align="right" colspan="2">[ > ]</td></tr></table> <h2 class="unnumberedsec">99 ... Compatibility with broken MusicXML</h2> <a name="99a-Sibelius5-IgnoreBeaming.ly"></a> <a href="1e/lily-f2d7e790.ly"><p>‘<tt>99a-Sibelius5-IgnoreBeaming.ly</tt>’ </a> Dolet 3 for Sibelius (5.1) did not print out any closing beam tags, only starting and continuing beam tags. For such files, one either needs to ignore all beaming information or close all beams <p> <a href="1e/lily-f2d7e790.ly"> <img align="middle" border="0" src="1e/lily-f2d7e790.png" alt="[image of music]"> </a> </p></p> <a name="99b-Lyrics-BeamsMelismata-IgnoreBeams.ly"></a> <a href="36/lily-160462b8.ly"><p>‘<tt>99b-Lyrics-BeamsMelismata-IgnoreBeams.ly</tt>’ </a> If we properly ignore all beaming information from the Dolet 3 for Sibelius export file, make sure that the lyrics syllables are still assigned to the correct notes. <p> <a href="36/lily-160462b8.ly"> <img align="middle" border="0" src="36/lily-160462b8.png" alt="[image of music]"> </a> </p></p> <hr size="6"> <a name="SEC_About"></a> <table class="nav_table"> <tr><td valign="middle" align="center" colspan="3">[<a href="#Top" title="Cover (top) of document" rel="start">Top</a>][Contents][Index][<a href="#SEC_About" title="About (help)" rel="help"> ? </a>]</td></tr></table> <h1>About This Document</h1> <p> This document was generated by <em>Han-Wen Nienhuys</em> on <em>January 20, 2009</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.79</em></a>. </p> <p> The buttons in the navigation panels have the following meaning: </p> <table border="1"> <tr> <th> Button </th> <th> Name </th> <th> Go to </th> <th> From 1.2.3 go to</th> </tr> <tr> <td align="center"> [] </td> <td align="center"></td> <td></td> <td></td> </tr> <tr> <td align="center"> [ << ] </td> <td align="center">FastBack</td> <td>Beginning of this chapter or previous chapter</td> <td>1</td> </tr> <tr> <td align="center"> [] </td> <td align="center"></td> <td></td> <td></td> </tr> <tr> <td align="center"> [Top] </td> <td align="center">Top</td> <td>Cover (top) of document</td> <td> </td> </tr> <tr> <td align="center"> [Contents] </td> <td align="center">Contents</td> <td>Table of contents</td> <td> </td> </tr> <tr> <td align="center"> [Index] </td> <td align="center">Index</td> <td>Index</td> <td> </td> </tr> <tr> <td align="center"> [ ? ] </td> <td align="center">About</td> <td>About (help)</td> <td> </td> </tr> <tr> <td align="center"> [] </td> <td align="center"></td> <td></td> <td></td> </tr> <tr> <td align="center"> [ >> ] </td> <td align="center">FastForward</td> <td>Next chapter</td> <td>2</td> </tr> <tr> <td align="center"> [] </td> <td align="center"></td> <td></td> <td></td> </tr> <tr> <td align="center"> [] </td> <td align="center"></td> <td></td> <td></td> </tr> <tr> <td align="center"> [ < ] </td> <td align="center">Back</td> <td>Previous section in reading order</td> <td>1.2.2</td> </tr> <tr> <td align="center"> [] </td> <td align="center"></td> <td></td> <td></td> </tr> <tr> <td align="center"> [ Up ] </td> <td align="center">Up</td> <td>Up section</td> <td>1.2</td> </tr> <tr> <td align="center"> [] </td> <td align="center"></td> <td></td> <td></td> </tr> <tr> <td align="center"> [ > ] </td> <td align="center">Forward</td> <td>Next section in reading order</td> <td>1.2.4</td> </tr> </table> <p> where the <strong> Example </strong> assumes that the current position is at <strong> Subsubsection One-Two-Three </strong> of a document of the following structure: </p> <ul> <li> 1. Section One <ul> <li>1.1 Subsection One-One <ul> <li>...</li> </ul> </li> <li>1.2 Subsection One-Two <ul> <li>1.2.1 Subsubsection One-Two-One</li> <li>1.2.2 Subsubsection One-Two-Two</li> <li>1.2.3 Subsubsection One-Two-Three <strong><== Current Position </strong></li> <li>1.2.4 Subsubsection One-Two-Four</li> </ul> </li> <li>1.3 Subsection One-Three <ul> <li>...</li> </ul> </li> <li>1.4 Subsection One-Four</li> </ul> </li> </ul> <hr size="1"> <!-- footer_tag --> <div class="footer"> <p class="footer_version"> This page is for LilyPond-2.12.2 (stable-branch). </p> <p class="footer_report"> Your <a href="http://lilypond.org/web/devel/participating/documentation-adding">suggestions for the documentation</a> are welcome, please report errors to our <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">bug list</a>. </p> </div> <!-- FOOTER --> <!-- end div#main here --> </div> <div id="tocframe"> <p class="toc_uplink"><a href="../../../Documentation/devel.html" title="Documentation Index"><< Back to Documentation Index</a></p> <h4 class="toc_header"> <a href="#Top" title="Start of the manual">Unofficial MusicXML test suite</a></h4> <div class="contents"> <ul class="toc"> <li><a name="toc-Introduction-1" href="collated-files.html#Introduction">1. Introduction</a> </li> <li><a name="toc-Test-cases-1" href="collated-files.html#Test-cases">2. Test cases</a> <ul class="toc"> <li><a name="toc-01-_002e_002e_002e-Pitches" href="collated-files.html#Test-cases">01 ... Pitches</a> </li> <li><a name="toc-02-_002e_002e_002e-Rests" href="collated-files.html#Test-cases">02 ... Rests</a> </li> <li><a name="toc-03-_002e_002e_002e-Rhythm" href="collated-files.html#Test-cases">03 ... Rhythm</a> </li> <li><a name="toc-11-_002e_002e_002e-Time-signatures" href="collated-files.html#Test-cases">11 ... Time signatures</a> </li> <li><a name="toc-12-_002e_002e_002e-Clefs" href="collated-files.html#Test-cases">12 ... Clefs</a> </li> <li><a name="toc-13-_002e_002e_002e-Key-signatures" href="collated-files.html#Test-cases">13 ... Key signatures</a> </li> <li><a name="toc-21-_002e_002e_002e-Chorded-notes" href="collated-files.html#Test-cases">21 ... Chorded notes</a> </li> <li><a name="toc-22-_002e_002e_002e-Note-settings_002c-heads_002c-etc_002e" href="collated-files.html#Test-cases">22 ... Note settings, heads, etc.</a> </li> <li><a name="toc-23-_002e_002e_002e-Triplets_002c-Tuplets" href="collated-files.html#Test-cases">23 ... Triplets, Tuplets</a> </li> <li><a name="toc-24-_002e_002e_002e-Grace-notes" href="collated-files.html#Test-cases">24 ... Grace notes</a> </li> <li><a name="toc-31-_002e_002e_002e-Dynamics-and-other-single-symbols" href="collated-files.html#Test-cases">31 ... Dynamics and other single symbols</a> </li> <li><a name="toc-32-_002e_002e_002e-Notations-and-Articulations" href="collated-files.html#Test-cases">32 ... Notations and Articulations</a> </li> <li><a name="toc-33-_002e_002e_002e-Spanners" href="collated-files.html#Test-cases">33 ... Spanners</a> </li> <li><a name="toc-41-_002e_002e_002e-Multiple-parts-_0028staves_0029" href="collated-files.html#Test-cases">41 ... Multiple parts (staves)</a> </li> <li><a name="toc-42-_002e_002e_002e-Multiple-voices-per-staff" href="collated-files.html#Test-cases">42 ... Multiple voices per staff</a> </li> <li><a name="toc-43-_002e_002e_002e-One-part-on-multiple-staves" href="collated-files.html#Test-cases">43 ... One part on multiple staves</a> </li> <li><a name="toc-45-_002e_002e_002e-Repeats" href="collated-files.html#Test-cases">45 ... Repeats</a> </li> <li><a name="toc-46-_002e_002e_002e-Barlines_002c-Measures" href="collated-files.html#Test-cases">46 ... Barlines, Measures</a> </li> <li><a name="toc-51-_002e_002e_002e-Header-information" href="collated-files.html#Test-cases">51 ... Header information</a> </li> <li><a name="toc-52-_002e_002e_002e-Page-layout" href="collated-files.html#Test-cases">52 ... Page layout</a> </li> <li><a name="toc-61-_002e_002e_002e-Lyrics" href="collated-files.html#Test-cases">61 ... Lyrics</a> </li> <li><a name="toc-71-_002e_002e_002e-Guitar-notation" href="collated-files.html#Test-cases">71 ... Guitar notation</a> </li> <li><a name="toc-72-_002e_002e_002e-Transposing-instruments" href="collated-files.html#Test-cases">72 ... Transposing instruments</a> </li> <li><a name="toc-73-_002e_002e_002e-Percussion" href="collated-files.html#Test-cases">73 ... Percussion</a> </li> <li><a name="toc-74-_002e_002e_002e-Figured-bass" href="collated-files.html#Test-cases">74 ... Figured bass</a> </li> <li><a name="toc-75-_002e_002e_002e-Other-instrumental-notation" href="collated-files.html#Test-cases">75 ... Other instrumental notation</a> </li> <li><a name="toc-90-_002e_002e_002e-Compressed-MusicXML-files" href="collated-files.html#Test-cases">90 ... Compressed MusicXML files</a> </li> <li><a name="toc-99-_002e_002e_002e-Compatibility-with-broken-MusicXML" href="collated-files.html#Test-cases">99 ... Compatibility with broken MusicXML</a> </li> </ul> </li> </ul> </div> </div> </body> </html>