Comment #4 on issue 185 by [email protected]: RhythmicStaff squishing
chords should produce single notes
http://code.google.com/p/lilypond/issues/detail?id=185
The doubled note heads can be merged by setting their X-offset to 0.
Additionally, for chords with dotted duration, you have to get rid of all
but one lenghtening dot, as they get spaced apart in their DotColumn.
Here is a kludgy patch that does both, the latter by implementing a simple
new Squashed_dot_column_engraver:
http://codereview.appspot.com/6495107/
(This is my first work with the LilyPond source code, please review
critically.)
With the patch, this works as intended:
\new RhythmicStaff {
<c es g>4. <c e>8( <cis eis>16 <d f>-> e) r \times 2/3 { <c e>8 c c }
}
Limitation: If you want to sqash multiple voices, you have to move the
Squashed_dot_column_engraver to the Voice level. (You might want to do the
same with the Pitch_squash_engraver anyway to define a separate
squashedPosition for each.)
Attachments:
issue185-patched.png 2.4 KB