lilypond-user
[Top][All Lists]
Advanced

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

Re: Hymn settings and partcombine?


From: Bax
Subject: Re: Hymn settings and partcombine?
Date: Wed, 25 Apr 2007 07:23:51 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Earnest Richards <egrichards <at> earthlink.net> writes:

[...]
> I would like to be able to arrange a single file that has, for example in a
> four stanza hymn, the first and second stanzas set RH:soprano and alto,
> LH:tenor, PED:bass; the third stanza set like RH:soprano, LH:alto and tenor,
> PED bass; then the final stanza set like stanzas one and two but transposed
> up a half-step or a whole step.
[...]

Just put multiple \score{} expressions into the same ly-file. The following
works, but needs cleaning-up a little with StaffGroup etc.

The relevant part of the manual is 10.1.2 Multiple scores in a book.

\score {
  <<
    \new Staff = upper <<
      \sopranoNotes
    >>
    \new Staff = middle <<
      %\clef "G_8"
      \clef alto
      \partcombine
      \altoNotes
      \tenorNotes
    >>
    \new Staff = lower <<
      \clef bass
      \bassNotes
    >>
  >>
}

\score {
  <<
    \new Staff = upper <<
      \partcombine
      \transpose c d { \sopranoNotes }
      \transpose c d { \altoNotes }
    >>
    \new Staff = middle <<
      %\clef "G_8"
      \clef bass
      \transpose c d { \tenorNotes }
    >>
    \new Staff = lower <<
      \clef bass
      \transpose c d { \bassNotes }
    >>
  >>
}






reply via email to

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