Skip to content

Quintuplet starting with a rest note followed by another tuplet -> rendering error #904

@Suppan

Description

@Suppan

Image

MEI (error):

                  <measure xml:id="measure-L1" right="end">
                     <staff xml:id="staff-L2F1" n="1">
                        <layer xml:id="layer-L1F1N1" n="1">
                           <tuplet xml:id="tuplet-L3F1-L7F1" num="5" numbase="4" num.format="count">
                              <rest xml:id="rest-L3F1" dur="16" />
                              <beam xml:id="beam-L4F1-L10F1">
                                 <note xml:id="note-L4F1" dur="16" oct="4" pname="d" accid.ges="n" />
                                 <note xml:id="note-L5F1" dur="16" oct="4" pname="d" accid.ges="n" />
                                 <note xml:id="note-L6F1" dur="16" oct="4" pname="d" accid.ges="n" />
                                 <note xml:id="note-L7F1" dur="16" oct="4" pname="d" accid.ges="n" />
                                 <tuplet xml:id="tuplet-L8F1-L10F1" num="3" numbase="2" num.format="count">
                                    <note xml:id="note-L8F1" dur="8" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-L9F1" dur="8" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-L10F1" dur="8" oct="4" pname="d" accid.ges="n" />
                                 </tuplet>
                              </beam>
                           </tuplet>
                        </layer>
                     </staff>
                  </measure>

SVG (error):

Image

Manually changing the position of </tuplet> and </beam> elements in MEI gives me the correct output:

MEI (correct)

                  <measure xml:id="measure-L1" right="end">
                     <staff xml:id="staff-L2F1" n="1">
                        <layer xml:id="layer-L1F1N1" n="1">
                           <tuplet xml:id="tuplet-L3F1-L7F1" num="5" numbase="4" num.format="count">
                              <rest xml:id="rest-L3F1" dur="16" />
                              <beam xml:id="beam-L4F1-L10F1">
                                 <note xml:id="note-L4F1" dur="16" oct="4" pname="d" accid.ges="n" />
                                 <note xml:id="note-L5F1" dur="16" oct="4" pname="d" accid.ges="n" />
                                 <note xml:id="note-L6F1" dur="16" oct="4" pname="d" accid.ges="n" />
                                 <note xml:id="note-L7F1" dur="16" oct="4" pname="d" accid.ges="n" />
                                 </beam>
                                 </tuplet>
                                 <beam xml:id="beam-L-L8F1-L10F1">
                                 <tuplet xml:id="tuplet-L8F1-L10F1" num="3" numbase="2" num.format="count">
                                    <note xml:id="note-L8F1" dur="8" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-L9F1" dur="8" oct="4" pname="d" accid.ges="n" />
                                    <note xml:id="note-L10F1" dur="8" oct="4" pname="d" accid.ges="n" />
                              </beam>
                           </tuplet>
                        </layer>
                     </staff>
                  </measure>

SVG (correct):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions