lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tempo marks floating number


From: Michael Werner
Subject: Re: tempo marks floating number
Date: Mon, 22 Jan 2024 10:53:37 -0500

On Mon, Jan 22, 2024 at 9:33 AM Jacopo Greco d'Alceo <cordelia@disroot.org> wrote:
How can I simply write a bpm in floating number in lilypond (e.g.♩ = 90.86 ) ?
It seems that \tempo accept only integers.
thanks

You can do pretty much any markup with the \tempo command. Two ways you can do this are either:
\tempo \markup { \note { 4 } #UP " = 90.86" }
or
\tempo \markup { \rhythm { 4 } " = 90.86" }

The \note function is a bit simpler and creates a note stencil that's a tad larger than what's produced by the \rhythm function. The \rhythm function, however, is far more flexible in what it can produce. More info on the \note function at:
https://lilypond.org/doc/v2.25/Documentation/notation/markup-for-music-and-musical-symbols#index-_005cnote
and for the \rhythm function see:
https://lilypond.org/doc/v2.25/Documentation/notation/markup-for-music-and-musical-symbols#index-_005crhythm

One caveat to keep in mind is that \tempo entries done with \markup do not affect MIDI playback.
--
Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]