On 2026-05-26 17:05, Peter Payzant wrote:
Hello-

Sometimes in modern versions of early music, the editor uses the symbology shown in the attached image to indicate a change in metre. I've looked through quite a lot of the LilyPond documentation but haven't been able to find any info about how to create this in a LilyPond file.

It seems that there are two issues: how to create the "breve = dotted breve" string (?), and how to position the result above the staff, centred on the bar line.


Back in 2023 Jean Abou Samra posted some code that would take 2 notes and put them either side of an equals sign that was itself centered on a bar line. And here is that code, modified to produce baroque noteheads. Or at least it seems to, in my limited testing.

tempoChange = #(define-music-function (firstNote secondNote) (ly:music? ly:music?)    #{      \tweak font-size -1      \tweak self-alignment-X ##f      \textEndMark \markup      \put-adjacent #X #LEFT      \put-adjacent #X #RIGHT      \general-align #X #CENTER " = "      \concat {        \rhythm { \tweak style #'baroque #secondNote }        \hspace #0.375      }      \concat {        \hspace #0.25        \rhythm { \tweak style #'baroque #firstNote }      }    #})

It would be used something like \tempoChange \breve \breve.

--
Michael

Reply via email to