-
Notifications
You must be signed in to change notification settings - Fork 16
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
Problems with beamed tuplets #74
Comments
There are more problems that are probably related. See the following conversion: <measure xml:id="m-34" label="1" n="1">
<staff xml:id="m-36" n="1">
<layer xml:id="m-37" n="1">
<tuplet xml:id="m-40" bracket.visible="false" endid="#m-42" num="3" num.format="count" numbase="2" startid="#m-38">
<beam xml:id="m-39">
<note xml:id="m-38" dur="16" dur.ges="43p" oct="5" pname="d" pnum="74" stem.dir="down" tstamp.ges="0s"/>
<note xml:id="m-41" dur="16" dur.ges="43p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="0.098s"/>
<note xml:id="m-42" breaksec="1" dur="16" dur.ges="43p" oct="5" pname="d" pnum="74" stem.dir="down" tstamp.ges="0.199s"/>
<note xml:id="m-43" dur="16" dur.ges="64p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="0.3s"/>
<note xml:id="m-44" breaksec="1" dur="16" dur.ges="64p" oct="4" pname="b" pnum="71" stem.dir="down" tstamp.ges="0.45s"/>
<note xml:id="m-45" dur="16" dur.ges="64p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="0.6s"/>
<note xml:id="m-46" dur="16" dur.ges="64p" oct="4" pname="b" pnum="71" stem.dir="down" tstamp.ges="0.75s"/>
</beam>
</tuplet>
<beam xml:id="m-39">
<note xml:id="m-38" dur="16" dur.ges="43p" oct="5" pname="d" pnum="74" stem.dir="down" tstamp.ges="0s"/>
<note xml:id="m-41" dur="16" dur.ges="43p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="0.098s"/>
<note xml:id="m-42" breaksec="1" dur="16" dur.ges="43p" oct="5" pname="d" pnum="74" stem.dir="down" tstamp.ges="0.199s"/>
<note xml:id="m-43" dur="16" dur.ges="64p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="0.3s"/>
<note xml:id="m-44" breaksec="1" dur="16" dur.ges="64p" oct="4" pname="b" pnum="71" stem.dir="down" tstamp.ges="0.45s"/>
<note xml:id="m-45" dur="16" dur.ges="64p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="0.6s"/>
<note xml:id="m-46" dur="16" dur.ges="64p" oct="4" pname="b" pnum="71" stem.dir="down" tstamp.ges="0.75s"/>
</beam>
</layer>
</staff>
</measure>
<measure xml:id="m-47" n="2">
<staff xml:id="m-48" n="1">
<layer xml:id="m-49" n="1">
<beam xml:id="m-51">
<note xml:id="m-50" dur="16" dur.ges="64p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="0.9s"/>
<note xml:id="m-52" breaksec="1" dur="16" dur.ges="64p" oct="4" pname="b" pnum="71" stem.dir="down" tstamp.ges="1.05s"/>
<note xml:id="m-53" dur="16" dur.ges="43p" oct="5" pname="d" pnum="74" stem.dir="down" tstamp.ges="1.2s"/>
<note xml:id="m-56" dur="16" dur.ges="43p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="1.298s"/>
<note xml:id="m-58" breaksec="1" dur="16" dur.ges="43p" oct="5" pname="d" pnum="74" stem.dir="down" tstamp.ges="1.399s"/>
<note xml:id="m-60" dur="16" dur.ges="64p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="1.5s"/>
<note xml:id="m-61" dur="16" dur.ges="64p" oct="4" pname="b" pnum="71" stem.dir="down" tstamp.ges="1.65s"/>
</beam>
</layer>
</staff>
<tupletSpan xml:id="m-55" bracket.visible="false" num="3" num.format="count" numbase="2" startid="#m-53"/>
<tupletSpan xml:id="m-57" bracket.visible="false" num="3" num.format="count" numbase="2" startid="#m-53"/>
<tupletSpan xml:id="m-59" bracket.visible="false" endid="#m-58" num="3" num.format="count" numbase="2" startid="#m-53"/>
</measure>
<measure xml:id="m-62" n="3" right="end">
<staff xml:id="m-63" n="1">
<layer xml:id="m-64" n="1">
<beam xml:id="m-66">
<note xml:id="m-65" dur="16" dur.ges="64p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="1.8s"/>
<note xml:id="m-67" breaksec="1" dur="16" dur.ges="64p" oct="4" pname="b" pnum="71" stem.dir="down" tstamp.ges="1.95s"/>
<note xml:id="m-68" dur="16" dur.ges="64p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="2.1s"/>
<note xml:id="m-69" breaksec="1" dur="16" dur.ges="64p" oct="4" pname="b" pnum="71" stem.dir="down" tstamp.ges="2.25s"/>
<note xml:id="m-70" dur="16" dur.ges="43p" oct="5" pname="d" pnum="74" stem.dir="down" tstamp.ges="2.4s"/>
<note xml:id="m-73" dur="16" dur.ges="43p" oct="5" pname="c" pnum="72" stem.dir="down" tstamp.ges="2.498s"/>
<note xml:id="m-75" dur="16" dur.ges="43p" oct="5" pname="d" pnum="74" stem.dir="down" tstamp.ges="2.599s"/>
</beam>
</layer>
</staff>
<tupletSpan xml:id="m-72" bracket.visible="false" num="3" num.format="count" numbase="2" startid="#m-70"/>
<tupletSpan xml:id="m-74" bracket.visible="false" num="3" num.format="count" numbase="2" startid="#m-70"/>
<tupletSpan xml:id="m-76" bracket.visible="false" endid="#m-75" num="3" num.format="count" numbase="2" startid="#m-70"/>
</measure> If the first thing under the beam is a tuplet, then we get a wrong |
Test file for the above problem: tuplet-beams.sib.zip |
Test file for the above problem broken export of tuplets within beams: issue_74_testFile.sib.zip |
in some cases
<tupletSpan>
elements are tripled. All carry the same@startid
but only one of them a proper@endid
.see:
https://github.com/DDMAL/mei-test-set/blob/gh-pages/MEI-test-set/MEI/meter/beaming-over-beats.mei
https://github.com/DDMAL/mei-test-set/blob/gh-pages/MEI-test-set/sibelius-files/meter/beaming-over-beats.sib
The text was updated successfully, but these errors were encountered: