Riccardo Del Monte <[email protected]> writes: > Hello. > > I'm really new to Lilypond. I think it's an interesting project, so I > started reading the first two chapters of the Learning Manual on > lilypond.org. But since I play the drums, I wanted to see how the > program worked with drums scores. Thus, as my first test with > Lilypond, I created the .ly file in attachment. > > As you can also see from the .pdf file, there's a problem. When there > are, in this case, two rests on different voices, which should be the > one at the top and the other at the bottom, they overlap. > > Is there a kind of solution to this issue, or is it normal? > \version "2.14.2" > > drh = \drummode { r8 hh8 r8 hh8 r8 hh8 r8 hh8 | > r8 hh8 r8 hh8 r16 hh16 hh16 hh16 r16 hh16 hh16 hh16 > } > > drs = \drummode { r4 bd4 r4 bd4 | > r4 bd4 r4 bd4 > } > > \new DrumStaff << > \new DrumVoice { \stemUp \drh } > \new DrumVoice { \stemDown \drs } >>>
Use \voiceOne and \voiceTwo instead of \stemUp and \stemDown: stem direction is just one of several element of collision avoidance between two voices, and obviously not helpful for separating rests. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
