Hi all,

I've been away from Lilypond for a while (I used it as a composer to set my pieces, and composition has taken a back seat for a few years). I just want to say that looking at the new features in 2.14 (and in 2.12 before that), it's incredible what everyone has done, so much thanks!

A member of my choir wrote a new set of Preces and Responses, and we read it last night. The conductor typed it up for him using Finale, which he's not terribly proficient at using, so I volunteered to make a nice copy of it using Lilypond. So far the only issue I have is working out how to layout the page. I'd like to do it in the style of most other Preces/Responses I've seen, where there's a single staff for the priest's line, which stops, and then on the same horizontal line, a 2 staff ChoirStaff for the choir part starts. A bad ascii-art representation:

                    | ------------
priest: ----------  | ------------

| --------------------------------
| --------------------------------

and so on down the page. An example I found on the web: http://static.musicroom.com/img/c/f/NOV441460.jpg

Poking around in the documentation/snippets and on google, I haven't been able to find a way to do this. I've attached a basic file that shows the musical structure I'm dealing with. Lilypond renders this with line breaks between all the \score blocks, whereas I want to suppress those, and just line break within \score blocks when appropriate. Can I achieve this? If not, is something like: http://static.musicroom.com/img/c/f/NOV290559.jpg the best I could hope to do currently?

Alternatively, do I need to play games with stopping/starting staffs and reprinting clefs/key signatures? If so, how do I make it look exactly like the start of a new system (brackets, possibly instrument names, etc)?

Any suggestions and help much appreciated! Thanks!

Ben
\version "2.14.2"

%\paper { annotate-spacing = ##t }
\layout {
    indent = #0
    linewidth = #3000
}

global = {
    \key c \major
    \time 4/4
}

priestNotesOne = \relative c' { g1 }
priestLyricsOne = \lyricmode { "O Lord open thou our lips" }

sopNotesOne = \relative c'' { c4 c c c c c c c }
sopLyricsOne = \lyricmode { And our mouths shall show forth thy praise }

altoNotesOne = \relative c' { e4 e e e e e e e }

tenorNotesOne = \relative c' { g4 g g g g g g g }

bassNotesOne = \relative c { c4 c c c c c c c }

\score {
    << \new Voice = "priest" { \clef bass \voiceOne << \global \priestNotesOne >> }
    \new Lyrics \lyricsto "priest" \priestLyricsOne >>
}

\score {
    \new ChoirStaff <<
        \new Staff = "sa" <<
            \new Voice = "sopranos" { \voiceOne << \global \sopNotesOne >> }
            \new Voice = "altos" { \voiceTwo << \global \altoNotesOne >> }
        >>
        \new Lyrics \with { alignAboveContext = #"sa" } \lyricsto "sopranos" \sopLyricsOne
        \new Lyrics \with { alignBelowContext = #"sa" } \lyricsto "altos" \sopLyricsOne

        \new Staff = "tb" <<
            \clef bass
            \new Voice = "tenors" { \voiceOne << \global \tenorNotesOne >> }
            \new Voice = "basses" { \voiceTwo << \global \bassNotesOne >> }
        >>
        \new Lyrics \with { alignAboveContext = #"tb" } \lyricsto "tenors" \sopLyricsOne
        \new Lyrics \with { alignBelowContext = #"tb" } \lyricsto "basses" \sopLyricsOne
    >>
}

priestNotesTwo = \relative c { e4 g g a g g g }
priestLyricsTwo = \lyricmode { O God make speed to save us }

sopNotesTwo = \relative c'' { c4 c c c c c c }
sopLyricsTwo = \lyricmode { O Lord make haste to help us }

altoNotesTwo = \relative c' { e4 e e e e e e }

tenorNotesTwo = \relative c' { g4 g g g g g g }

bassNotesTwo = \relative c { c4 c c c c c c }

\score {
    << \new Voice = "priest" { \clef bass \voiceOne << \global \priestNotesTwo >> }
    \new Lyrics \lyricsto "priest" \priestLyricsTwo >>
}

\score {
    \new ChoirStaff <<
        \new Staff = "sa" <<
            \new Voice = "sopranos" { \voiceOne << \global \sopNotesTwo >> }
            \new Voice = "altos" { \voiceTwo << \global \altoNotesTwo >> }
        >>
        \new Lyrics \with { alignAboveContext = #"sa" } \lyricsto "sopranos" \sopLyricsTwo
        \new Lyrics \with { alignBelowContext = #"sa" } \lyricsto "altos" \sopLyricsTwo

        \new Staff = "tb" <<
            \clef bass
            \new Voice = "tenors" { \voiceOne << \global \tenorNotesTwo >> }
            \new Voice = "basses" { \voiceTwo << \global \bassNotesTwo >> }
        >>
        \new Lyrics \with { alignAboveContext = #"tb" } \lyricsto "tenors" \sopLyricsTwo
        \new Lyrics \with { alignBelowContext = #"tb" } \lyricsto "basses" \sopLyricsTwo
    >>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to