Re: Rest position in drum voice

2012-04-06 Thread Janek Warchoł
On Fri, Apr 6, 2012 at 9:20 PM, Vaylor Trucks vay...@gmail.com wrote:
 If I try to do the following:

 \version 2.14.2
 up = \drummode {
        hh bd8[ hh ss16 bd] hh tomh16[ 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

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: Rest position in drum voice

2012-04-06 Thread Thomas Morley
Am 6. April 2012 23:09 schrieb Janek Warchoł janek.lilyp...@gmail.com:
 On Fri, Apr 6, 2012 at 9:20 PM, Vaylor Trucks vay...@gmail.com wrote:
 If I try to do the following:

 \version 2.14.2
 up = \drummode {
        hh bd8[ hh ss16 bd] hh tomh16[ 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

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond