lilypond-user
[Top][All Lists]
Advanced

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

Re: Two voice notes with one voice rests


From: Richard Sabey
Subject: Re: Two voice notes with one voice rests
Date: Thu, 12 Apr 2012 09:14:37 +0000

Phil Holmes wrote
> Here's one way:
>
>\relative c'' {
>   << { \override Rest #'staff-position = #0 d8 r d r d r d r } \\ { b8 s b
>s b s b s }  >>
>   <b d> r <b d> r <b d> r <b d> r
>}

This suggestion is fine for notes at those particular positions on the stave, but for higher or lower notes, a different method is needed. One way is to alter Rest #'staff-position at the Score level:

mus =
{
    \override Score.Rest #'staff-position = #0
    << { e'8 r g' r e'' r g'' r }
    \\ { c'8 r e'8 r c'' r e'' r }
    >>
}

\score
{
    \mus
}

Another way is to adopt Phil's method in one Voice, and use spacer rests in the other Voice:

mus =
{
    << { \override Rest #'staff-position = #0
         e'8 r g' r e'' r g'' r
       }
    \\ { c'8 s e'8 s c'' s e'' s }
    >>
}

\score
{
    \mus
}


Richard Sabey

reply via email to

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