lilypond-user
[Top][All Lists]
Advanced

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

Re: also, lyric help


From: James E. Bailey
Subject: Re: also, lyric help
Date: Tue, 6 Jan 2009 22:18:02 +0100


Am 06.01.2009 um 21:23 schrieb Mats Bengtsson:

James E. Bailey wrote:

The problem I have is that when I switch between voices in my melody, the lyrics don't pick up when the voice comes back. Is that a bug?
You may have to make sure that the same context survives.
If you do, say,
\new Staff { \new Voice = AAA {c d e f } \new Voice = BBB {g a b c }
  \context Voice = AAA { c1 }
}
the two "AAA" Voices will not be the same context, since the
first one dies after the f. Therefore, any lyrics associated with
the first measure will not continue to be associated with the
third measure.
One way to keep the context alive for the full piece is to do
\new Staff << \new Voice = AAA {s1*3}
 \context Voice = AAA {c d e f } \new Voice = BBB {g a b c }
  \context Voice = AAA { c1 }
>>

   /Mats

Thanks. I remember seeing that in the choral template, but I never understood that contexts "die" after they're no longer in use. That explains a lot.

Can I request to the doc team that this be made a bit more explicit in the documentation section on contexts?




reply via email to

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