<div dir="ltr">The odd thing:<div><br></div><div>If I replace the mRest with <rest dur="breve" dots="1"> in MEI Friend/Atom with MEI.40 file, it works.</div><div><br></div><div>Dots are needed in our case because of a quirk in music21, which does not read the prevailing time signature correctly (or at all), and thus reads these rests (in our context) as 8-beat breves instead of 12-beat breves.</div><div><br></div><div>Including that dot attribute is enough to convince Music21 of the correct count of the rests.</div><div><br></div><div>Thoughts?</div><div><br></div><div>Richard</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 5, 2022 at 4:06 PM Klaus Rettinghaus <<a href="mailto:klaus.rettinghaus@gmail.com">klaus.rettinghaus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Richard, <div><br></div><div>the main problem is that the dots attribute has been removed in MEI 4.</div><div>See<br><a href="https://music-encoding.org/guidelines/v4/elements/mrest.html#attributes" target="_blank">https://music-encoding.org/guidelines/v4/elements/mrest.html#attributes</a><div>and</div><div><a href="https://github.com/music-encoding/music-encoding/issues/429" target="_blank">https://github.com/music-encoding/music-encoding/issues/429</a></div><div><br><div dir="ltr">—<div>Dr. Klaus Rettinghaus </div></div><div dir="ltr"><br><blockquote type="cite">Am 05.06.2022 um 19:56 schrieb Andrew Hankinson <andrew.hankinson@rism.digital>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">I can't tell you exactly why it's happening, but I suspect there's something going wrong here:<div><br></div><div><a href="https://github.com/music-encoding/encoding-tools/blob/main/mei30To40/mei30To40.xsl#L367-L415" target="_blank">https://github.com/music-encoding/encoding-tools/blob/main/mei30To40/mei30To40.xsl#L367-L415</a></div><div><br></div><div>Particularly lines 410-413.</div><div><br></div><div><br><div><br><blockquote type="cite"><div>On 5 Jun 2022, at 19:25, Richard Freedman <<a href="mailto:rfreedma@haverford.edu" target="_blank">rfreedma@haverford.edu</a>> wrote:</div><br><div><div dir="auto">I am using MEI garage. We have a script by Raff Viglianti that passes</div><div dir="auto">each of our MEI 3 files to garage, then</div><div dir="auto">saves them locally. </div><div dir="auto"><br></div><div dir="auto">richard </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 5, 2022 at 1:21 PM Andrew Hankinson <<a href="mailto:andrew.hankinson@gmail.com" target="_blank">andrew.hankinson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="ltr"></div><div dir="ltr">Hi Richard,</div><div dir="ltr"><br></div><div dir="ltr">How are you converting the files? What script or service are you using?</div><div dir="ltr"><br></div><div dir="ltr">-Andrew</div><div dir="ltr"><br><div dir="ltr"></div><blockquote type="cite">On 5 Jun 2022, at 18:39, Richard Freedman <<a href="mailto:rfreedma@haverford.edu" target="_blank">rfreedma@haverford.edu</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Friends,<div><br></div><div>I am wondering whether someone can help me with confusion about the encoding of mRests.</div><div><br></div><div>Our MEI 3.0 files have certain bars with mRest under a time signature of 3/1.</div><div><br></div><div>The dur of these mRests is recorded as breve in MEI 3.0. We need, however, to add dots="1" to these for subsequent processing with music21. This works.</div><div><br></div><div>However, when I convert these files to MEI 4.0. I also see a dur of "breve 1", and the dots="1" are gone.</div><div><br></div><div>What is the meaning of "breve 1" here? I cannot seem to find the documentation of this attribute value.</div><div><br></div><div>Thanks!</div><div><br></div><div>Richard</div><div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2" face="arial, sans-serif">Richard Freedman</font></div><div><font size="2" face="arial, sans-serif">Professor of Music</font></div><div><font size="2" face="arial, sans-serif">John C. Whitehead '43 Professor of Humanities</font></div><div><font size="2" face="arial, sans-serif">Chair, Department of Music</font></div><div><font face="arial, sans-serif"><font size="2">Haverford College<br>Haverford, PA 19041<br><br>610-389-0595<br><br><br></font><a href="http://www.haverford.edu/users/rfreedma" target="_blank">http://www.haverford.edu/users/rfreedma</a><br></font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Schedule meeting time: <a href="https://bit.ly/3D0NAQ4" target="_blank">https://bit.ly/3D0NAQ4</a></font></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<span>_______________________________________________</span><br><span>mei-l mailing list</span><br><span><a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a></span><br><span><a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a></span><br></div></blockquote></div>_______________________________________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" rel="noreferrer" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br>
</blockquote></div></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2" face="arial, sans-serif">Richard Freedman</font></div><div><font size="2" face="arial, sans-serif">Professor of Music</font></div><div><font size="2" face="arial, sans-serif">John C. Whitehead '43 Professor of Humanities</font></div><div><font size="2" face="arial, sans-serif">Chair, Department of Music</font></div><div><font face="arial, sans-serif"><font size="2">Haverford College<br>Haverford, PA 19041<br><br>610-389-0595<br><br><br></font><a href="http://www.haverford.edu/users/rfreedma" target="_blank">http://www.haverford.edu/users/rfreedma</a><br></font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Schedule meeting time: <a href="https://bit.ly/3D0NAQ4" target="_blank">https://bit.ly/3D0NAQ4</a></font></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>mei-l mailing list<br><a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a><br><a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br></div></blockquote></div><br></div><span>_______________________________________________</span><br><span>mei-l mailing list</span><br><span><a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a></span><br><span><a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a></span><br></div></blockquote></div></div></div>_______________________________________________<br>
mei-l mailing list<br>
<a href="mailto:mei-l@lists.uni-paderborn.de" target="_blank">mei-l@lists.uni-paderborn.de</a><br>
<a href="https://lists.uni-paderborn.de/mailman/listinfo/mei-l" rel="noreferrer" target="_blank">https://lists.uni-paderborn.de/mailman/listinfo/mei-l</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="2" face="arial, sans-serif">Richard Freedman</font></div><div><font size="2" face="arial, sans-serif">Professor of Music</font></div><div><font size="2" face="arial, sans-serif">John C. Whitehead '43 Professor of Humanities</font></div><div><font size="2" face="arial, sans-serif">Chair, Department of Music</font></div><div><font face="arial, sans-serif"><font size="2">Haverford College<br>Haverford, PA 19041<br><br>610-389-0595<br><br><br></font><a href="http://www.haverford.edu/users/rfreedma" target="_blank">http://www.haverford.edu/users/rfreedma</a><br></font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Schedule meeting time: <a href="https://bit.ly/3D0NAQ4" target="_blank">https://bit.ly/3D0NAQ4</a></font></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>