jan <jan.hakenb...@gmail.com> writes:

> Hi,
>
> i did not expect the tempo definition in Lilypond to be required to be an
> integer.
>
> For instance
>
>     \tempo 4 = 82.3
>
> produces the error.
>
> "syntax error, unexpected REAL"
>
> Since in midi tempo definitions are of type float

They aren't.  They are exact fractions.

> I wonder if there is a reason for Lilypond to restrict the tempo to
> integers. If there is no reason, I would like to suggest to make the
> tempo command more general and accept reals.

Inexact numbers would make LilyPond's Midi output unpredictable
(unsuitable for binary comparison).  I am not sure this would be a
problem: we have the same situation with the extensive floating point
calculations involved in the printed output.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to