This commit adds ties to the Humdrum importer.  Only ties which are complete are converted.  Ties will first try to link notes within the same staff/layer.  If no end tie is found in the current layer, then other layers on the same staff will be searched for an ending.  Starting and ending notes must be the same pitch, the ending pitch must come at the expected rhythmic position.

Here is the current test reference image:

http://kern.humdrum.org/data?file=chor001.krn&l=chorales&format=pdf

![screen shot 2016-06-19 at 9 05 49 pm](https://cloud.githubusercontent.com/assets/3487289/16183054/c72d5464-3661-11e6-8902-fdd46c2a7347.png)

Command line to produce SVG from verovio:

```bash
satb2gs h://chorales/chor001.krn | grep -v '\*I'  | ./verovio -f humdrum -o chor001gs.svg -
```

Output appears to be all correct (ties, accidentals, diatonic pitches, beams):

![screen shot 2016-06-19 at 9 11 39 pm](https://cloud.githubusercontent.com/assets/3487289/16183109/8adba956-3662-11e6-8482-4f6a5c74a0af.png)

Here is the MEI output from verovio:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://music-encoding.org/schema/2.1.1/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://music-encoding.org/schema/2.1.1/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="2013">
    <meiHead>
        <fileDesc>
            <titleStmt>
                <title />
            </titleStmt>
            <pubStmt>
                <date>2016-06-19 20:58:58</date>
            </pubStmt>
        </fileDesc>
        <encodingDesc>
            <projectDesc>

Encoded with Verovio version 0.9.12-dev-a6d7c10

            </projectDesc>
        </encodingDesc>
    </meiHead>
    <music>

            <mdiv>
                <score>
                    <scoreDef xml:id="scoredef-000000213978067">
                        <staffGrp xml:id="m-000000028082549" symbol="brace">
                            <staffDef xml:id="staffdef-000000181253881" clef.shape="G" clef.line="2" key.sig="1s" meter.count="3" meter.unit="4" n="1" lines="5" />
                            <staffDef xml:id="staffdef-000000128429739" clef.shape="F" clef.line="4" key.sig="1s" meter.count="3" meter.unit="4" n="2" lines="5" />
                        </staffGrp>
                    </scoreDef>

                        <measure xml:id="measure-000000082819857" n="0">
                            <staff xml:id="staff-000000178551504" n="1">

                                <layer xml:id="layer-000000021492855" n="1">
                                    <note xml:id="note-000000023678005" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000027513607" n="2">
                                    <note xml:id="note-000000067968692" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000103254604" n="2">

                                <layer xml:id="layer-000000018606052" n="1">
                                    <note xml:id="note-000000038300322" dur="4" oct="3" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000112666209" n="2">
                                    <note xml:id="note-000000144651506" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000206383022" n="1">
                            <staff xml:id="staff-000000185259958" n="1">

                                <layer xml:id="layer-000000027582724" n="1">
                                    <note xml:id="note-000000155874606" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000069215512" dur="4" oct="5" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000013223646" n="2">
                                    <note xml:id="note-000000200012583" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000155339916" dur="4" oct="4" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000102100234" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000159212330" n="2">

                                <layer xml:id="layer-000000117016232" n="1">
                                    <note xml:id="note-000000026290662" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <beam xml:id="beam-000000129783491">
                                        <note xml:id="note-000000072004744" dur="8" oct="4" pname="c" accid.ges="n" />
                                        <note xml:id="note-000000076697323" dur="8" oct="3" pname="b" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000132231135" dur="4" oct="3" pname="a" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000192609710" n="2">
                                    <note xml:id="note-000000074548162" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000089014200" dur="4" oct="3" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000124559303" dur="4" oct="3" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000101151467" n="2">
                            <staff xml:id="staff-000000000347503" n="1">

                                <layer xml:id="layer-000000042288839" n="1">
                                    <note xml:id="note-000000146178280" dots="1" dur="4" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000097071556" dur="8" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000038330192" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000185197931" n="2">
                                    <note xml:id="note-000000058836758" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000167932392" dur="4" oct="3" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000001956772" n="2">

                                <layer xml:id="layer-000000030977289" n="1">
                                    <note xml:id="note-000000085261870" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000195174937" dur="4" oct="3" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000023910492" dur="4" oct="3" pname="g" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000069462135" n="2">
                                    <note xml:id="note-000000078007562" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000034329721" dur="4" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000165516624" dur="4" oct="3" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000202334970" n="3">
                            <staff xml:id="staff-000000125851793" n="1">

                                <layer xml:id="layer-000000134446062" n="1">
                                    <note xml:id="note-000000052684106" dots="1" dur="4" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000054265245" dur="8" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000214421240" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000085487775" n="2">
                                    <beam xml:id="beam-000000126484666">
                                        <note xml:id="note-000000033722658" dur="8" oct="4" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000055780243" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000121938908" dur="8" oct="4" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000083587466" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <note xml:id="note-000000185487559" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000202147169" n="2">

                                <layer xml:id="layer-000000168354955" n="1">
                                    <beam xml:id="beam-000000017280439">
                                        <note xml:id="note-000000092564324" dur="8" oct="4" pname="c" accid.ges="n" />
                                        <note xml:id="note-000000091454707" dur="8" oct="3" pname="b" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000125222794" dur="4" oct="4" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000085534782" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000057531133" n="2">
                                    <note xml:id="note-000000128624535" dur="4" oct="3" pname="c" accid.ges="n" />
                                    <beam xml:id="beam-000000135534120">
                                        <note xml:id="note-000000086057189" dur="8" oct="2" pname="b" accid.ges="n" />
                                        <note xml:id="note-000000032954394" dur="8" oct="2" pname="a" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000028480842" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000003411619" n="4">
                            <staff xml:id="staff-000000120144531" n="1">

                                <layer xml:id="layer-000000205017691" n="1">
                                    <note xml:id="note-000000094834471" dur="2" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000020592974" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000146503528" n="2">
                                    <note xml:id="note-000000194800533" dur="2" oct="4" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000173743321" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000170491305" n="2">

                                <layer xml:id="layer-000000059937985" n="1">
                                    <note xml:id="note-000000207883452" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000156032459" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000145268826" n="2">
                                    <note xml:id="note-000000059003669" dur="2" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000181466743" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000055287577" n="5">
                            <staff xml:id="staff-000000146149220" n="1">

                                <layer xml:id="layer-000000038146782" n="1">
                                    <note xml:id="note-000000109098125" dur="2" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000090652427" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000170454852" n="2">
                                    <note xml:id="note-000000091525911" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000033459915" dur="4" oct="4" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000149574301" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000050921409" n="2">

                                <layer xml:id="layer-000000063896137" n="1">
                                    <note xml:id="note-000000160551059" dur="4" oct="3" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000068446157" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000182327769" dur="4" oct="4" pname="c" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000138402720" n="2">
                                    <note xml:id="note-000000194990419" dur="4" oct="2" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000143941937" dur="4" oct="2" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000091811855" dur="4" oct="2" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000114856699" n="6">
                            <staff xml:id="staff-000000209268255" n="1">

                                <layer xml:id="layer-000000022853131" n="1">
                                    <note xml:id="note-000000122511759" dur="4" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000047824534" dur="2" oct="4" pname="a" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000198567272" n="2">
                                    <note xml:id="note-000000130564830" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000104322431" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000141460171" n="2">

                                <layer xml:id="layer-000000041950084" n="1">
                                    <note xml:id="note-000000036180477" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000132671599" dur="4" oct="4" pname="e" accid.ges="n" />
                                    <beam xml:id="beam-000000079303797">
                                        <note xml:id="note-000000130566531" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000132904415" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                </layer>

                                <layer xml:id="layer-000000126776786" n="2">
                                    <note xml:id="note-000000004177832" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000208868977" dur="4" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000184133775" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000212431182" n="7" right="rptend">
                            <staff xml:id="staff-000000173721068" n="1">

                                <layer xml:id="layer-000000011223414" n="1">
                                    <note xml:id="note-000000082868337" dur="2" oct="4" pname="g" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000124994879" n="2">
                                    <note xml:id="note-000000120436261" dur="2" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000168903010" n="2">

                                <layer xml:id="layer-000000209007826" n="1">
                                    <note xml:id="note-000000155543629" dur="2" oct="3" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000089940874" n="2">
                                    <note xml:id="note-000000022543640" dur="2" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000074847191">
                            <staff xml:id="staff-000000079373457" n="1">

                                <layer xml:id="layer-000000012865408" n="1">
                                    <note xml:id="note-000000192072494" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000064990168" n="2">
                                    <note xml:id="note-000000079575753" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000191628810" n="2">

                                <layer xml:id="layer-000000124190986" n="1">
                                    <note xml:id="note-000000138560309" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000051846556" n="2">
                                    <note xml:id="note-000000150954465" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000141475934" startid="note-000000079575753" endid="note-000000153361774" />
                        </measure>
                        <measure xml:id="measure-000000054521092" n="8">
                            <staff xml:id="staff-000000082617531" n="1">

                                <layer xml:id="layer-000000204677496" n="1">
                                    <note xml:id="note-000000175376230" dur="4" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000126995463" dur="4" oct="5" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000028765014" dur="4" oct="5" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000055021358" n="2">
                                    <beam xml:id="beam-000000037510549">
                                        <note xml:id="note-000000153361774" dur="8" oct="4" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000092132141" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <beam xml:id="beam-000000129184300">
                                        <note xml:id="note-000000094562983" dur="8" oct="4" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000182156501" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <note xml:id="note-000000051625143" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000080398458" n="2">

                                <layer xml:id="layer-000000060182997" n="1">
                                    <note xml:id="note-000000030846287" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000031003307" dur="4" oct="4" pname="c" accid.ges="n" />
                                    <beam xml:id="beam-000000093054709">
                                        <note xml:id="note-000000172912501" dur="8" oct="3" pname="b" accid.ges="n" />
                                        <note xml:id="note-000000165546632" dur="8" oct="3" pname="a" accid.ges="n" />
                                    </beam>
                                </layer>

                                <layer xml:id="layer-000000062434332" n="2">
                                    <note xml:id="note-000000073311361" dur="4" oct="2" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000132679404" dur="4" oct="2" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000210480751" dur="4" oct="2" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000002800180" startid="note-000000051625143" endid="note-000000079653960" />
                        </measure>
                        <measure xml:id="measure-000000000177076" n="9">
                            <staff xml:id="staff-000000138016762" n="1">

                                <layer xml:id="layer-000000150645254" n="1">
                                    <note xml:id="note-000000011579291" dots="1" dur="4" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000051130460" dur="8" oct="5" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000141449181" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000071997922" n="2">
                                    <beam xml:id="beam-000000176791695">
                                        <note xml:id="note-000000079653960" dur="8" oct="4" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000032736752" dur="8" oct="4" pname="a" accid.ges="n" />
                                    </beam>
                                    <beam xml:id="beam-000000021282183">
                                        <note xml:id="note-000000133627497" dur="8" oct="4" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000038954130" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <note xml:id="note-000000149057388" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000167855974" n="2">

                                <layer xml:id="layer-000000006099719" n="1">
                                    <beam xml:id="beam-000000083007271">
                                        <note xml:id="note-000000097828286" dur="8" oct="3" pname="b" accid.ges="n" />
                                        <note xml:id="note-000000086531062" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000051638327" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000087231901" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000019477661" n="2">
                                    <note xml:id="note-000000084549027" dots="1" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000025579334" dur="8" oct="2" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000200388773" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000035509263" n="10">
                            <staff xml:id="staff-000000109633670" n="1">

                                <layer xml:id="layer-000000072134328" n="1">
                                    <note xml:id="note-000000107147090" dur="2" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000156117066" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000064010038" n="2">
                                    <note xml:id="note-000000142151564" dur="2" oct="4" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000065785583" dur="4" oct="4" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000133717047" n="2">

                                <layer xml:id="layer-000000040780747" n="1">
                                    <note xml:id="note-000000139983071" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000127144050" dur="4" oct="3" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000163829669" n="2">
                                    <note xml:id="note-000000196466425" dur="2" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000040361112" dur="4" oct="3" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000128875072" startid="note-000000040361112" endid="note-000000092055458" />
                        </measure>
                        <measure xml:id="measure-000000173885426" n="11">
                            <staff xml:id="staff-000000206348168" n="1">

                                <layer xml:id="layer-000000122323077" n="1">
                                    <note xml:id="note-000000097873311" dur="2" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000199021143" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000027825195" n="2">
                                    <note xml:id="note-000000150865774" dur="4" oct="4" pname="e" accid.ges="n" />
                                    <beam xml:id="beam-000000067130008">
                                        <note xml:id="note-000000180894771" dur="8" oct="4" pname="f" accid.ges="s" />
                                        <note xml:id="note-000000105818819" dur="8" oct="4" pname="g" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000165696297" dur="4" oct="4" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000000885375" n="2">

                                <layer xml:id="layer-000000062872225" n="1">
                                    <note xml:id="note-000000131541335" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000195554484" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000175249303" dur="4" oct="4" pname="e" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000141220383" n="2">
                                    <note xml:id="note-000000092055458" dur="4" oct="3" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000051330420" dur="4" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000066196343" dur="4" oct="3" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000165417739" n="12">
                            <staff xml:id="staff-000000069902076" n="1">

                                <layer xml:id="layer-000000170648187" n="1">
                                    <note xml:id="note-000000119683466" dur="2" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000186842727" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000000382403" n="2">
                                    <note xml:id="note-000000199356409" dur="4" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000079190097" dots="1" dur="4" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000152357678" dur="8" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000016005228" n="2">

                                <layer xml:id="layer-000000134916072" n="1">
                                    <note xml:id="note-000000006444278" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000075817982" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000170789154" n="2">
                                    <note xml:id="note-000000126677101" dots="1" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000046753913" dur="8" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000028754395" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000091309635" n="13">
                            <staff xml:id="staff-000000016586859" n="1">

                                <layer xml:id="layer-000000031976958" n="1">
                                    <note xml:id="note-000000136336391" dots="1" dur="2" oct="4" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000040680591" n="2">
                                    <note xml:id="note-000000174656500" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000056405138" dur="4" accid="n" oct="4" pname="f" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000101880983" n="2">

                                <layer xml:id="layer-000000124981292" n="1">
                                    <note xml:id="note-000000106832958" dots="1" dur="2" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000030462975" n="2">
                                    <beam xml:id="beam-000000031129464">
                                        <note xml:id="note-000000065891761" dur="8" oct="2" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000200268818" dur="8" oct="2" pname="a" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000166904182" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000115462288" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000108466113" n="14">
                            <staff xml:id="staff-000000062540947" n="1">

                                <layer xml:id="layer-000000147202748" n="1">
                                    <note xml:id="note-000000135434376" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000127643338" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000180168458" n="2">
                                    <note xml:id="note-000000139338058" dur="2" oct="4" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000023837198" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000126088301" n="2">

                                <layer xml:id="layer-000000029215408" n="1">
                                    <note xml:id="note-000000108613997" dur="2" oct="4" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000114354351" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000170475002" n="2">
                                    <note xml:id="note-000000000681828" dur="2" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000077831631" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000083946274" n="15">
                            <staff xml:id="staff-000000149283446" n="1">

                                <layer xml:id="layer-000000101743896" n="1">
                                    <note xml:id="note-000000183193776" dur="2" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000090491889" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000049268021" n="2">
                                    <note xml:id="note-000000192684709" dots="1" dur="4" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000046567848" dur="8" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000122787092" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000165618841" n="2">

                                <layer xml:id="layer-000000202317575" n="1">
                                    <beam xml:id="beam-000000025879726">
                                        <note xml:id="note-000000095126448" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000203396474" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000120070904" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000041302122" dur="4" oct="4" pname="c" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000098063189" n="2">
                                    <note xml:id="note-000000169070176" dur="4" oct="2" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000012096405" dur="4" oct="2" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000152339274" dur="4" oct="2" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000136180887" n="16">
                            <staff xml:id="staff-000000146964512" n="1">

                                <layer xml:id="layer-000000211615811" n="1">
                                    <note xml:id="note-000000179274403" dur="2" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000145336160" dur="4" oct="4" pname="a" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000116952787" n="2">
                                    <note xml:id="note-000000033710690" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000069390835" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000168153608" n="2">

                                <layer xml:id="layer-000000069213565" n="1">
                                    <note xml:id="note-000000195250462" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <beam xml:id="beam-000000004763937">
                                        <note xml:id="note-000000181105894" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000003440880" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                </layer>

                                <layer xml:id="layer-000000063575182" n="2">
                                    <note xml:id="note-000000134969491" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000045267314" dur="4" oct="2" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000169045353" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000089976516" startid="note-000000069390835" endid="note-000000207700639" />
                        </measure>
                        <measure xml:id="measure-000000024389612" n="17">
                            <staff xml:id="staff-000000070885173" n="1">

                                <layer xml:id="layer-000000157937065" n="1">
                                    <note xml:id="note-000000158475527" dots="1" dur="4" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000188978405" dur="8" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000031754048" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000040603498" n="2">
                                    <beam xml:id="beam-000000167446318">
                                        <note xml:id="note-000000207700639" dur="8" oct="4" pname="f" accid.ges="s" />
                                        <note xml:id="note-000000192078643" dur="8" oct="4" pname="e" accid.ges="n" />
                                    </beam>
                                    <beam xml:id="beam-000000168343134">
                                        <note xml:id="note-000000033349896" dur="8" oct="4" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000018473566" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <note xml:id="note-000000173843493" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000136090149" n="2">

                                <layer xml:id="layer-000000197060272" n="1">
                                    <note xml:id="note-000000142714462" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000077477499" dur="4" oct="4" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000145002281" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000088907597" n="2">
                                    <beam xml:id="beam-000000050861196">
                                        <note xml:id="note-000000125636388" dur="8" oct="3" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000164864831" dur="8" oct="3" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000199816619" dur="8" oct="3" pname="c" accid.ges="n" />
                                        <note xml:id="note-000000082988354" dur="8" oct="2" pname="b" accid.ges="n" />
                                        <note xml:id="note-000000209392039" dur="8" oct="2" pname="a" accid.ges="n" />
                                        <note xml:id="note-000000170547134" dur="8" oct="2" pname="g" accid.ges="n" />
                                    </beam>
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000139259167" n="18">
                            <staff xml:id="staff-000000028182955" n="1">

                                <layer xml:id="layer-000000150785563" n="1">
                                    <note xml:id="note-000000007515600" dur="2" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000042659159" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000142459070" n="2">
                                    <note xml:id="note-000000080083214" dur="2" oct="4" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000130586207" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000034098857" n="2">

                                <layer xml:id="layer-000000150854260" n="1">
                                    <note xml:id="note-000000088355852" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000011871067" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000015792262" n="2">
                                    <note xml:id="note-000000206328794" dur="2" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000011454305" dur="4" oct="3" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000146370605" startid="note-000000011454305" endid="note-000000190671831" />
                        </measure>
                        <measure xml:id="measure-000000097972725" n="19">
                            <staff xml:id="staff-000000099955945" n="1">

                                <layer xml:id="layer-000000197863973" n="1">
                                    <note xml:id="note-000000121378596" dur="2" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000115353409" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000211265319" n="2">
                                    <note xml:id="note-000000086764567" dur="2" oct="4" pname="a" accid.ges="n" />
                                    <beam xml:id="beam-000000110687978">
                                        <note xml:id="note-000000182524660" dur="8" oct="4" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000011574241" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000181013559" n="2">

                                <layer xml:id="layer-000000169565218" n="1">
                                    <note xml:id="note-000000171826079" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000159663077" dur="4" oct="4" pname="e" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000176529977" n="2">
                                    <note xml:id="note-000000190671831" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000108252361" dur="4" oct="3" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000049292311" dur="4" oct="3" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000211948474" startid="note-000000049292311" endid="note-000000124783110" />
                        </measure>
                        <measure xml:id="measure-000000171435051" n="20">
                            <staff xml:id="staff-000000206963418" n="1">

                                <layer xml:id="layer-000000154915045" n="1">
                                    <note xml:id="note-000000047987692" dur="4" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000149033356" dur="2" oct="4" pname="a" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000193451922" n="2">
                                    <note xml:id="note-000000056214857" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000125052006" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000006827926" n="2">

                                <layer xml:id="layer-000000081335616" n="1">
                                    <note xml:id="note-000000134363519" dur="2" oct="4" pname="e" accid.ges="n" />
                                    <beam xml:id="beam-000000168614054">
                                        <note xml:id="note-000000076995081" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000197429049" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                </layer>

                                <layer xml:id="layer-000000113051966" n="2">
                                    <beam xml:id="beam-000000185623506">
                                        <note xml:id="note-000000124783110" dur="8" oct="3" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000186885642" dur="8" oct="3" pname="d" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000077413076" dur="4" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000135974979" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000194130003" n="21" right="end">
                            <staff xml:id="staff-000000108239289" n="1">

                                <layer xml:id="layer-000000044336210" n="1">
                                    <note xml:id="note-000000196616090" dur="2" oct="4" pname="g" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000193547075" n="2">
                                    <note xml:id="note-000000152214456" dur="2" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000185845047" n="2">

                                <layer xml:id="layer-000000197488732" n="1">
                                    <note xml:id="note-000000042397282" dur="2" oct="3" pname="b" accid.ges="n" />
                                </layer>

                                <layer xml:id="layer-000000036047860" n="2">
                                    <note xml:id="note-000000051259646" dur="2" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>

                </score>
            </mdiv>

    </music>
</mei>
```

Main notational complaint:

![screen shot 2016-06-19 at 9 14 01 pm](https://cloud.githubusercontent.com/assets/3487289/16183163/2de9cd76-3663-11e6-9e84-72fa02ba1701.png)

This seems to be the same as this issue (from last year, but marked "high priority" (!)):

https://github.com/rism-ch/verovio/issues/96

Secondary complaint: The slurs are a bit difficult to read due to two problems:

(1) the ties hug staff lines too much:

![screen shot 2016-06-19 at 9 19 10 pm](https://cloud.githubusercontent.com/assets/3487289/16183198/942274a8-3663-11e6-8642-ab5185876b02.png)

(2) The ties start/stop a bit too close to the noteheads.  I'll look to see what rules there are for this and submit a issue later :-)

Moderately high complaint (mentioned previously): The stem lengths of notes in this layout are not using the standard (and very required) shortening as the get farther off of the staff.

SATB layout:

```bash
humcat  h://chorales/chor001.krn  | ./verovio -f humdrum -o chor001.svg -h 4000 --adjust-page-height -
```

![screen shot 2016-06-19 at 9 27 24 pm](https://cloud.githubusercontent.com/assets/3487289/16183265/b215121c-3664-11e6-8f83-88c6ae7e41ee.png)

Here is the MEI output from verovio for the SATB layout:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://music-encoding.org/schema/2.1.1/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://music-encoding.org/schema/2.1.1/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="2013">
    <meiHead>
        <fileDesc>
            <titleStmt>
                <title />
            </titleStmt>
            <pubStmt>
                <date>2016-06-19 21:29:06</date>
            </pubStmt>
        </fileDesc>
        <encodingDesc>
            <projectDesc>

Encoded with Verovio version 0.9.12-dev-a6d7c10

            </projectDesc>
        </encodingDesc>
    </meiHead>
    <music>

            <mdiv>
                <score>
                    <scoreDef xml:id="scoredef-000000147144763">
                        <staffGrp xml:id="m-000000025948587" symbol="bracket">
                            <staffDef xml:id="staffdef-000000178731452" clef.shape="G" clef.line="2" key.sig="1s" meter.count="3" meter.unit="4" n="1" label="Soprano" lines="5" />
                            <staffDef xml:id="staffdef-000000039391701" clef.shape="G" clef.line="2" key.sig="1s" meter.count="3" meter.unit="4" n="2" label="Alto" lines="5" />
                            <staffDef xml:id="staffdef-000000201872147" clef.shape="G" clef.line="2" clef.dis="8" clef.dis.place="below" key.sig="1s" meter.count="3" meter.unit="4" n="3" label="Tenor" lines="5" />
                            <staffDef xml:id="staffdef-000000055764095" clef.shape="F" clef.line="4" key.sig="1s" meter.count="3" meter.unit="4" n="4" label="Bass" lines="5" />
                        </staffGrp>
                    </scoreDef>

                        <measure xml:id="measure-000000065282794" n="0">
                            <staff xml:id="staff-000000192024229" n="1">

                                <layer xml:id="layer-000000112802175" n="1">
                                    <note xml:id="note-000000067601737" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000163554580" n="2">

                                <layer xml:id="layer-000000082761261" n="1">
                                    <note xml:id="note-000000043362187" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000147090608" n="3">

                                <layer xml:id="layer-000000183425955" n="1">
                                    <note xml:id="note-000000127262181" dur="4" oct="3" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000001770377" n="4">

                                <layer xml:id="layer-000000119465356" n="1">
                                    <note xml:id="note-000000171776711" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000188926879" n="1">
                            <staff xml:id="staff-000000051425699" n="1">

                                <layer xml:id="layer-000000164310263" n="1">
                                    <note xml:id="note-000000113368563" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000137958487" dur="4" oct="5" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000030205746" n="2">

                                <layer xml:id="layer-000000002848955" n="1">
                                    <note xml:id="note-000000208256444" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000197213150" dur="4" oct="4" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000135154631" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000150439869" n="3">

                                <layer xml:id="layer-000000210385712" n="1">
                                    <note xml:id="note-000000120836798" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <beam xml:id="beam-000000028787421">
                                        <note xml:id="note-000000002129162" dur="8" oct="4" pname="c" accid.ges="n" />
                                        <note xml:id="note-000000136598874" dur="8" oct="3" pname="b" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000157265078" dur="4" oct="3" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000031301621" n="4">

                                <layer xml:id="layer-000000167614123" n="1">
                                    <note xml:id="note-000000021517126" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000002097250" dur="4" oct="3" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000029748939" dur="4" oct="3" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000056228112" n="2">
                            <staff xml:id="staff-000000045861297" n="1">

                                <layer xml:id="layer-000000058952897" n="1">
                                    <note xml:id="note-000000187133517" dots="1" dur="4" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000163234313" dur="8" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000068752994" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000185369752" n="2">

                                <layer xml:id="layer-000000154906926" n="1">
                                    <note xml:id="note-000000126280023" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000030273357" dur="4" oct="3" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000065438486" n="3">

                                <layer xml:id="layer-000000098260254" n="1">
                                    <note xml:id="note-000000045164435" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000157938195" dur="4" oct="3" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000177459034" dur="4" oct="3" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000128702207" n="4">

                                <layer xml:id="layer-000000152467152" n="1">
                                    <note xml:id="note-000000137936063" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000082823988" dur="4" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000023878095" dur="4" oct="3" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000169205808" n="3">
                            <staff xml:id="staff-000000132595165" n="1">

                                <layer xml:id="layer-000000083172789" n="1">
                                    <note xml:id="note-000000087965613" dots="1" dur="4" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000110323499" dur="8" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000069678638" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000066037837" n="2">

                                <layer xml:id="layer-000000078387773" n="1">
                                    <beam xml:id="beam-000000196841825">
                                        <note xml:id="note-000000122001294" dur="8" oct="4" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000058367144" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000006067661" dur="8" oct="4" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000188468685" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <note xml:id="note-000000054817873" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000053515351" n="3">

                                <layer xml:id="layer-000000066361296" n="1">
                                    <beam xml:id="beam-000000146059111">
                                        <note xml:id="note-000000026925052" dur="8" oct="4" pname="c" accid.ges="n" />
                                        <note xml:id="note-000000054556306" dur="8" oct="3" pname="b" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000167066037" dur="4" oct="4" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000044027171" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000156553328" n="4">

                                <layer xml:id="layer-000000094824433" n="1">
                                    <note xml:id="note-000000066642757" dur="4" oct="3" pname="c" accid.ges="n" />
                                    <beam xml:id="beam-000000152098349">
                                        <note xml:id="note-000000167181745" dur="8" oct="2" pname="b" accid.ges="n" />
                                        <note xml:id="note-000000055987841" dur="8" oct="2" pname="a" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000175068020" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000100875788" n="4">
                            <staff xml:id="staff-000000044559084" n="1">

                                <layer xml:id="layer-000000076992205" n="1">
                                    <note xml:id="note-000000149098840" dur="2" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000005541237" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000145541789" n="2">

                                <layer xml:id="layer-000000136982193" n="1">
                                    <note xml:id="note-000000157256570" dur="2" oct="4" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000103056030" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000117144988" n="3">

                                <layer xml:id="layer-000000042817511" n="1">
                                    <note xml:id="note-000000012142309" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000064847620" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000046011933" n="4">

                                <layer xml:id="layer-000000013698327" n="1">
                                    <note xml:id="note-000000017534930" dur="2" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000074822225" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000185473702" n="5">
                            <staff xml:id="staff-000000172710618" n="1">

                                <layer xml:id="layer-000000208466163" n="1">
                                    <note xml:id="note-000000071241544" dur="2" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000134508570" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000029507515" n="2">

                                <layer xml:id="layer-000000078845639" n="1">
                                    <note xml:id="note-000000161244474" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000126260368" dur="4" oct="4" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000129425140" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000062145295" n="3">

                                <layer xml:id="layer-000000154677209" n="1">
                                    <note xml:id="note-000000130907053" dur="4" oct="3" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000057855184" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000206237213" dur="4" oct="4" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000190247759" n="4">

                                <layer xml:id="layer-000000105688536" n="1">
                                    <note xml:id="note-000000123513563" dur="4" oct="2" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000134775277" dur="4" oct="2" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000002331364" dur="4" oct="2" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000099034053" n="6">
                            <staff xml:id="staff-000000185479280" n="1">

                                <layer xml:id="layer-000000063008739" n="1">
                                    <note xml:id="note-000000063701802" dur="4" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000115591545" dur="2" oct="4" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000133404865" n="2">

                                <layer xml:id="layer-000000162640267" n="1">
                                    <note xml:id="note-000000177793332" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000163789530" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000166097027" n="3">

                                <layer xml:id="layer-000000078748457" n="1">
                                    <note xml:id="note-000000031148514" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000171315066" dur="4" oct="4" pname="e" accid.ges="n" />
                                    <beam xml:id="beam-000000160992090">
                                        <note xml:id="note-000000179418178" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000199532254" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000028141587" n="4">

                                <layer xml:id="layer-000000099765404" n="1">
                                    <note xml:id="note-000000001921853" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000088343792" dur="4" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000023923650" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000075851873" n="7" right="rptend">
                            <staff xml:id="staff-000000007915140" n="1">

                                <layer xml:id="layer-000000100530314" n="1">
                                    <note xml:id="note-000000187617429" dur="2" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000135897035" n="2">

                                <layer xml:id="layer-000000172620425" n="1">
                                    <note xml:id="note-000000195830965" dur="2" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000097599766" n="3">

                                <layer xml:id="layer-000000111262625" n="1">
                                    <note xml:id="note-000000176935335" dur="2" oct="3" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000131579428" n="4">

                                <layer xml:id="layer-000000191540122" n="1">
                                    <note xml:id="note-000000136846962" dur="2" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000031911119">
                            <staff xml:id="staff-000000082838696" n="1">

                                <layer xml:id="layer-000000056320364" n="1">
                                    <note xml:id="note-000000180314515" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000017132639" n="2">

                                <layer xml:id="layer-000000185460017" n="1">
                                    <note xml:id="note-000000168742143" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000082308299" n="3">

                                <layer xml:id="layer-000000161365941" n="1">
                                    <note xml:id="note-000000020272590" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000130525480" n="4">

                                <layer xml:id="layer-000000087208714" n="1">
                                    <note xml:id="note-000000059273843" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000167913841" startid="note-000000168742143" endid="note-000000133047414" />
                        </measure>
                        <measure xml:id="measure-000000212568864" n="8">
                            <staff xml:id="staff-000000213689074" n="1">

                                <layer xml:id="layer-000000020628920" n="1">
                                    <note xml:id="note-000000106411259" dur="4" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000029662237" dur="4" oct="5" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000102262790" dur="4" oct="5" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000099553878" n="2">

                                <layer xml:id="layer-000000097518168" n="1">
                                    <beam xml:id="beam-000000028335227">
                                        <note xml:id="note-000000133047414" dur="8" oct="4" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000119675248" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <beam xml:id="beam-000000048717759">
                                        <note xml:id="note-000000178614318" dur="8" oct="4" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000003464249" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <note xml:id="note-000000026836193" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000064338284" n="3">

                                <layer xml:id="layer-000000075531327" n="1">
                                    <note xml:id="note-000000077429147" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000191336953" dur="4" oct="4" pname="c" accid.ges="n" />
                                    <beam xml:id="beam-000000158169498">
                                        <note xml:id="note-000000199508075" dur="8" oct="3" pname="b" accid.ges="n" />
                                        <note xml:id="note-000000051250099" dur="8" oct="3" pname="a" accid.ges="n" />
                                    </beam>
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000004726442" n="4">

                                <layer xml:id="layer-000000195175884" n="1">
                                    <note xml:id="note-000000039821679" dur="4" oct="2" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000127066312" dur="4" oct="2" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000145778972" dur="4" oct="2" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000007679879" startid="note-000000026836193" endid="note-000000077354333" />
                        </measure>
                        <measure xml:id="measure-000000043091222" n="9">
                            <staff xml:id="staff-000000031699831" n="1">

                                <layer xml:id="layer-000000203123564" n="1">
                                    <note xml:id="note-000000042994915" dots="1" dur="4" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000202047638" dur="8" oct="5" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000213515952" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000117437849" n="2">

                                <layer xml:id="layer-000000025721630" n="1">
                                    <beam xml:id="beam-000000014992395">
                                        <note xml:id="note-000000077354333" dur="8" oct="4" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000011964210" dur="8" oct="4" pname="a" accid.ges="n" />
                                    </beam>
                                    <beam xml:id="beam-000000078014833">
                                        <note xml:id="note-000000156541821" dur="8" oct="4" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000116181372" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <note xml:id="note-000000168190713" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000048588844" n="3">

                                <layer xml:id="layer-000000159433644" n="1">
                                    <beam xml:id="beam-000000185923472">
                                        <note xml:id="note-000000012345877" dur="8" oct="3" pname="b" accid.ges="n" />
                                        <note xml:id="note-000000050236119" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000142638800" dur="4" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000094329899" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000130192681" n="4">

                                <layer xml:id="layer-000000077303319" n="1">
                                    <note xml:id="note-000000009282720" dots="1" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000107375713" dur="8" oct="2" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000133106539" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000087897658" n="10">
                            <staff xml:id="staff-000000059398657" n="1">

                                <layer xml:id="layer-000000162832434" n="1">
                                    <note xml:id="note-000000186320311" dur="2" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000024821325" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000130686708" n="2">

                                <layer xml:id="layer-000000005232246" n="1">
                                    <note xml:id="note-000000106285763" dur="2" oct="4" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000067924527" dur="4" oct="4" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000005231989" n="3">

                                <layer xml:id="layer-000000101964683" n="1">
                                    <note xml:id="note-000000028485278" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000077970833" dur="4" oct="3" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000061272193" n="4">

                                <layer xml:id="layer-000000083339014" n="1">
                                    <note xml:id="note-000000089982128" dur="2" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000071642759" dur="4" oct="3" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000138158680" startid="note-000000071642759" endid="note-000000076710453" />
                        </measure>
                        <measure xml:id="measure-000000005774682" n="11">
                            <staff xml:id="staff-000000177440620" n="1">

                                <layer xml:id="layer-000000033963112" n="1">
                                    <note xml:id="note-000000016878414" dur="2" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000207677820" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000135954313" n="2">

                                <layer xml:id="layer-000000061538183" n="1">
                                    <note xml:id="note-000000044117285" dur="4" oct="4" pname="e" accid.ges="n" />
                                    <beam xml:id="beam-000000167867496">
                                        <note xml:id="note-000000199741569" dur="8" oct="4" pname="f" accid.ges="s" />
                                        <note xml:id="note-000000110121596" dur="8" oct="4" pname="g" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000112258668" dur="4" oct="4" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000167050867" n="3">

                                <layer xml:id="layer-000000003804942" n="1">
                                    <note xml:id="note-000000169405962" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000072189183" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000170094894" dur="4" oct="4" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000054655933" n="4">

                                <layer xml:id="layer-000000123510109" n="1">
                                    <note xml:id="note-000000076710453" dur="4" oct="3" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000173622346" dur="4" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000069996401" dur="4" oct="3" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000037973141" n="12">
                            <staff xml:id="staff-000000113057641" n="1">

                                <layer xml:id="layer-000000066248144" n="1">
                                    <note xml:id="note-000000177036964" dur="2" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000121671113" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000092479282" n="2">

                                <layer xml:id="layer-000000165385643" n="1">
                                    <note xml:id="note-000000148427673" dur="4" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000106897436" dots="1" dur="4" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000040396175" dur="8" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000118937450" n="3">

                                <layer xml:id="layer-000000103950245" n="1">
                                    <note xml:id="note-000000113824241" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000065600865" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000035645450" n="4">

                                <layer xml:id="layer-000000159890682" n="1">
                                    <note xml:id="note-000000136411605" dots="1" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000016315462" dur="8" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000195068241" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000163402741" n="13">
                            <staff xml:id="staff-000000174124982" n="1">

                                <layer xml:id="layer-000000142616791" n="1">
                                    <note xml:id="note-000000153912962" dots="1" dur="2" oct="4" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000171106245" n="2">

                                <layer xml:id="layer-000000087313059" n="1">
                                    <note xml:id="note-000000095013340" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000020377235" dur="4" accid="n" oct="4" pname="f" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000171307078" n="3">

                                <layer xml:id="layer-000000026736093" n="1">
                                    <note xml:id="note-000000099949544" dots="1" dur="2" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000090280686" n="4">

                                <layer xml:id="layer-000000150292996" n="1">
                                    <beam xml:id="beam-000000104126574">
                                        <note xml:id="note-000000070906958" dur="8" oct="2" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000094574108" dur="8" oct="2" pname="a" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000154394414" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000102438873" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000052507114" n="14">
                            <staff xml:id="staff-000000193114993" n="1">

                                <layer xml:id="layer-000000191666766" n="1">
                                    <note xml:id="note-000000117869023" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000185760291" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000061484828" n="2">

                                <layer xml:id="layer-000000006379982" n="1">
                                    <note xml:id="note-000000068930211" dur="2" oct="4" pname="e" accid.ges="n" />
                                    <note xml:id="note-000000157385488" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000122300571" n="3">

                                <layer xml:id="layer-000000149098253" n="1">
                                    <note xml:id="note-000000210423893" dur="2" oct="4" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000118308174" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000050386787" n="4">

                                <layer xml:id="layer-000000097927096" n="1">
                                    <note xml:id="note-000000029250537" dur="2" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000054776964" dur="4" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000010197840" n="15">
                            <staff xml:id="staff-000000023096045" n="1">

                                <layer xml:id="layer-000000124948428" n="1">
                                    <note xml:id="note-000000198726082" dur="2" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000007947356" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000212482855" n="2">

                                <layer xml:id="layer-000000148794111" n="1">
                                    <note xml:id="note-000000037925049" dots="1" dur="4" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000033152113" dur="8" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000130311882" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000147977563" n="3">

                                <layer xml:id="layer-000000058096473" n="1">
                                    <beam xml:id="beam-000000181357465">
                                        <note xml:id="note-000000151382471" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000161320218" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000110814714" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000165092965" dur="4" oct="4" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000168594192" n="4">

                                <layer xml:id="layer-000000172667815" n="1">
                                    <note xml:id="note-000000133314513" dur="4" oct="2" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000147346202" dur="4" oct="2" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000184227019" dur="4" oct="2" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000061597853" n="16">
                            <staff xml:id="staff-000000071212858" n="1">

                                <layer xml:id="layer-000000081872975" n="1">
                                    <note xml:id="note-000000146318192" dur="2" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000086330445" dur="4" oct="4" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000115837201" n="2">

                                <layer xml:id="layer-000000181924647" n="1">
                                    <note xml:id="note-000000020327211" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000189537084" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000187288957" n="3">

                                <layer xml:id="layer-000000198732336" n="1">
                                    <note xml:id="note-000000113066737" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <beam xml:id="beam-000000004382974">
                                        <note xml:id="note-000000005959968" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000096444225" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000017446265" n="4">

                                <layer xml:id="layer-000000087858039" n="1">
                                    <note xml:id="note-000000020314199" dur="4" oct="2" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000185596126" dur="4" oct="2" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000094105860" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000103545963" startid="note-000000189537084" endid="note-000000207573673" />
                        </measure>
                        <measure xml:id="measure-000000015484685" n="17">
                            <staff xml:id="staff-000000120690949" n="1">

                                <layer xml:id="layer-000000154487016" n="1">
                                    <note xml:id="note-000000155555411" dots="1" dur="4" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000073214264" dur="8" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000004018762" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000112356502" n="2">

                                <layer xml:id="layer-000000093365029" n="1">
                                    <beam xml:id="beam-000000019753305">
                                        <note xml:id="note-000000207573673" dur="8" oct="4" pname="f" accid.ges="s" />
                                        <note xml:id="note-000000191000976" dur="8" oct="4" pname="e" accid.ges="n" />
                                    </beam>
                                    <beam xml:id="beam-000000094863222">
                                        <note xml:id="note-000000074324386" dur="8" oct="4" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000193468087" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                    <note xml:id="note-000000113156689" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000012967685" n="3">

                                <layer xml:id="layer-000000193046712" n="1">
                                    <note xml:id="note-000000117794696" dur="4" oct="3" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000010288225" dur="4" oct="4" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000041772395" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000056238560" n="4">

                                <layer xml:id="layer-000000093936640" n="1">
                                    <beam xml:id="beam-000000177882931">
                                        <note xml:id="note-000000166448093" dur="8" oct="3" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000180903830" dur="8" oct="3" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000043326748" dur="8" oct="3" pname="c" accid.ges="n" />
                                        <note xml:id="note-000000195710748" dur="8" oct="2" pname="b" accid.ges="n" />
                                        <note xml:id="note-000000009849610" dur="8" oct="2" pname="a" accid.ges="n" />
                                        <note xml:id="note-000000186159493" dur="8" oct="2" pname="g" accid.ges="n" />
                                    </beam>
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000113675217" n="18">
                            <staff xml:id="staff-000000078223701" n="1">

                                <layer xml:id="layer-000000016262417" n="1">
                                    <note xml:id="note-000000162524301" dur="2" oct="4" pname="a" accid.ges="n" />
                                    <note xml:id="note-000000161481329" dur="4" oct="4" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000026876870" n="2">

                                <layer xml:id="layer-000000103743125" n="1">
                                    <note xml:id="note-000000068744002" dur="2" oct="4" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000034239528" dur="4" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000152878064" n="3">

                                <layer xml:id="layer-000000172198142" n="1">
                                    <note xml:id="note-000000185211577" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000073436716" dur="4" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000092033881" n="4">

                                <layer xml:id="layer-000000195717078" n="1">
                                    <note xml:id="note-000000116232878" dur="2" oct="3" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000174858596" dur="4" oct="3" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000138585507" startid="note-000000174858596" endid="note-000000197187799" />
                        </measure>
                        <measure xml:id="measure-000000017055413" n="19">
                            <staff xml:id="staff-000000099695019" n="1">

                                <layer xml:id="layer-000000107444624" n="1">
                                    <note xml:id="note-000000002801847" dur="2" oct="5" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000060764105" dur="4" oct="5" pname="c" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000133843628" n="2">

                                <layer xml:id="layer-000000020745647" n="1">
                                    <note xml:id="note-000000135504985" dur="2" oct="4" pname="a" accid.ges="n" />
                                    <beam xml:id="beam-000000025888697">
                                        <note xml:id="note-000000031145277" dur="8" oct="4" pname="g" accid.ges="n" />
                                        <note xml:id="note-000000116914168" dur="8" oct="4" pname="f" accid.ges="s" />
                                    </beam>
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000028894655" n="3">

                                <layer xml:id="layer-000000086417359" n="1">
                                    <note xml:id="note-000000073374011" dur="2" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-000000111906215" dur="4" oct="4" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000041580823" n="4">

                                <layer xml:id="layer-000000057726872" n="1">
                                    <note xml:id="note-000000197187799" dur="4" oct="3" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000045861016" dur="4" oct="3" pname="f" accid.ges="s" />
                                    <note xml:id="note-000000054220045" dur="4" oct="3" pname="e" accid.ges="n" />
                                </layer>
                            </staff>
                            <tie xml:id="tie-000000124841773" startid="note-000000054220045" endid="note-000000109151268" />
                        </measure>
                        <measure xml:id="measure-000000098998338" n="20">
                            <staff xml:id="staff-000000023707773" n="1">

                                <layer xml:id="layer-000000098339418" n="1">
                                    <note xml:id="note-000000087197040" dur="4" oct="4" pname="b" accid.ges="n" />
                                    <note xml:id="note-000000077817290" dur="2" oct="4" pname="a" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000057652007" n="2">

                                <layer xml:id="layer-000000012660122" n="1">
                                    <note xml:id="note-000000177799485" dur="2" oct="4" pname="g" accid.ges="n" />
                                    <note xml:id="note-000000052452955" dur="4" oct="4" pname="f" accid.ges="s" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000034792717" n="3">

                                <layer xml:id="layer-000000001410986" n="1">
                                    <note xml:id="note-000000092129988" dur="2" oct="4" pname="e" accid.ges="n" />
                                    <beam xml:id="beam-000000093007232">
                                        <note xml:id="note-000000019209976" dur="8" oct="4" pname="d" accid.ges="n" />
                                        <note xml:id="note-000000095277849" dur="8" oct="4" pname="c" accid.ges="n" />
                                    </beam>
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000171005981" n="4">

                                <layer xml:id="layer-000000120173013" n="1">
                                    <beam xml:id="beam-000000039462848">
                                        <note xml:id="note-000000109151268" dur="8" oct="3" pname="e" accid.ges="n" />
                                        <note xml:id="note-000000124164095" dur="8" oct="3" pname="d" accid.ges="n" />
                                    </beam>
                                    <note xml:id="note-000000116093278" dur="4" oct="3" pname="c" accid.ges="n" />
                                    <note xml:id="note-000000190840130" dur="4" oct="3" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>
                        <measure xml:id="measure-000000183249880" n="21" right="end">
                            <staff xml:id="staff-000000079066944" n="1">

                                <layer xml:id="layer-000000015255447" n="1">
                                    <note xml:id="note-000000203513768" dur="2" oct="4" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000158697560" n="2">

                                <layer xml:id="layer-000000055209749" n="1">
                                    <note xml:id="note-000000197324342" dur="2" oct="4" pname="d" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000071228335" n="3">

                                <layer xml:id="layer-000000127248230" n="1">
                                    <note xml:id="note-000000196785927" dur="2" oct="3" pname="b" accid.ges="n" />
                                </layer>
                            </staff>
                            <staff xml:id="staff-000000041517067" n="4">

                                <layer xml:id="layer-000000059909839" n="1">
                                    <note xml:id="note-000000164337082" dur="2" oct="2" pname="g" accid.ges="n" />
                                </layer>
                            </staff>
                        </measure>

                </score>
            </mdiv>

    </music>
</mei>
```

Questions:

* How are hanging ties handled in MEI/verovio?  For example:
![screen shot 2016-06-19 at 9 56 57 pm](https://cloud.githubusercontent.com/assets/3487289/16183613/c62ad26a-3668-11e6-98fb-75b2b83bb9af.png)

* How does MEI/verovio handle arpeggiation ties?  For example:

![screen shot 2016-06-19 at 10 01 57 pm](https://cloud.githubusercontent.com/assets/3487289/16183667/8100d54e-3669-11e6-9597-3756037af3c7.png)

MIDI output has the correct pitches, but tied notes are not handled correctly in the MIDI file (I'll submit a issure for that :-)

```bash
 humcat  h://chorales/chor001.krn  | ./verovio -f humdrum -o chor001.mid -t midi -
```

Next, I'll work on adding the fermatas and then test other chorales...