lilypond-user
[Top][All Lists]
Advanced

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

Re: Rest position in drum voice


From: Thomas Morley
Subject: Re: Rest position in drum voice
Date: Fri, 6 Apr 2012 23:31:55 +0200

Am 6. April 2012 23:09 schrieb Janek Warchoł <address@hidden>:
> On Fri, Apr 6, 2012 at 9:20 PM, Vaylor Trucks <address@hidden> wrote:
>> If I try to do the following:
>>
>> \version "2.14.2"
>> up = \drummode {
>>        <hh bd>8[ <hh ss>16 bd] <hh tomh>16[ <hh tomh> bd <hh sn>]
>>        r16 hh16[ hh tomh] <hh bd>[ hh toml <hh bd>]
>> }
>> down = \drummode {
>>        d8\rest hhp d8\rest hhp d8\rest hhp d8\rest hhp
>> }
>>
>> in a DrumStaff, Lilypond complains that d8 is an unexpected string.  I have 
>> also
>> tried pedalhihat8\rest but tells me that the "\rest" is unexpected.
>
> Looks like a bug to me, i'm forwarding this e-mail to our
> bug-reporting mailing list.
>
>> What method should I use to position rests in a drum voice?
>
> change its offset, for example.
>
> \override Rest #'Y-offset = #4
>
> hope this helps,
> Janek

Hi,

I don't think it's a bug. d8\rest works fine in \notemode but we''re
in \drummode.
Well, you can make it work (if you really want to) with:

downI = \drummode {
        \notemode { d8\rest } hhp \notemode { d8\rest } hhp \notemode
{ d8\rest } hhp \notemode { d8\rest } hhp
}

but that's odd.

I'd suggest similiar to Janek:

\override  Rest #'staff-position = #-11


HTH,
  Harm



reply via email to

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