The trick of using \repeat fold is an undocumented feature that
only works well in very simple examples. For example, if you
try use the same trick also for separate lines of lyrics for
soprano, tenor or bass, it will fail completely. Another problem
is what you have noted.

Also, you have looked at an old example. It's better to start from the
satb.ly template available at the on-line documentation for version 2.2.

A better solution is to use a separate Lyrics context for each
verse. Something like
altoWordsI = \lyrics{ .... }
altoWordsII = \lyrics{ .... }
altoWordsIII = \lyrics{ .... }

...

score { \notes
          \context StaffGroup <<
              \context Lyrics = sopranos { s1 }
              \context Staff = women <<
                  \context Voice = sopranos { \voiceOne \sopMusic }
                  \context Voice = altos { \voiceTwo \altoMusic }
              >>
              \context Lyrics = altosI { s1 }
              \context Lyrics = altosII { s1 }
              \context Lyrics = altosIII { s1 }
              \context Lyrics = tenors { s1 }
              \context Staff = men <<
                  \clef bass
                  \context Voice = tenors { \voiceOne \tenorMusic }
                  \context Voice = basses { \voiceTwo \bassMusic }
              >>
              \context Lyrics = basses { s1 }

        
              \context Lyrics = sopranos \lyricsto sopranos \sopWords
              \context Lyrics = altosI \lyricsto altos \altoWordsI
              \context Lyrics = altosI \lyricsto altos \altoWordsII
              \context Lyrics = altosI \lyricsto altos \altoWordsIII
              \context Lyrics = tenors \lyricsto tenors \tenorWords
              \context Lyrics = basses \lyricsto basses \bassWords
        
          >>

   /Mats


James Moore wrote:
Thanks for the help.

I've got the multiple verses printing on separate lines now, but the second
and third verses are printed below the music, while the first verse is in
the middle. Suggestions for how to get all the verses in the same place?


Also, compiling is saying:

Interpreting music... /home/JamesMoore/lyrics/Fum.ly:21:21: warning: no one to print a repeat
brace:
\repeat fold 3 { }


I'm assuming that this error is just saying that there's not going to be a
repeat bar printed for lyrics.  That's normal, right?

#(set-global-staff-size 16)
\paper {
linewidth = 455.244096\pt
}
\version "2.2.2"
\header {
title = "Fum Fum Fum"
arranger = "arr. Richmond"
tagline = "OK Chorale / Version 1.1"
pagenumber = no
poet = "Spanish"
}


bassWords = \lyrics {}
sopWords = \lyrics {}
tenorWords = \lyrics {}

altoWords = \lyrics {
\repeat fold 3 { }
\alternative {
{
On De- cem- ber five and twen- ty,
fum fum fum
On De- cem- ber five and twen- ty,
fum fum fum
In a _man- ger low- ly there was born this _night a lit- tle
child.
Of Ma- ry born, a- live this cold De- cem- ber five and twen-
ty
fum fum fum
}
{
All the stars up in the sk- y
fum fum fum
All the stars up in the sk- y
fum fum fum
How they twin- kle light- ly, glit- ter bright- ly, danc- ing in
the sky,
"Fill the" night - - with won- der
lit- tle stars that shine so bright- ly
fum fum fum
}
{
Lit- tle birds out in the for- est fum fum fum
Lit- tle birds out in the for- est fum fum fum
Leave your ber- ries tas- ty bright and red and come and sing
your song
"Fill the" night - - with your singing
lit- tle birds out in the for- est fum fum fum
}
}
}


sopMusic = \notes  \relative c'' {
    \repeat volta 3 {
        a8. gis16 a8 c
        b a gis e
        a4 gis a r
        a8. gis16 a8 c
        b a gis e
        a4 gis a r8 g16 g

                                % manger lowly there was born
        c8 c b b c c b b c c b b c4 r8 b16 c

        \time 3/4
        d8. c16 b8. a16 gis8 e
        a gis a c b a gis e a4 gis a r
    }
}

altoMusic = \notes  \relative c' {
    \repeat volta 3 {
        e8. e16 e8 a
        gis e e b
        c4 b c r
        e8. e16 e8 a
        gis e e b c4 b c r8 g'16 g

                                % manger lowly there was born
        e8 e f f e e f f e e f f e4 r8 e


\time 3/4 f8. f16 f8. f16 e8 e \time 4/4 e e e e d d e b c4 b c r } }

tenorMusic = \notes \relative c' {
\repeat volta 3 {
c8. b16 c8 e d c b gis
a4 b c r
c8. b16 c8 e d c b gis a4 b c r8 g16 g



% manger lowly there was born g8 g g g g g g g g g g g g4 r8 b8

        \time 3/4
        b8. b16 b8. b16 b8 b
        \time 4/4
        c b c c b c d b a4 b c r
    }
}

bassMusic = \notes \relative c {
    \repeat volta 3 {
        a8. a16 a8 a a a e e
        a'4 e a, r
        a8. a16 a8 a a a e' e a4 e a, r8 g'16 g

                                % manger lowly there was born
        c,8 c g' g c, c g' g c, c g' g c,4 r8 c8

        \time 3/4
        d8. e16 f8. f16 e8 e
        \time 4/4
        a e a, b16 c d8 d d e a4 e a, r
    }
}

\score { \notes
\context ChoirStaff <<
\context Lyrics = sopLyrs { s1 }
\context Staff = women { s1 }
\context Lyrics = altoLyrs { s1 }
\context Lyrics = tenorLyrs { s1 }
\context Staff = men {\clef bass s1 }
\context Lyrics = bassLyrs { s1 }
\addlyrics
\context Staff = women \context Voice = VA { \voiceOne
\sopMusic }
\context Lyrics = sopLyrs { \sopWords}
\addlyrics
\context Staff = women \context Voice = VB { \voiceTwo
\altoMusic }
\context Lyrics = altoLyrs { \altoWords }
\addlyrics
\context Staff = men \context Voice = VA { \voiceOne
\tenorMusic }
\context Lyrics = tenorLyrs { \tenorWords}
\addlyrics
\context Staff = men \context Voice = VB { \voiceTwo
\bassMusic }
\context Lyrics = bassLyrs { \bassWords}
>>
\paper {
\context {


% a little smaller so lyrics can be closer
to the staff. \StaffContext
minimumVerticalExtent = #'(-3 . 3) }
}


         \midi {
             \tempo 4 = 100
         }
     }



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to