bug-lilypond
[Top][All Lists]
Advanced

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

Re: \tempo should accept floats


From: David Kastrup
Subject: Re: \tempo should accept floats
Date: Tue, 28 Mar 2017 17:47:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Urs Liska <address@hidden> writes:

> As discussion on https://github.com/wbsoft/python-ly/pull/90 shows
> floating point metronome numbers are surely something LilyPond should
> provide.
>
> \tempo 4 = 60.0
> => error: syntax error, unexpected REAL

So what do you expect to see here as the markup?  "♩ = 60.0" ?  And for
\tempo 4 = #190/7
what do you expect to see here?  "♩ = 12.9"? "♩ = 12.86"?  "♩ = 190/7"?

What for
\tempo 4 = #(/ 190.0 7) ?

I know how to format an integer.  But I have no way to guess what a
composer will want to see for some rational or floating-point number.

If LilyPond "should surely provide", the question is _what_ should it
provide?  I don't see that there is a ready answer for that.

-- 
David Kastrup



reply via email to

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