rettinghaus / MEILER

MEI Lilypond Engraving Refinement
MIT License
20 stars 7 forks source link

beam within tuplets not working correctly #16

Closed rettinghaus closed 7 years ago

rettinghaus commented 7 years ago

tuplet-brackets-2 preview

<?xml version="1.0" encoding="UTF-8"?>
<mei xml:id="m-1" meiversion="3.0.0" xmlns="http://www.music-encoding.org/ns/mei" xmlns:xlink="http://www.w3.org/1999/xlink">
  <meiHead xml:id="m-2">
    <fileDesc xml:id="m-3">
      <titleStmt xml:id="m-4">
        <title xml:id="m-10"/>
        <respStmt xml:id="m-11">
          <persName xml:id="m-12"/>
        </respStmt>
      </titleStmt>
      <pubStmt xml:id="m-13">
        <availability xml:id="m-14">
          <useRestrict xml:id="m-15">Copyright © </useRestrict>
        </availability>
      </pubStmt>
    </fileDesc>
    <encodingDesc xml:id="m-16">
      <appInfo xml:id="m-17">
        <application xml:id="sibelius" isodate="2017-1-8T19:51:44Z" version="7510">
          <name xml:id="m-19" type="operating-system">Mac OS X Mountain Lion</name>
        </application>
        <application xml:id="sibmei" type="plugin" version="2.0.4">
          <name xml:id="m-21">Sibelius to MEI Exporter (2.0.4)</name>
        </application>
      </appInfo>
    </encodingDesc>
    <workDesc xml:id="m-5">
      <work xml:id="m-6">
        <titleStmt xml:id="m-7">
          <title xml:id="m-8"/>
          <respStmt xml:id="m-9"/>
        </titleStmt>
      </work>
    </workDesc>
  </meiHead>
  <music xml:id="m-22">
    <body xml:id="m-23">
      <mdiv xml:id="m-24">
        <score xml:id="m-25">
          <scoreDef xml:id="m-26" lyric.name="Opus Text Std" meter.count="4" meter.unit="4" music.name="Opus Std" page.botmar="12.7mm" page.height="297mm" page.leftmar="12.7mm" page.rightmar="12.7mm" page.topmar="12.7mm" page.width="210mm" ppq="256" text.name="Plantin MT Std">
            <staffGrp xml:id="m-27">
              <staffDef xml:id="m-28" clef.line="2" clef.shape="G" key.mode="major" key.sig="0" lines="5" n="1">
                <!-- keyboard.piano.grand.bright -->
                <instrDef xml:id="m-30" midi.channel="1" midi.pan="63" midi.volume="100"/>
              </staffDef>
            </staffGrp>
          </scoreDef>
          <section xml:id="m-31">
            <measure xml:id="m-32" label="1" n="1">
              <staff xml:id="m-33" n="1">
                <layer xml:id="m-34" n="1">
                  <tuplet xml:id="m-36" endid="#m-38" num="3" num.format="count" numbase="2" startid="#m-35">
                    <note xml:id="m-35" dur="4" dur.ges="256p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                    <note xml:id="m-37" dur="4" dur.ges="256p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                    <note xml:id="m-38" dur="4" dur.ges="256p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                  </tuplet>
                  <tuplet xml:id="m-41" endid="#m-43" num="3" num.format="count" numbase="2" startid="#m-39">
                    <beam xml:id="m-40">
                      <note xml:id="m-39" dur="8" dur.ges="128p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-42" dur="8" dur.ges="128p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-43" dur="8" dur.ges="128p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                    </beam>
                  </tuplet>
                  <tuplet xml:id="m-46" endid="#m-48" num="3" num.format="count" numbase="2" startid="#m-44">
                    <beam xml:id="m-45">
                      <note xml:id="m-44" dur="8" dur.ges="128p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-47" dur="8" dur.ges="128p" oct="4" pname="d" pnum="62" stem.dir="up"/>
                      <note xml:id="m-48" dur="8" dur.ges="128p" oct="3" pname="b" pnum="59" stem.dir="up"/>
                    </beam>
                  </tuplet>
                </layer>
              </staff>
            </measure>
            <measure xml:id="m-49" n="2">
              <staff xml:id="m-50" n="1">
                <layer xml:id="m-51" n="1">
                  <tuplet xml:id="m-53" endid="#m-55" num="3" num.format="count" numbase="2" startid="#m-52">
                    <note xml:id="m-52" dur="8" dur.ges="128p" oct="4" pname="f" pnum="65" stem.dir="up"/>
                    <rest xml:id="m-54" dur="8" dur.ges="128p"/>
                    <note xml:id="m-55" dur="8" dur.ges="128p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                  </tuplet>
                  <tuplet xml:id="m-58" endid="#m-60" num="3" num.format="count" numbase="2" startid="#m-56">
                    <beam xml:id="m-57">
                      <note xml:id="m-56" dur="8" dur.ges="128p" oct="4" pname="f" pnum="65" stem.dir="up"/>
                      <rest xml:id="m-59" dur="8" dur.ges="128p"/>
                      <note xml:id="m-60" dur="8" dur.ges="128p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                    </beam>
                  </tuplet>
                  <tuplet xml:id="m-63" endid="#m-65" num="3" num.format="count" numbase="2" startid="#m-61">
                    <beam xml:id="m-62">
                      <note xml:id="m-61" dur="8" dur.ges="128p" oct="4" pname="f" pnum="65" stem.dir="up"/>
                      <rest xml:id="m-64" dur="8" dur.ges="128p"/>
                      <rest xml:id="m-65" dur="8" dur.ges="128p"/>
                    </beam>
                  </tuplet>
                  <rest xml:id="m-66" dur="4" dur.ges="256p"/>
                </layer>
              </staff>
            </measure>
            <measure xml:id="m-67" n="3" right="end">
              <staff xml:id="m-68" n="1">
                <layer xml:id="m-69" n="1">
                  <note xml:id="m-70" dur="16" dur.ges="64p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                  <tuplet xml:id="m-72" endid="#m-74" num="3" num.format="count" numbase="2" startid="#m-71">
                    <note xml:id="m-71" dur="16" dur.ges="64p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                    <note xml:id="m-73" dur="16" dur.ges="64p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                    <note xml:id="m-74" dur="16" dur.ges="64p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                  </tuplet>
                  <note xml:id="m-75" dur="16" dur.ges="64p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                  <tuplet xml:id="m-78" endid="#m-85" num="3" num.format="count" numbase="2" startid="#m-76">
                    <beam xml:id="m-77">
                      <note xml:id="m-76" dur="32" dur.ges="32p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-79" dur="32" dur.ges="32p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-80" dur="32" dur.ges="32p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-81" dur="32" dur.ges="32p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-82" dots="1" dur="16" dur.ges="96p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-83" dur="32" dur.ges="32p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-84" dur="16" dur.ges="64p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                      <note xml:id="m-85" dur="16" dur.ges="64p" oct="4" pname="g" pnum="67" stem.dir="up"/>
                    </beam>
                  </tuplet>
                  <rest xml:id="m-86" dur="2" dur.ges="512p"/>
                </layer>
              </staff>
            </measure>
          </section>
        </score>
      </mdiv>
    </body>
  </music>
</mei>
rettinghaus commented 7 years ago

fixed tupletbeams preview