Please read in
http://lilypond.org/doc/v2.6/Documentation/user/out-www/lilypond/Explicitly-instantiating-voices.html#Explicitly-instantiating-voices
on exactly what the <<{...} \\ {...} >> feature does.

Note that the LilyPond concept of Voice contexts is intended to
correspond exactly to the musical concept of one voice, i.e. you should
have one Voice context for each voice. Also, since the rhythm may
differ between different voices, the lyrics has to be connected to a
single voice.

Here's one possible structure for your \score block. Note that I have
reorganized things a bit more. For example, I have only explicitly
named the Voice contexts that need a name and I got rid of \global2.

global = {
   \key g \major
   \override Staff.TimeSignature #'style = #'()
   \time 4/4
   % Version of the \aikenHeads macro that applies to all
   % voices in the stave:
   \set Staff.shapeNoteStyles = ##(do re mi fa #f la ti)
   % Idem for \autoBeamOff
   \set Staff.autoBeaming = ##f
}

...

\score {
 \context ChoirStaff <<
   \context Staff = women {
     \global
     <<
       \context Voice = sopVerses { \voiceOne \sopMusic }
       \new Voice { \voiceTwo \altoMusic }
     >>
     <<
       \context Voice = sopChorus { \voiceOne \sopChorusMusic }
       \new Voice { \voiceTwo \altoChorusMusic }
     >>
   }

   \context Lyrics = lineone { s1 }
   \context Lyrics = linetwo { s1 }
   \context Lyrics = linethree { s1 }

   \context Staff = men {
     \clef bass
     \global
     <<
       \new Voice { \voiceOne \tenorMusic }
       \new Voice { \voiceTwo \bassMusic }
     >>
     <<
       \new Voice { \voiceOne \tenorChorusMusic }
       \new Voice { \voiceTwo \bassChorusMusic }
     >>
   }

   \lyricsto sopVerses \context Lyrics = lineone \verseonewords
   \lyricsto sopVerses \context Lyrics = linetwo \versetwowords
   \lyricsto sopVerses \context Lyrics = linethree \versethreewords
   \lyricsto sopChorus \context Lyrics = lineone \choruswomen
 >>


 \layout {
      indent = 0
  }

 \midi { \tempo 4=100 }
}


You can simplify it further, for example by replacing
     <<
       \context Voice = sopVerses { \voiceOne \sopMusic }
       \new Voice { \voiceTwo \altoMusic }
     >>
     <<
       \context Voice = sopChorus { \voiceOne \sopChorusMusic }
       \new Voice { \voiceTwo \altoChorusMusic }
     >>

with
     <<
       {
         \context Voice = sopVerses { \voiceOne \sopMusic }
         \context Voice = sopChorus { \voiceOne \sopChorusMusic }
       }
       \new Voice { \voiceTwo \altoMusic \altoChorusMusic }
     >>


  /Mats




Jeff Shuman wrote:

I've only been working with Lilypond for a couple months, but I haven't been able to figure this out by the manual. I'm using version 2.6.4-5 for Windows.

I use Lilypond for engraving congregational hymns. Almost all the songs are in 4-parts, and have the 3 verses followed by a single chorus. All the lyrics should appear between the staves. I want the flags on the staff to face opposite directions (soprano and tenor up, alto and bass down). I've seen the SATB score example, but I also want to separate the VERSE music and lyrics from the CHORUS
music and lyrics.

The following solution almost works, but no lyrics appear. (full .ly source is available at http://36thstchurchofchrist.com/documents/bindhands.ly ) Can someone please point
out the error(s)?


  /Mats


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

Reply via email to