]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4233: Improve partcombine multi-measure rest handling.
authorDan Eble <nine.fierce.ballads@gmail.com>
Mon, 29 Dec 2014 02:54:52 +0000 (21:54 -0500)
committerDan Eble <nine.fierce.ballads@gmail.com>
Mon, 5 Jan 2015 01:24:41 +0000 (20:24 -0500)
commit771722dc109f9da48f08d14bcde9c154be629aec
treed2486abaf9291a8f099ce8500d6af4279070d9dd
parent47db9a3883d726ca53e2133a3b2298f78dd6a32e
Issue 4233: Improve partcombine multi-measure rest handling.

Add "silence1" and "silence2" states which constrain the partcombine
iterator to take events from a specific part during intervals of
silence.  These new states allow the following improvements.

Detect when a multi-measure rest starts in the middle of a
multi-measure rest in the other voice and engrave it as a shared rest.
Previously, the new rest would have been engraved as a voice-specific
rest.

In solo analysis, when a rest and a multi-measure rest begin
simultaneously, engrave the rest as a shared rest and omit the
multi-measure rest.  Previously, both rests would have been engraved
as voice-specific rests.
input/regression/part-combine-mmrest-after-apart-silence.ly
lily/part-combine-iterator.cc
scm/part-combiner.scm