lilypond-user
[Top][All Lists]
Advanced

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

RE: Choral lyrics assistance, please.


From: Trevor Daniels
Subject: RE: Choral lyrics assistance, please.
Date: Sun, 3 Feb 2008 16:18:41 -0000

Hi Nick

I saw your later note about using book, but it can be done
in straightforward Lily, although maybe 'straightforward' is
not the right word!  Using book is probably easier.  The
problem you had is the quite tricky positioning of the
sequential and simultaneous sections.  I'll explain here how
to work this out, as it might be a useful example for the
docs.

Let's start with the score block containing a ChoirStaff.
Normally you would need angle brackets after Choirstaff to
bring in all the staves in parallel, but here we want to
defer the parallelism so we use braces, although angle
brackets here wouldn't hurt.  Inside Choirstaff we want
first the staff which will contain the verse.  This must
contain notes and lyrics in parallel, so here we need angle
brackets around the \new Voice and \new Lyrics to start them
at the same time:

\score {
  \new Choirstaff {
    \new Staff <<
      \new Voice = verse {
        \versenotes \break
      }
      \new Lyrics \lyricsto verse {
        \versewords
      }
    >>
  }
}

That gives the verse line.

Now we want to continue with refrainA while a second staff
is introduced in parallel with it for refrainB, so this is a
parallel section which must be positioned immediately
following the \break in the verse Voice.  Yes, -within- the
verse Voice!  Here's that parallel section.  More staves
could be introduced here in the same way.

        <<
          \refrainnotesA
          \new Lyrics \lyricsto verse {
            \refrainwordsA
          }
          \new Staff = refrainB <<
            \new Voice = refrainB {
              \refrainnotesB
            }
            \new Lyrics \lyricsto refrainB {
              \refrainwordsB
            }
          >>
        >>

Here's the final full example:

versenotes = \relative c'' {
        \clef "treble"
        \key g \major
        \time 3/4 g g g b b b
}
refrainnotesA = \relative c'' {
        \time 2/4
        c c g g \bar "|."
}
refrainnotesB = \relative c {
        \clef "bass"
        \key g \major
        c e d d
}
versewords = \lyricmode {
        One two three four five six
}
refrainwordsA = \lyricmode {
        la la la la
}
refrainwordsB = \lyricmode {
        dum dum dum dum
}
\score {
  \new ChoirStaff {
    \new Staff <<
      \context Voice = verse {
        \versenotes \break
        <<
          \refrainnotesA
          \new Lyrics \lyricsto verse {
            \refrainwordsA
          }
          \new Staff = refrainB <<
            \new Voice = refrainB {
              \refrainnotesB
            }
            \new Lyrics \lyricsto refrainB {
              \refrainwordsB
            }
          >>
        >>
      }
      \new Lyrics \lyricsto verse {
        \versewords
      }
    >>
  }
}

HTH

Trevor D


> -----Original Message-----
> From: address@hidden
> [mailto:lilypond-user-bounces+t.daniels=treda.co.u
> address@hidden Behalf Of
> NJW
> Sent: 02 February 2008 18:14
> To: address@hidden
> Subject: Choral lyrics assistance, please.
>
>
>
> This problem has occupied me for about three
> weeks! I have progressed quite
> easily from single-staff through four-part choral
> music with lyrics, but
> they have all been quite straightforward.
>
> This piece has a solo verse, followed by
> four-part refrain, with differences
> in lyrics and rhythms in all four parts.  I can
> get the music to compile
> properly, but I'm having no success with adding
> the lyrics.
>
> The following code is representative of what I've
> got so far.  I have
> included comments at the positions of potential
> lyric context code, showing
> the errors.  The dummy '\context Lyric' line was
> to try and help Lilypond
> find the 'verse' Voice (from the way NoteEdit
> arranged LP code, right or
> wrong) but it didn't make any difference.
>
> If the solution is obvious, I apologise in advance!
>
> (I hope Nabble doesn't reformat everything -- is
> there a <code> tag?)
>
> %%%%%%%%%%%%%%%
> \version "2.11.37"
>
> versenotes = \relative c'' {
>       \clef "treble"
>       \key g \major
>       \time 3/4 g g g b b b
> }
> refrainnotesA = \relative c'' {
>       \time 2/4
>       c c g g \bar "|."
> }
> refrainnotesB = \relative c {
>       \clef "bass"
>       \key g \major
>       c e d d
> }
> versewords = \lyricmode {
>       One two three four five six
> }
> refrainwordsA = \lyricmode {
>       la la la la
> }
> refrainwordsB = \lyricmode {
>       dum dum dum dum
> }
>
> \score {
>       \new ChoirStaff {
>       \new Staff \context Voice = verse \versenotes \break
>
> % Dummy Lyrics context :
> %     \context Lyrics = v \lyricsto verse { }
> % Following line causes 'Moment is not increasing' error :
> %     \context Lyrics = verse \lyricsto verse \versewords
>       <<
>               \refrainnotesA
>               \new Staff = refrainB \context
> Voice = refrainB { \refrainnotesB }
>       >>
>
> % Following line causes 'cannot find Voice 'verse' :
> %     \context Lyrics = v \lyricsto verse \versewords
>       }
> }
> %%%%%%%%%%%%%%%
>
> --
> Nick.
> --
> View this message in context:
> http://www.nabble.com/Choral-lyrics-assistance%2C-
please.-tp15245586p15245586.html
Sent from the Gnu - Lilypond - User mailing list archive at
Nabble.com.



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






reply via email to

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