lilypond-user
[Top][All Lists]
Advanced

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

Am I misunderstanding the NullVoice?


From: Andrew Hawryluk
Subject: Am I misunderstanding the NullVoice?
Date: Tue, 18 Nov 2014 22:19:21 -0700

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
>>

Attachment: test-nullvoice.png
Description: PNG image


reply via email to

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