[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set associatedVoice and disappearing lyrics
From: |
Matti Aaltonen |
Subject: |
Re: set associatedVoice and disappearing lyrics |
Date: |
Sun, 27 Jan 2008 09:32:04 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Trevor Daniels <t.daniels <at> treda.co.uk> writes:
>
>
> > Date: Sat, 26 Jan 2008 12:13:38 +0000 (UTC)
> > From: Matti Aaltonen <matti.aaltonen <at> ppb.inet.fi>
> > Subject: set associatedVoice and disappearing lyrics
> > To: bug-lilypond <at> gnu.org
> > Message-ID: <loom.20080126T101047-875 <at> post.gmane.org>
> > Content-Type: text/plain; charset=us-ascii
> >
> > > I'm not top posting.
> >
> > Hello.
> >
> > This is my second try sending this. Thanks for
> > the advice Graham.
> > Anyway, I've tried the following and after I try
> > to associate the lyrics of the
> > second verse back to the original melody line the
> > text disappears:
> > I've been using Lilypond v. 2.11.37.
> >
> >
> > \paper{ ragged-right=##t }
> >
> > << \new Voice = "melody" {
> > \time 2/4
> > e4 e
> > << \new Voice = "alternate"
> > {\stemDown a a }
> > {\stemUp d'2. }
> > >> \stemNeutral |
> > g4 g
> > }
> >
> > \new Lyrics \lyricsto melody \lyricmode {
> > play the game
> > yes yes
> > }
> >
> > \new Lyrics \lyricsto melody \lyricmode {
> > do not
> > \set associatedVoice = #"alternate"
> > play it
> > \set associatedVoice = #"melody"
> > no no
> > }
> > >>
> >
> > Cheers & thanks,
> > Matti
> >
> This is not a bug, although it is an unattractive
> feature of LilyPond. The \set associatedVoice
> command must be placed one syllable before it
> should take effect. That is, it should be placed
> before "it" in this example. It then works
> correctly.
>
> This "feature" is documented in the manual.
>
> Trevor D
>
Well, the words show on the page, but it doesn't work correctly
as you can see from this slightly modified example. The first "yes" of the
first verse gets associated to a wrong note.
Cheers,
Matti
% The first "yes" gets connected to a wrong note (a instead of g).
\paper{ ragged-right=##t }
<< \new Voice = "melody" {
\time 2/4
e4 e
<< \new Voice = "alternate"
{\stemDown d'2. }
{\stemUp a4 a }
>> \stemNeutral |
g4 g
}
\new Lyrics \lyricsto melody \lyricmode {
play \set associatedVoice = #"alternate" the \set associatedVoice =
#"melody" game
yes yes
}
\new Lyrics \lyricsto melody \lyricmode {
do not
play it
no no
} >>