On Mon, Jan 22, 2024 at 9:33 AM Jacopo Greco d'Alceo <[email protected]>
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