lilypond-user
[Top][All Lists]
Advanced

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

Re: How to get irrational tuplets inside a regular meter like 9/8


From: David Kastrup
Subject: Re: How to get irrational tuplets inside a regular meter like 9/8
Date: Tue, 08 Nov 2016 09:02:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

mclaren <address@hidden> writes:

> An alternative method involves simply adding in the required rests, rather
> than squishing or stretching the entire measure with a large tuplet. Since
> this method is easy to calculate exactly because you're just adding and
> subtracting various integer fractions, it always produces guaranteed
> results. With very large tuplets, there seem to sometimes be floating point
> inaccuracies in the calculations done inside Lilypond,

LilyPond does not work with floating point or other inaccurate types for
musical length calculations.  Its own rationals (where it uses them
rather than Guile's rather large rationals) however are limited in the
maximum value of numerator and denominator.  I don't think that it
checks all cases for overflow, so when you exceed their sizes, results
will not be inaccurate as much as completely off the wall.

-- 
David Kastrup



reply via email to

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