lilypond-user
[Top][All Lists]
Advanced

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

Re: Vocal scores with extra staves


From: Klaus Blum
Subject: Re: Vocal scores with extra staves
Date: Mon, 27 Feb 2017 04:27:19 -0700 (MST)

Hi Andrew, 

welcome to the List!  :-)


Andrew Bromage-2 wrote
> the lyrics for verse 2 don't start on the 
> correct beat.

It will be easier to align the lyrics to a voice that exists from the very
beginning. In your example, I've put the unison part into the same voice as
the soprano part.


Andrew Bromage-2 wrote
> the new staff isn't where I expect it to be; I'd like it to 
> be part of the ChoirStaff.

In such cases, it's better to explicitely start a new staff instead of
having LilyPond do that automatically. Now you can control positions with
alignAboveContext or alignBelowContext. 

% ---------------------------------------------------------------
\version "2.18.2"

timeline = {
  \time 4/4
  { s1*2 } \bar "||"
  { s1*2 } \bar "|."
}

choirVerseI = { \relative c'' { c4 c c c c c c c } }
sopranoVerseII = { \relative c'' { c4 c c c c c c c } }
altoVerseII = { \relative e' { e4 e e e e e e e } }
tenorVerseII = { \relative g { g4 g g g g g g g } }
bassVerseII = { \relative c { c4 c c c c c c c } }
pianoRH = { \relative c' { <e c'>1 <e c'> <e c'> <e c'> } }
pianoLH = { \relative c { <c g'>1 <c g'> <c g'> <c g'> } }
lyricsVerseI = \lyricmode { la la la la la la la la }
lyricsVerseII = \lyricmode { lu lu lu lu lu lu lu lu }

\book {
  <<
    \new ChoirStaff {
      \new Staff {
        <<
          \timeline
          \clef treble \key c \major
          \new Voice = "sopranoChorus" {
            \choirVerseI
            <<
              \context Voice = "sopranoChorus" { \voiceOne \sopranoVerseII }
              \new Voice = "altoChorus" { \voiceTwo \altoVerseII }

              \new Staff \with {alignBelowContext = #"chorusLyrics"} {
                \clef bass \key c \major
                <<
                  \new Voice = "tenorChorus" { \voiceOne \tenorVerseII }
                  \new Voice = "bassChorus" { \voiceTwo \bassVerseII }
                >>
              }
            >>
          }
        >>
      }
    }

    \new Lyrics = "chorusLyrics"

    \context Lyrics = "chorusLyrics" {
      \lyricsto "sopranoChorus" { \lyricsVerseI \lyricsVerseII }
    }
    
    \new PianoStaff <<
      \new Staff {
        \clef treble \key c \major <<
          \timeline \new Voice
          { \pianoRH }
        >>
      }
      \new Staff {
        \clef bass \key c \major <<
          \timeline \new Voice {
            \pianoLH
          }
        >>
      }
    >>
  >>
}
% ---------------------------------------------------------------

As you can see, this can get pretty complicated. With your "real" verses
being longer than just two bars, maybe it's easier to start all staves from
the beginning and just working with \RemoveEmptyStaves.

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Vocal-scores-with-extra-staves-tp200526p200529.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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