verovio icon indicating copy to clipboard operation
verovio copied to clipboard

Cross-staff staccato placement problem

Open craigsapp opened this issue 2 years ago • 0 comments

In the following example on the pink-highlighted notes, the staccato is placed too far from the notehead:

Screen Shot 2022-04-22 at 8 39 16 PM
Click to view MEI data for above example
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/dev/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/dev/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.0-dev">
 <meiHead>
  <fileDesc>
   <titleStmt>
    <title>Piano Sonata no. 3 in C major</title>
   </titleStmt>
   <pubStmt />
  </fileDesc>
  <encodingDesc>
   <appInfo>
    <application isodate="2022-04-22T20:39:31" version="3.10.0-dev-c34d1d5-dirty">
     <name>Verovio</name>
     <p>Transcoded from Humdrum</p>
    </application>
   </appInfo>
  </encodingDesc>
  <workList>
   <work>
    <title xml:id="title-L3" analog="humdrum:OTL" type="main">Piano Sonata no. 3 in C major</title>
    <composer analog="humdrum:COM" xml:id="person-L1">Beethoven, Ludwig van</composer>
    <creation>
     <date analog="humdrum:ODT">1794///-1795///</date>
    </creation>
   </work>
  </workList>
 </meiHead>
 <music>
  <body>
   <mdiv xml:id="mpqf5ow">
    <score xml:id="s6y3r2z">
     <scoreDef xml:id="sfva86p" midi.bpm="128.000000">
      <pgHead xml:id="pa34cra">
       <rend xml:id="rnck7sj" halign="center" valign="middle">
        <rend xml:id="r3cklqr" fontsize="large">Piano Sonata no. 3 in C major</rend>
        <lb xml:id="lustiya" /> 
<lb xml:id="ldl5r65" /> </rend>
       <rend xml:id="rd8cqqq" halign="right" valign="bottom" fontsize="small">Ludwig van Beethoven</rend>
       <rend xml:id="rpvho65" halign="right" valign="bottom" fontsize="small">1770–1827</rend>
      </pgHead>
      <staffGrp xml:id="scrn93" bar.thru="true" symbol="brace">
       <staffDef xml:id="s9isam9" n="1" lines="5">
        <clef xml:id="clef-L12F2" shape="G" line="2" />
        <meterSig xml:id="metersig-L13F2" count="4" unit="4" />
       </staffDef>
       <staffDef xml:id="syzaekl" n="2" lines="5">
        <clef xml:id="clef-L12F1" shape="F" line="4" />
        <meterSig xml:id="metersig-L13F1" count="4" unit="4" />
       </staffDef>
      </staffGrp>
     </scoreDef>
     <section xml:id="section-L11F1">
      <measure xml:id="measure-L1" right="dbl" n="130">
       <staff xml:id="snsjhq8" n="1">
        <layer xml:id="layer-L11F2N1" n="1">
         <chord xml:id="chord-L16F3" dur="4">
          <note xml:id="note-L16F3S1" oct="4" pname="d" accid.ges="n" />
          <note xml:id="note-L16F3S2" oct="4" pname="b" accid.ges="n" />
          <note xml:id="note-L16F3S3" oct="5" pname="d" accid.ges="n" />
         </chord>
         <rest xml:id="rest-L17F3" dur="4" />
         <rest xml:id="rest-L18F3" dur="4" />
         <rest xml:id="rest-L22F3" dur="8" staff="2" ploc="a" oloc="3" />
         <rest xml:id="rest-L23F3" dur="8" />
        </layer>
       </staff>
       <staff xml:id="s950rva" n="2">
        <layer xml:id="layer-L11F1N1" n="1">
         <note xml:id="note-L16F1" type="placed" dur="2" oct="3" pname="g" stem.dir="up" accid.ges="n" />
         <beam xml:id="beam-L18F1-L21F1">
          <note xml:id="note-L18F1" dur="16" oct="3" pname="f" accid="s" />
          <note xml:id="note-L19F1" dur="16" oct="3" pname="g" accid.ges="n" />
          <note xml:id="note-L20F1" dur="16" oct="3" pname="f" accid.ges="s" />
          <note xml:id="note-L21F1" dur="16" oct="3" pname="g" accid.ges="n" />
         </beam>
         <beam xml:id="beam-L22F1-L23F1">
          <note xml:id="note-L22F1" type="placed" dur="8" staff="1" oct="3" pname="a" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L22F1" artic="stacc" />
          </note>
          <note xml:id="note-L23F1" type="marked placed" dur="8" oct="3" pname="f" color="hotpink" stem.dir="up" accid.ges="s">
           <artic xml:id="artic-L23F1" artic="stacc" place="below" />
          </note>
         </beam>
        </layer>
        <layer xml:id="layer-L12F1N2" n="2">
         <note xml:id="note-L16F2" dur="1" oct="2" pname="g" accid.ges="n" />
        </layer>
       </staff>
       <slur xml:id="slur-L18F1-L21F1" type="placed" staff="2" startid="#note-L18F1" endid="#note-L21F1" curvedir="below" />
      </measure>
      <measure xml:id="measure-L25">
       <staff xml:id="staff-L25F2N1" n="1">
        <layer xml:id="layer-L25F2N1" n="1">
         <space xml:id="space-L26F2" dur="4" />
         <space xml:id="space-L28F2" dur="4" />
         <space xml:id="space-L30F2" dur="4" />
         <space xml:id="space-L32F2" dur="4" />
         <space xml:id="space-L34F2" dur="4" />
        </layer>
       </staff>
       <staff xml:id="staff-L25F1N1" n="2">
        <layer xml:id="layer-L25F1N1" n="1">
         <beam xml:id="beam-L26F1-L27F1">
          <note xml:id="note-L26F1" type="placed" dur="8" staff="1" oct="3" pname="a" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L26F1" artic="stacc" />
          </note>
          <note xml:id="note-L27F1" type="marked placed" dur="8" oct="3" pname="f" color="hotpink" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L27F1" artic="stacc" />
          </note>
         </beam>
         <beam xml:id="beam-L28F1-L29F1">
          <note xml:id="note-L28F1" type="placed" dur="8" oct="3" pname="a" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L28F1" artic="stacc" />
          </note>
          <note xml:id="note-L29F1" type="placed" dur="8" oct="3" pname="f" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L29F1" artic="stacc" />
          </note>
         </beam>
         <beam xml:id="beam-L30F1-L31F1">
          <note xml:id="note-L30F1" type="placed" dur="8" staff="1" oct="4" pname="g" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L30F1" artic="stacc" />
          </note>
          <note xml:id="note-L31F1" type="marked placed" dur="8" oct="3" pname="f" color="hotpink" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L31F1" artic="stacc" />
          </note>
         </beam>
         <beam xml:id="beam-L32F1-L33F1">
          <note xml:id="note-L32F1" type="placed" dur="8" staff="1" oct="3" pname="a" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L32F1" artic="stacc" />
          </note>
          <note xml:id="note-L33F1" type="marked placed" dur="8" oct="3" pname="e" color="hotpink" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L33F1" artic="stacc" />
          </note>
         </beam>
         <beam xml:id="beam-L34F1-L35F1">
          <note xml:id="note-L34F1" type="placed" dur="8" staff="1" oct="3" pname="a" stem.dir="up" accid.ges="n">
           <artic xml:id="artic-L34F1" artic="stacc" />
          </note>
          <note xml:id="note-L35F1" type="marked placed" dur="8" oct="3" pname="d" color="hotpink" stem.dir="down" accid.ges="n">
           <artic xml:id="artic-L35F1" artic="stacc" />
          </note>
         </beam>
        </layer>
       </staff>
      </measure>
     </section>
    </score>
   </mdiv>
  </body>
 </music>
</mei>

Notice in the second measure, second beam, where both notes are on the same staff, the staccato is in the expected location.

craigsapp avatar Apr 23 '22 03:04 craigsapp