articulate.ly creates MetronomeMark under lilypond > 2.25.22
Graham King <[email protected]> Mon, 04 Aug 2025 16:11:42 +0100
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <[email protected]> |
In lilypond 2.25.23, tempoWholesPerMinute was changed from a moment to
a fraction. I'm trying to avoid making my existing scores a hostage to
the eventual removal of tempoWholesPerMinuteAsMoment, but an associated
change to the behaviour of articulate.ly is causing trouble.
This problem was originally raised at
https://lists.gnu.org/archive/html/lilypond-user/2025-07/msg00068.html
but I'm re-sending it as a bug, in the hope that articulate.ly can be
prevented from creating a visual artefact.
If the following MWE is compiled under lilypond 2.25.22, the PDF output
is as expected. However if it is compiled under 2.25.23, an unwanted
MetronomeMark "[semibreve] = 50" appears at bar 2.
-- Graham
% ~~~~~~~~~~~~~~~~~~~~
\include "articulate.ly"
% (my scores and functions all use moments):
newTempo = #(ly:make-moment 100 2)
{ c'2 2
#(ac:tempoChange (if (ly:version? > '(2 25 22))
(ly:moment-main newTempo)
newTempo))
c'2 2
}
% ~~~~~~~~~~~~~~~~~~~~