mei-friend / mei-friend

The mei-friend Web Application: Editing MEI in the Browser
https://mei-friend.mdw.ac.at
GNU Affero General Public License v3.0
33 stars 18 forks source link

Issues with facsimile in mensural notation #94

Closed martha-thomae closed 6 months ago

martha-thomae commented 7 months ago

In mensural notation, voices are distributed over the opening of a book; usually with the soprano and tenor on the left page, and the alto and the bass on the right page of the book opening. Therefore, to encode a mensural piece, one needs at least two pages (the left and right pages of the opening) to contain the full piece. This causes issues for the facsimile shown in the facsimile panel of mei-friend, as one needs to display two pages at once.

I provide here an example of a mensural piece distributed over the two pages of a book opening (27v and 28r). As can be seen in the two <graphic> elements:

This is the full code: Missa6.4_Sanctus_Section1_f27v-28r_MENSURAL_SCORE.mei.zip

The facsimile panel shows only one page, the first one (27r), with the zones corresponding to the systems on that page.

27v-28r


If you modify the file so that the second <graphic> element has the same page value in @target as the first <graphic> element (so both having target="https://muret.dlsi.ua.es/images/iiif/2/6:213:masters:27v.jpg/full/full/0/default.jpg"), then you will see that the same page is rendered, but now two zones appear per system—those belonging to the ones that are supposed to be on 27v and those that are supposed to be on 28r. You can use the following file that includes this modification: Missa6.4_Sanctus_Section1_f27v_twice.mei.zip

27v (two systems)

wergo commented 6 months ago

Thank you @martha-thomae for raising this issue and providing the great examples.

What behavior would you expect?

1) Clicking on an element in the encoding that contains a @facs attribute pointing to a zone inside a surface would bring up the correct source image and highlight the connected zone? 2) Or displaying two source images at the same time? What then, if there more than two images linked?

martha-thomae commented 6 months ago

Hi @wergo! Thank you for your answer :)

I would prefer option 2. But indeed, we have an issue when we have lots of images. How difficult would it be to show all the images one after the other (vertically) so that you could scroll through them to see/add/delete zones?

wergo commented 6 months ago

@martha-thomae Thanks a lot for your input! (Helped me a lot to re-think my previous approach.)

With version 1.0.13 (479afa7b08f89ea65a61b1e3de9c04b360df1916), mei-friend supports displaying multiple source images at once, based on all elements shown in the notation panel. Thus, if you select breaks=none in the notation control bar, all source images are shown side-by-side, each with a title showing the filename of the image.

Could you please test it at https://staging.mei-friend.mdw.ac.at/?

Here a screenshot with the example file you provided:

Bildschirmfoto 2024-04-21 um 10 58 19
wergo commented 6 months ago

Here an example with breaks=none for Beethoven’s Andante favori WoO57 showing all source images at once:

Bildschirmfoto 2024-04-21 um 11 01 29
martha-thomae commented 6 months ago

Thank you so much, @wergo! I am excited to use this now :)