humdrum-tools / verovio-humdrum-viewer

Verovio Humdrum Viewer
http://verovio.humdrum.org
36 stars 9 forks source link

Override !!!OMD: tempo marking display at start of music #872

Closed craigsapp closed 5 months ago

craigsapp commented 5 months ago

Example: In the following example, both Adagio and [quarter-dot] = 3 will both be shown in the score:

!!!OMD: Adagio
**kern
*clefG2
!!LO:TX:tempo:t=[quarter-dot] = 63
*M4/4
=1
1c
=2
1d
==
*-
Screenshot 2024-01-19 at 22 04 16

(In a separate issue, probably rearrange order of !!!OMD: text so that it appears above in-line tempo marking information).

Add a marker to !!LO:TX text to indicate that it is used as a replacement for !!!OMD: rather than displayed along with the OMD text. Use !!LO:TX:omd: to suppress use of !!!OMD: display:

!!!OMD: Adagio
**kern
*clefG2
!!LO:TX:omd:tempo:t=[quarter-dot] = 63
*M4/4
=1
1c
=2
1d
==
*-
Screenshot 2024-01-19 at 22 06 56

Note that local layout messages are not considered, such as !LO:TX:omd:.

craigsapp commented 5 months ago

Implemented with commit https://github.com/rism-digital/verovio/commit/80ec72db26db16978097b86b61526af75a8b560e