Am 04.09.2008 um 12:00 schrieb Risto Vääräniemi:

2008/9/4 Mats Bengtsson :
I'm surprised that nobody has mentioned \partcombine, so far. It's probably
the closest you can
get to your wishes, with the built-in support in LilyPond. See Section
"Automatic part combining"
in the manual for more information. Note that the current part combiner has
a number of issues, though.

Yes, it has. I tried once to combine soprano and alto voices and
although it produced fine looking music the biggest obstacle was
attaching lyrics to the combined "voice". It might be possible to use
it by using associatedVoice but that was too complex and I decided to
create the voice by hand with chords <x y>.

If someone has found out  a solution that will allow attaching lyrics
to "partcombined" voice I'd be very happy to hear of it. :-)

-Risto
What's the problem?

voiceone = \context Voice = "voice one" \relative {
   \stemDown
   c'4 h a g f e d2 c1
}

voicetwo = \relative {
   \stemUp
   e'4 d c h a g a^( h) c1
}
words = \lyricmode {
   I vii vi V IV iii ii vii I
}

\score {
   <<
\new Staff \with { printPartCombineTexts = ##f } << \partcombine \voiceone \voicetwo >>
      \new Lyrics \lyricsto "voice one" \words
   >>
}

It works fine for me.

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

Reply via email to