bug-lilypond
[Top][All Lists]
Advanced

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

Re: partcombine with rests


From: Rick Kimpel
Subject: Re: partcombine with rests
Date: Sat, 13 May 2006 03:19:43 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

>> trying to avoid the top posting gmane bug.

\version "2.8.1"
global = {
\key c \major
\time 4/4
}

sopMusic = \relative c'' {
c4 c c8[( b)] c4 R1 r2 d2 R1 \break
c4 c c8[( b)] c4 r2 d2 R1 R
}
sopWords = \lyricmode {
hi hi hi hi
}

altoMusic = \relative c' {
e4 f d e r2 d2 R1 R \break
e4 f d e R1 r2 d2 R1
}
altoWords =\lyricmode {
ha ha ha ha
}

tenorMusic = \relative c' {
g4 a f g R1 R r4 c2 r4 \break
g4 a f g R1 R R
}
tenorWords = \lyricmode {
hu hu hu hu
}

bassMusic = \relative c {
c4 c g c R1 R R \break
c4 c g c R1 R r4 c'2 r4
}
bassWords = \lyricmode {
ho ho ho ho
}

\score {
<<
\new ChoirStaff <<
   \new Lyrics = sopranos { s1 }
   \new Staff = women <<
     \new Voice =
       "sopranos" { \voiceOne << \global \sopMusic >> }
     \new Voice =
       "altos" { \voiceTwo << \global \altoMusic >> }
   >>
   \new Lyrics = "altos" { s1 }
   \new Lyrics = "tenors" { s1 }
   \new Staff = men <<
     \clef bass
     \new Voice =
       "tenors" { \voiceOne <<\global \tenorMusic >> }
     \new Voice =
       "basses" { \voiceTwo <<\global \bassMusic >> }
   >>
   \new Lyrics = basses { s1 }

   \context Lyrics = sopranos \lyricsto sopranos \sopWords
   \context Lyrics = altos \lyricsto altos \altoWords
   \context Lyrics = tenors \lyricsto tenors \tenorWords
   \context Lyrics = basses \lyricsto basses \bassWords
>>
\new PianoStaff <<
\new Staff <<
   \set Staff.printPartCombineTexts = ##f
   \partcombine
   << \global \sopMusic >>
   << \global \altoMusic >>
>>
\new Staff <<
   \clef bass
   \set Staff.printPartCombineTexts = ##f
   \partcombine
   << \global \tenorMusic >>
   << \global \bassMusic >>
>>
>>
>>
\layout {
\context {
   \Staff
     \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
}
}
} 





reply via email to

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