[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: tempo percentage
From: David Kastrup <dak () gnu ! org>
Date: 2017-11-27 10:43:01
Message-ID: 87a7z8ypca.fsf () fencepost ! gnu ! org
[Download RAW message or body]
Gianmaria Lari <gianmarialari@gmail.com> writes:
> On 27 November 2017 at 10:30, David Kastrup <dak@gnu.org> wrote:
>
>> Any reason you don't take the previous working code, just replacing
>> ly:moment-mul with ly:moment-add (and factor with value if you want more
>> readable code, but for the first attempt you can skip this)?
>>
>
> Ahem..... you're right! I was thinking that
>
> (rationalize (inexact->exact factor) #e0.0001)
>
> would not make any sense and I removed it.
For your particular example, that would not have made a difference. But
you also removed (ly:make-moment ...) .
--
David Kastrup
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic