On 2026-05-10 06:36, Thomas Morley wrote:
#(pretty-print (ly:duration->string (ly:make-duration -3)))
returning:
"log = -3"

Is it possible to let it return "maxima" (similar for "longa", "breve")?
To be more precise, this is a request to modify ly:duration->string (I
have already some clumsy custom code to deal with negative durations).
Are you looking for `duration->lily-string`?

https://gitlab.com/lilypond/lilypond/-/blob/d41c7ad45aa1558e91776f398bfd490d94222366/scm/define-music-display-methods.scm#L104

--
Dan


Reply via email to