lilypond-user
[Top][All Lists]
Advanced

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

Re: partcombine/drummode


From: Bert Verbeek
Subject: Re: partcombine/drummode
Date: Sun, 11 Nov 2007 17:37:14 +0100
User-agent: KMail/1.9.7

Thanks Ole, 

I missed that \rest command in the manual.

With this input, the output is fine:

---- ly input -----
\version "2.10.29"

SNARE = \drummode { sn8->  \notemode {b'8 \rest b'4 \rest }  }
BASSDRUM = \drummode { bd8  s s4 }

\score{
<<
  \new DrumStaff <<
  \set Staff.instrumentName = "Drums"
  \new DrumVoice { \voiceOne \SNARE }
  \new DrumVoice { \voiceTwo \BASSDRUM }
  >>

>>
\layout {} 
}
--------------------

thanks again,
Bert


Op Sunday 11 November 2007, schreef Ole Schmidt:
> I don't know if there are better solutions but you can suppress the
> rest in one voice using s instead of r and center the rest from the
> other voice by changing temporarily to \notemode and using the \rest
> feature:
>
> sn4 \notemode {c''2. \rest}
> %% the c'' makes the position of the rest %%%
>
> also you can override the position of the rest:
>
>   \once \override Rest #'staff-position = #1 r2.
>
> hope that helps
>
> ole
> > ---- ly input -----
> >
> > \version "2.10.29"
> >
> > SNARE = \drummode { sn8-> r r4 }
> > BASSDRUM = \drummode { bd8  r r4 }
> >
> > \score{
> > <<
> >   \new DrumStaff <<
> >   \set Staff.instrumentName = "Drums"
> >   \new DrumVoice { \voiceOne \SNARE }
> >   \new DrumVoice { \voiceTwo \BASSDRUM }
> >
> >
> >
> > \layout {}
> > }
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/lilypond-user



-- 
M.vr.gr.
Bert Verbeek




reply via email to

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