lilypond-user
[Top][All Lists]
Advanced

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

Re: Hymn settings and partcombine?


From: Mats Bengtsson
Subject: Re: Hymn settings and partcombine?
Date: Wed, 25 Apr 2007 10:10:51 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20070221)



Bax wrote:
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.

You can also do it as a single score with suitable line breaks (using \break) if
needed.
\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 }
    >>
  >>
}
Note that you can write a single \transpose command that applies to all
the staves at ones:
\score{
 \transpose c d <<
   \new Staff ...
   \new Staff ...
   ...
 >>
}

   /Mats





reply via email to

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