Hi Andrew,
Looks strange; could be a bug since it does the job with v2.19.
Anyway here's a workaround (but you'll get warnings) :
\version "2.18.2"
soprano = \relative { g'4. a8 g8( f) d4 }
alto = \relative { c'8( d) e4 d b }
aligner = \relative { c'8( d) e4 g8( f) d4 }
words = \lyricmode { pea -- nut but -- ter}
\new Staff <<
\new Voice { \voiceOne \soprano }
\new Voice { \voiceTwo \alto }
\new Devnull = "aligner" \aligner
\new Lyrics \lyricsto "aligner" \words
>>
HTH,
Pierre
2014-11-19 6:19 GMT+01:00 Andrew Hawryluk <[email protected]>:
> Hi everyone, I just upgraded to 2.18.2 to use the cool new NullVoice. It
> seems like a slick solution to polyphonic lyric alignment. Unfortunately, I
> seem to be doing something wrong, because I am getting two syllables
> printed right on top of each other (see attached PNG). In this example, I
> want each syllable to arrive on a beat, which you see if you change the
> NullVoice to a Voice.
>
> Thanks for your thoughts!
> Andrew
>
>
> \version "2.18.2"
>
> soprano = \relative { g'4. a8 g8( f) d4 }
> alto = \relative { c'8( d) e4 d b }
> aligner = \relative { c'8( d) e4 g8( f) d4 }
> words = \lyricmode { pea -- nut but -- ter }
>
> \new Staff <<
> \new Voice { \voiceOne \soprano }
> \new Voice { \voiceTwo \alto }
> \new NullVoice = "aligner" \aligner
> \new Lyrics \lyricsto "aligner" \words
> >>
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user