Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-staff beam + mixed beam + articulation interaction #3933

Open
craigsapp opened this issue Jan 31, 2025 · 0 comments
Open

Cross-staff beam + mixed beam + articulation interaction #3933

craigsapp opened this issue Jan 31, 2025 · 0 comments

Comments

@craigsapp
Copy link
Contributor

craigsapp commented Jan 31, 2025

In the following example, the vertical positioning of articulations on pink notes is incorrect (set to zero distance from the end of the stem):

Image

It only occurs on cross-staff mixed beaming going from the lower to upper staff. No problem when the cross-staff is going from the upper to lower staff. Also is not related to mixed beaming (measures 5 and 6) when the mixed beam remains on a single staff.

Click to view MEI data for above example.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/5.0/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/5.0/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="5.0">
 <meiHead>
  <fileDesc>
   <titleStmt>
    <title />
   </titleStmt>
   <pubStmt>
   </pubStmt>
  </fileDesc>
  <encodingDesc>
   <appInfo>
    <application isodate="2025-01-31T14:15:01" version="4.4.0-dev-f84695b-dirty">
     <name>Verovio</name>
     <p>Transcoded from Humdrum</p>
    </application>
   </appInfo>
  </encodingDesc>
 </meiHead>
 <music decls="#work1_encoded">
  <body>
   <mdiv xml:id="m1mwjuzq">
    <score xml:id="sreqfub">
     <scoreDef xml:id="skjzwya" tempo.dist="3.0000vu">
      <staffGrp xml:id="s1oedrpg" bar.thru="true" symbol="brace">
       <staffDef xml:id="staffdef-L1F2" n="1" lines="5">
        <clef xml:id="c1sskvyf" shape="G" line="2" />
        <meterSig xml:id="metersig-L2F2" count="3" unit="8" />
       </staffDef>
       <staffDef xml:id="staffdef-L1F1" n="2" lines="5">
        <clef xml:id="c9o11bf" shape="F" line="4" />
        <meterSig xml:id="metersig-L2F1" count="3" unit="8" />
       </staffDef>
      </staffGrp>
     </scoreDef>
     <section xml:id="section-L1F1">
      <measure xml:id="measure-L1">
       <staff xml:id="staff-L1F2" n="1">
        <layer xml:id="layer-L1F2N1" n="1">
         <mRest xml:id="mrest-L4F2" />
        </layer>
       </staff>
       <staff xml:id="staff-L1F1" n="2">
        <layer xml:id="layer-L1F1N1" n="1">
         <beam xml:id="beam-L4F1-L6F1">
          <note xml:id="note-L4F1" type="placed" dur="8" oct="2" pname="b" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L4F1" artic="stacc" />
          </note>
          <note xml:id="note-L5F1" dur="8" oct="3" pname="f" accid.ges="n">
           <artic xml:id="artic-L5F1" artic="stacc" />
          </note>
          <note xml:id="note-L6F1" type="color-marked" dur="8" staff="1" oct="3" pname="b" color="hotpink" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L6F1" artic="stacc" />
          </note>
         </beam>
        </layer>
       </staff>
      </measure>
      <measure xml:id="measure-L7" right="dbl">
       <staff xml:id="staff-L7F2N1" n="1">
        <layer xml:id="layer-L7F2N1" n="1">
         <beam xml:id="beam-L8F2-L10F2">
          <note xml:id="note-L8F2" type="placed" dur="8" oct="5" pname="d" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L8F2" artic="stacc" />
          </note>
          <note xml:id="note-L9F2" dur="8" oct="4" pname="g" accid.ges="n">
           <artic xml:id="artic-L9F2" artic="stacc" />
          </note>
          <note xml:id="note-L10F2" dur="8" staff="2" oct="4" pname="d" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L10F2" artic="stacc" />
          </note>
         </beam>
        </layer>
       </staff>
       <staff xml:id="staff-L7F1N1" n="2">
        <layer xml:id="layer-L7F1N1" n="1">
         <mRest xml:id="mrest-L8F1" />
        </layer>
       </staff>
      </measure>
      <measure xml:id="measure-L11">
       <staff xml:id="staff-L11F2N1" n="1">
        <layer xml:id="layer-L11F2N1" n="1">
         <mRest xml:id="mrest-L12F2" />
        </layer>
       </staff>
       <staff xml:id="staff-L11F1N1" n="2">
        <layer xml:id="layer-L11F1N1" n="1">
         <beam xml:id="beam-L12F1-L14F1">
          <note xml:id="note-L12F1" type="placed" dur="8" oct="2" pname="b" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L12F1" artic="acc" />
          </note>
          <note xml:id="note-L13F1" dur="8" oct="3" pname="f" accid.ges="n">
           <artic xml:id="artic-L13F1" artic="acc" />
          </note>
          <note xml:id="note-L14F1" type="color-marked" dur="8" staff="1" oct="3" pname="b" color="hotpink" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L14F1" artic="acc" />
          </note>
         </beam>
        </layer>
       </staff>
      </measure>
      <measure xml:id="measure-L15" right="dbl">
       <staff xml:id="staff-L15F2N1" n="1">
        <layer xml:id="layer-L15F2N1" n="1">
         <beam xml:id="beam-L16F2-L18F2">
          <note xml:id="note-L16F2" type="placed" dur="8" oct="5" pname="d" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L16F2" artic="acc" />
          </note>
          <note xml:id="note-L17F2" dur="8" oct="4" pname="g" accid.ges="n">
           <artic xml:id="artic-L17F2" artic="acc" />
          </note>
          <note xml:id="note-L18F2" dur="8" staff="2" oct="4" pname="d" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L18F2" artic="acc" />
          </note>
         </beam>
        </layer>
       </staff>
       <staff xml:id="staff-L15F1N1" n="2">
        <layer xml:id="layer-L15F1N1" n="1">
         <mRest xml:id="mrest-L16F1" />
        </layer>
       </staff>
      </measure>
      <measure xml:id="measure-L19">
       <staff xml:id="staff-L19F2N1" n="1">
        <layer xml:id="layer-L19F2N1" n="1">
         <mRest xml:id="mrest-L20F2" />
        </layer>
       </staff>
       <staff xml:id="staff-L19F1N1" n="2">
        <layer xml:id="layer-L19F1N1" n="1">
         <beam xml:id="beam-L20F1-L22F1">
          <note xml:id="note-L20F1" type="placed" dur="8" oct="1" pname="a" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L20F1" artic="stacc" />
          </note>
          <note xml:id="note-L21F1" type="placed" dur="8" oct="2" pname="e" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L21F1" artic="stacc" />
          </note>
          <note xml:id="note-L22F1" type="placed" dur="8" oct="3" pname="b" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L22F1" artic="stacc" />
          </note>
         </beam>
        </layer>
       </staff>
      </measure>
      <measure xml:id="measure-L23" right="dbl">
       <staff xml:id="staff-L23F2N1" n="1">
        <layer xml:id="layer-L23F2N1" n="1">
         <beam xml:id="beam-L24F2-L26F2">
          <note xml:id="note-L24F2" type="placed" dur="8" oct="6" pname="e" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L24F2" artic="stacc" />
          </note>
          <note xml:id="note-L25F2" type="placed" dur="8" oct="5" pname="a" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L25F2" artic="stacc" />
          </note>
          <note xml:id="note-L26F2" type="placed" dur="8" oct="4" pname="d" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L26F2" artic="stacc" />
          </note>
         </beam>
        </layer>
       </staff>
       <staff xml:id="staff-L23F1N1" n="2">
        <layer xml:id="layer-L23F1N1" n="1">
         <mRest xml:id="mrest-L24F1" />
        </layer>
       </staff>
      </measure>
     </section>
    </score>
   </mdiv>
  </body>
 </music>
</mei>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant