lilypond-user
[Top][All Lists]
Advanced

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

Manual rest placement doesn't seem to work


From: Geoff Horton
Subject: Manual rest placement doesn't seem to work
Date: Sun, 2 Apr 2006 19:40:49 -0400

I've been trying to use the manual placement mechanism and it doesn't
seem to work. Before I file it as a bug, though, I want to be sure I'm
doing it right. Code follows, output attached. Basically, I want the
rests of the center line of each staff.

world = {
  \key d \major
  \time 3/2
}

melody = \relative c'' {
  \world
  b2\rest fs2 fs |
}


alto = \relative c' {
  \world
  s2 d2 d |
}

tenor = \relative c {
  \world
  d2\rest a' a |
 }

bass = \relative c, {
  \world
  d2 d' d |
}

\score {
  \context ChoirStaff <<
    \context Staff = upper <<
      \context Voice =
         sopranos { \voiceOne << \melody >> }
      \context Voice =
         altos { \voiceTwo << \alto >> }
    >>
    \context Staff = lower <<
      \clef bass
      \context Voice =
        tenors { \voiceOne << \tenor >> }
      \context Voice =
      basses { \voiceTwo << \bass >> }
    >>
  >>
  \layout {
    ragged-right = ##t
  }
}

==========================

Am I doing something wrong, or is this really broken?

Geoff

Attachment: manualrests.png
Description: PNG image


reply via email to

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