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

Klaus Rettinghaus klaus.rettinghaus at gmail.com
Sun Feb 4 17:31:45 CET 2024


Dear Axel, 

I believe that this was never decided properly and is open to interpretation of the renderer. 

From my understanding @tstamp2 and @endid point to a specific visual point along the staff, and then latter basically points to the connected note or chord. 
You may find several issues and discussion around this in the Verovio repository, e.g., https://github.com/rism-digital/verovio/discussions/3313.  

Best, 
Klaus


> Am 19.01.2024 um 12:24 schrieb Axel Teich Geertinger <atge at kb.dk>:
> 
> 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:
> <hairpin_note_1-2_musescore.png>
> 
> Rendering in Verovio:
> <hairpin_note_1-2_verovio.png>
> 
> 
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de <mailto:mei-l at lists.uni-paderborn.de>
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-paderborn.de/pipermail/mei-l/attachments/20240204/0e6af4d0/attachment.htm>


More information about the mei-l mailing list