lilypond-user
[Top][All Lists]
Advanced

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

RE: uncentered rests


From: Mark Stephen Mrotek
Subject: RE: uncentered rests
Date: Wed, 7 Nov 2012 20:58:53 -0800

Mr. Payne:

 

Thank you for the solution and, especially, the documentation reference. It helps me track down information.

 

Mark

 

From: address@hidden [mailto:address@hidden On Behalf Of Nick Payne
Sent: Wednesday, November 07, 2012 7:54 PM
To: address@hidden
Subject: Re: uncentered rests

 

On 8/11/2012 2:46 PM, Mark Stephen Mrotek wrote:

Fellow Users:

 

Please look at this:

 

\version "2.16.0"

global = {

  \key a \minor

  \time 4/4

}

rightOne = \relative c'' {

  \global

r8 a a a b b b16 c d b | c8 b16 c a8 b c b c d | e b-1 e4~-4 e8 dis16 cis dis e fis dis |

e4. d16 c b8-1 a-2 b-1 e16-5 d |

}

rightTwo = \relative c'' {

  \global

  r1 | r1| r8 e, e e fis fis fis16 g a fis | g8 fis16 g e8 fis g fis g gis |

}

leftOne = \relative c' {

  \global

  r1 | r1 | r1 | r1 |

}

leftTwo = \relative c' {

  \global

  r1 | r1 | r1 | r1 |

}

\score {

  \new PianoStaff \with {

    instrumentName = "Piano"

  } <<

    \new Staff = "right" << \rightOne \\ \rightTwo >>

    \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }

  >>

  \layout { }

}

 

Notice that the rests are at the beginning of the measure. What should I do to get them in the middle?


Use R1 not r1. http://lilypond.org/doc/v2.17/Documentation/notation/writing-rests#full-measure-rests


reply via email to

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