verovio icon indicating copy to clipboard operation
verovio copied to clipboard

Conversion of analytical ties

Open rettinghaus opened this issue 2 years ago • 0 comments

Converting tie attributes into tie elements won't work as expected in combination with system breaks. The problem is that the elements are appended to the measure where the ties end, thus the first part of the ties is not being rendered when a system break separates start and end points.

ties

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0" ?>
<?xml-model href="https://music-encoding.org/schema/4.0.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron" ?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="4.0.0">
  <meiHead>
    <fileDesc>
      <titleStmt>
        <title>Analytical ties on chords</title>
      </titleStmt>
      <pubStmt>
      </pubStmt>
    </fileDesc>
  </meiHead>
  <music>
    <body>
      <mdiv>
        <score>
          <scoreDef>
            <staffGrp>
              <staffDef n="1" lines="5" clef.shape="G" clef.line="2" />
            </staffGrp>
          </scoreDef>
          <section>
            <pb />
            <measure>
              <staff n="1">
                <layer n="1">
                  <chord dur="2" dots="1">
                    <note oct="4" pname="c" tie="i" />
                    <note oct="4" pname="e" tie="i" />
                    <note oct="4" pname="g" tie="i" />
                    <note oct="5" pname="c" tie="i" />
                  </chord>
                </layer>
              </staff>
            </measure>
            <sb />
            <measure>
              <staff n="1">
                <layer n="1">
                  <chord dur="2" dots="1">
                    <note oct="4" pname="c" tie="t" />
                    <note oct="4" pname="e" tie="t" />
                    <note oct="4" pname="g" tie="t" />
                    <note oct="5" pname="c" tie="t" />
                  </chord>
                </layer>
              </staff>
            </measure>
          </section>
        </score>
      </mdiv>
    </body>
  </music>
</mei>

rettinghaus avatar Mar 16 '22 14:03 rettinghaus