lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 3560 in lilypond: Completion_heads_engraver wi


From: lilypond
Subject: Re: [Lilypond-auto] Issue 3560 in lilypond: Completion_heads_engraver with \scaleDurations
Date: Sun, 06 Oct 2013 02:59:55 +0000


Comment #21 on issue 3560 by address@hidden: Completion_heads_engraver with \scaleDurations
http://code.google.com/p/lilypond/issues/detail?id=3560

Comments 19 and 20 suggest ways to solidify the backward-compatibility in the way Jan implemented it for issue 1532: integral multiples of some duration being assumed to be intended as 'long' notes and not scaled music nor part of a tuplet.

That approach, however, would not help the request at the top of this issue (where an integral factor indicates scaled music) and issue 1772 (where a fractional 6/4 used to write a long note was desired to be split into non-tuplet parts) --- unless the respective users understand the workings well enough to set completionFactorUnit appropriately.

For a longer time than we had the implementation from issue 1532, LilyPond split scaled notes across bar-lines into un-scaled parts: c1*3/2 -> c1~ | c2 Most of the notes that got this treatment lasted strictly longer than a measure.

If we change the test, that issue 1532 added to the code, into
 If input_duration > measureLength,  split into notes with scale-factor *1
If input_duration <= measureLength, split into notes with the same scale-factor as the input note
we satisfy the outstanding bug reports.

Even better if we replace measureLength in the test above with something that can be overridden by the user to get pure logical behavior, when he does not need the ugly backward-compatibility : completionLongestScaled ,ly:moment? "Defaults to measureLength if not defined. The completion_*_engraver preserves tuplet scaling or any scaling factor, as in c4*2/3, in the notes it splits, unless the input duration is longer than completionLongestScaled. Longer notes are split into notes with scale factor *1, for backward compatibility with the former behavior of splitting c1*3 into c1 c1 c1. Set this to a very long moment if you need to split tuplet- or scaled-music notes with durations longer than a measure."

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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