lilypond-user
[Top][All Lists]
Advanced

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

Re: Overlapping rests in drums score


From: David Kastrup
Subject: Re: Overlapping rests in drums score
Date: Tue, 26 Jun 2012 23:17:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Riccardo Del Monte <address@hidden> 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




reply via email to

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