Sorry, copying error: to avoid confusion, the numbers should be 90.86/4 = 22.715
> 22 jan. 2024 kl. 22:22 skrev Leo Correia de Verdier > <leo.correia.de.verd...@gmail.com>: > > Hi Jacopo! > > I think > \set Timing.tempoWholesPerMinute = #(ly:make-moment 24.715) % that is 98.86/4 > should work for the midi output. At least it accepts floats. Combining it > with Michael’s solution for the markup should get you the complete \tempo > > I might have heard sometime in the past that tempoWholesPerMinute got > internally rounded down the line. Do any of you in the developing team know > if this has been fixed? > > Anyway, one other caveat to keep in mind is that it is much more common for > musicians to see a fractional tempo mark (printed in the score/part, > regardless of whether it is motivated by fixed electronics or film) as a > reason to sneer at the composer than for it to carry any useful information > for their interpretation. > > HTH > /Leo > >> 22 jan. 2024 kl. 16:53 skrev Michael Werner <reznae...@gmail.com>: >> >> On Mon, Jan 22, 2024 at 9:33 AM Jacopo Greco d'Alceo <corde...@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 >> >