]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2584 (redo 1967): please make partcombine merge slurs
authorDavid Kastrup <dak@gnu.org>
Wed, 6 Jun 2012 13:38:23 +0000 (15:38 +0200)
committerDavid Kastrup <dak@gnu.org>
Mon, 11 Jun 2012 05:44:54 +0000 (07:44 +0200)
commit8a57f497f6c4f9f00c17040d3c41d30eb2d1b765
tree1b4e3db19189bf4790cf9977e89688166e42386d
parent0ed173a51dfd3101e7ef19dc1162bb7f40bbda36
Issue 2584 (redo 1967): please make partcombine merge slurs

The partcombiner does not really bother about keeping the number of
generated start and end slur events matched, so this attempts to cope
by implementing the following behavior:

a) multiple slur starts on the same moment are not an error but the
   same as one.
b) multiple slur ends on the same moment are not an error but the same
   as one.
a2) there will be a slur with direction UP if there is at least one
   such start event, and there will be a slur with direction DOWN if
   there is at least one such end event.  This might imply a double
   slur, but for ending it, a single slur end is sufficient.

Consequently, a^(_( c)) (the second closing paren not required, just
added for prettiness) will add a double slur.
input/regression/phrasing-slur-multiple.ly
input/regression/slur-multiple.ly
lily/phrasing-slur-engraver.cc
lily/slur-engraver.cc