craigsapp / website-polish-scores

Front-end for digital transcriptions of the Polish Music Heritage in Open Access project
https://polishscores.org
3 stars 1 forks source link

Show measure numbers at start of search match non-contiguous measure #247

Open craigsapp opened 10 months ago

craigsapp commented 10 months ago

When the search zoom button is pressed on the work search panel, only measures containing matches are shown:

Screenshot 2024-01-23 at 20 24 35

The second measure's number should be displayed, which is 5 in this case.

The implementation will involve the Humdrum-to-MEI converter in verovio, and possibly the myank tool.

An interesting idea would be to add a gap between such measures, which is possible in verovio (maybe need or should place each contiguous measure in a separate <section> and displaying all of the multiple sections.