> Looking at the link though, it strikes me that automating this could be a 
> rather challenging problem, though, and involve > more labor than simply 
> tweaking Kieren's solution to fit different situations.

Hi again,

After some tries, as I'm not comfortable enough using scheme, I didn't
find a suitable approach to automatically solve this problem.

I think the best solution for me now is to use the method described in
the manual :
http://lilypond.org/doc/v2.18/Documentation/notation/techniques-specific-to-lyrics#polyphony-with-shared-lyrics
and to manually build and tailor the NullVoice to have proper extenders.

(example from the manual :)

soprano = \relative { b'8( c d c) d2 }
altoOne = \relative { g'2 b8( a b4) }
altoTwo = \relative { d'2 g4( fis8 g) }
aligner = \relative { b'8( c d c) d( d d d) }
words = \lyricmode { la __ la __ }

\new ChoirStaff <<
  \new Staff <<
    \soprano
    \new NullVoice = "aligner" \aligner
  >>
  \new Lyrics \lyricsto "aligner" \words
  \new Staff \partcombine \altoOne \altoTwo
>>

I prefer this method over the other (modifying associatedVoice within
the lyrics).
Now I wonder if by chance there is a possibility to automatically
"build" the "aligner" voice, but I think it is quite complicated (too
much for me now, at least !)

Yann

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to