bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1110 in lilypond: Wrong octave of repetition chord with \relat


From: lilypond
Subject: Re: Issue 1110 in lilypond: Wrong octave of repetition chord with \relative and #{ #} syntax
Date: Fri, 16 Dec 2011 11:34:54 +0000


Comment #24 on issue 1110 by address@hidden: Wrong octave of repetition chord with \relative and #{ #} syntax
http://code.google.com/p/lilypond/issues/detail?id=1110

Come to think of it, the least invasive strategy might be hybrid: one does not try tracking the relation between q and the preceding chord at all but leaves it in the input side. \relative just throws away the existing contents of any q it encounters and replaces it by the chord it considers as the previous chord itself. If it has no such chord available, it keeps the current one and outputs a warning, like the input-based q would without a reference.

That way, q has predictable behavior and reference point both within and without \relative. Those are not the same, but given the more pathological cases discussed in the comments, we could not guarantee them to be the same, anyway.

The effort is pretty much the same as with tracking the relation to the previous chord: another layer of context-keeping (and/or another pass) for \relative.




reply via email to

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