[MEI-L] What is the position referred to by @endid?

Axel Teich Geertinger atge at kb.dk
Fri Jan 19 12:24:35 CET 2024


Dear list,


I have been wondering about what I thought at first to be a bug in the MEI import in MuseScore 4.2. As MuseScore does not operate with timestamps (for now at least), the beginning and end of elements such as hairpins must be expressed using @startid and @endid.

Comparing renderings in Verovio and MuseScore, I noticed that in the example below, MuseScore interprets the time position of @endid="#note_2" to be the end of the duration of note 2, while Verovio renders it as the visual position of the note itself, i.e., the beginning of its duration.

So what is the correct time position referred to by @endid? Looking through the guidelines, I did not find it defined, tough I may have overlooked it.

Anyway, in order to encode positions unambiguously I think it is important that there is no doubt about the meaning of @endid.

Best,
Axel


Example:


<measure xml:id="mvm2upn" n="1">
   <staff xml:id="m1s1" n="1">
      <layer xml:id="m1s1l1" n="1">
         <note xml:id="note_1" dur="4" pname="g" oct="4" />
         <note xml:id="note_2" dur="4" pname="g" oct="4" />
         <note xml:id="note_3" dur="4" pname="g" oct="4" />
         <note xml:id="note_4" dur="4" pname="g" oct="4" />
      </layer>
   </staff>
   <hairpin xml:id="h1dpcglf" form="dim" startid="#note_1" endid="#note_2" />
</measure>


Rendering in MuseScore:

[cid:d4d281b1-d45b-4169-9323-d3c4b19ecd21]


Rendering in Verovio:

[cid:39388586-20fc-4d99-8455-d4c621550a64]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20240119/3a5721e4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hairpin_note_1-2_musescore.png
Type: image/png
Size: 4745 bytes
Desc: hairpin_note_1-2_musescore.png
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20240119/3a5721e4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hairpin_note_1-2_verovio.png
Type: image/png
Size: 7571 bytes
Desc: hairpin_note_1-2_verovio.png
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20240119/3a5721e4/attachment-0001.png>


More information about the mei-l mailing list