[MEI-L] Question about mRest, dur and dots in MEI 3 and 4
Richard Freedman
rfreedma at haverford.edu
Mon Jun 6 03:16:49 CEST 2022
The odd thing:
If I replace the mRest with <rest dur="breve" dots="1"> in MEI Friend/Atom
with MEI.40 file, it works.
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.
Including that dot attribute is enough to convince Music21 of the correct
count of the rests.
Thoughts?
Richard
On Sun, Jun 5, 2022 at 4:06 PM Klaus Rettinghaus <
klaus.rettinghaus at gmail.com> wrote:
> Hi Richard,
>
> the main problem is that the dots attribute has been removed in MEI 4.
> See
> https://music-encoding.org/guidelines/v4/elements/mrest.html#attributes
> and
> https://github.com/music-encoding/music-encoding/issues/429
>
> —
> Dr. Klaus Rettinghaus
>
> Am 05.06.2022 um 19:56 schrieb Andrew Hankinson
> <andrew.hankinson at rism.digital>:
>
> I can't tell you exactly why it's happening, but I suspect there's
> something going wrong here:
>
>
> https://github.com/music-encoding/encoding-tools/blob/main/mei30To40/mei30To40.xsl#L367-L415
>
> Particularly lines 410-413.
>
>
>
> On 5 Jun 2022, at 19:25, Richard Freedman <rfreedma at haverford.edu> wrote:
>
> I am using MEI garage. We have a script by Raff Viglianti that passes
> each of our MEI 3 files to garage, then
> saves them locally.
>
> richard
>
> On Sun, Jun 5, 2022 at 1:21 PM Andrew Hankinson <
> andrew.hankinson at gmail.com> wrote:
>
>> Hi Richard,
>>
>> How are you converting the files? What script or service are you using?
>>
>> -Andrew
>>
>> On 5 Jun 2022, at 18:39, Richard Freedman <rfreedma at haverford.edu> wrote:
>>
>>
>> Friends,
>>
>> I am wondering whether someone can help me with confusion about the
>> encoding of mRests.
>>
>> Our MEI 3.0 files have certain bars with mRest under a time signature of
>> 3/1.
>>
>> 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.
>>
>> However, when I convert these files to MEI 4.0. I also see a dur of
>> "breve 1", and the dots="1" are gone.
>>
>> What is the meaning of "breve 1" here? I cannot seem to find the
>> documentation of this attribute value.
>>
>> Thanks!
>>
>> Richard
>>
>> --
>> Richard Freedman
>> Professor of Music
>> John C. Whitehead '43 Professor of Humanities
>> Chair, Department of Music
>> Haverford College
>> Haverford, PA 19041
>>
>> 610-389-0595
>>
>>
>> http://www.haverford.edu/users/rfreedma
>>
>> Schedule meeting time: https://bit.ly/3D0NAQ4
>>
>> _______________________________________________
>> mei-l mailing list
>> mei-l at lists.uni-paderborn.de
>> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>>
>> _______________________________________________
>> mei-l mailing list
>> mei-l at lists.uni-paderborn.de
>> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>>
> --
> Richard Freedman
> Professor of Music
> John C. Whitehead '43 Professor of Humanities
> Chair, Department of Music
> Haverford College
> Haverford, PA 19041
>
> 610-389-0595
>
>
> http://www.haverford.edu/users/rfreedma
>
> Schedule meeting time: https://bit.ly/3D0NAQ4
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l
>
--
Richard Freedman
Professor of Music
John C. Whitehead '43 Professor of Humanities
Chair, Department of Music
Haverford College
Haverford, PA 19041
610-389-0595
http://www.haverford.edu/users/rfreedma
Schedule meeting time: https://bit.ly/3D0NAQ4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20220605/1be00b71/attachment.htm>
More information about the mei-l
mailing list