bug-lilypond
[Top][All Lists]
Advanced

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

Re: grace synchronization


From: David Kastrup
Subject: Re: grace synchronization
Date: Fri, 26 Aug 2011 23:32:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> Hello all, 
>
> I'm running into a rather irritating grace synchronization problem —
> an acciaccatura in one voice is overriding an explicit page break —
> and so I wanted to know what it would take to fix the grace sync
> problem "once and for all".
>
> I know of Issue 34 (and others) in the tracker, but here's my explicit
> question: What total bounty would cover a rewrite of the code so that
> grace note synchronization is not a concern at all for the user? I
> probably can't cover the whole thing, but knowing exactly the scope of
> the problem might lead others [who are equally frustrated by this
> issue] to chip in and get the fix funded.

I checked around, and Rationals (which are used for time) have a
representation of -inf.  I think it would be a good start if the default
grace time component (namely when no grace is present) was not set to 0,
but to -inf, meaning everything comes before graces.  Except those
things that are actually preceded by graces.

The problem is that -inf will get a lot more visibility, likely also in
user code.  Alternatively, one could use SCM_UNSPECIFIED instead, but
that does not automagically do the right things in numerical comparisons.

-- 
David Kastrup




reply via email to

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