bug-lilypond
[Top][All Lists]
Advanced

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

Re: set associatedVoice and disappearing lyrics


From: Risto Vääräniemi
Subject: Re: set associatedVoice and disappearing lyrics
Date: Mon, 28 Jan 2008 13:00:57 +0200

Terve Matti,

On Jan 27, 2008 11:32 AM, Matti Aaltonen wrote:
> 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.

I think Matti has a point here (or alternatively we're both wrong ;-) ).

I tested the example ant it seems the LP gets confused if there's only
one note in the alternate voice. At least to it seems. I tried to set
the associated voice as Mats and the manual instructed – one syllable
early. If there's just one note / syllable I don't get it right.

The first alternative depicts Matti's (modified) example with just one
alternate note. The second one has two notes. I've shifted the
alternative parts so you can see where the lyrics are attached.

-Risto

%%% Clip %%%
\version "2.11.37"

\paper{ ragged-right=##t }

<<
\new Voice = "melody"
{
    \time 2/4
    e4 e
    <<
    \new Voice = "alternate"
       {\voiceOne \override NoteColumn #'force-hshift = #-3 d'2 }
       {\voiceTwo a4 a \oneVoice}
   >>
   g4 g
   <<
    \new Voice = "alternateII"
       {\voiceOne \override NoteColumn #'force-hshift = #-3 d'4 d' }
       {\voiceTwo a4 a \oneVoice}
   >>
   g4 g
}

\new Lyrics  \lyricsto "melody" \lyricmode
{
    one \set associatedVoice = alternate
    two \set associatedVoice = melody
    three four five six seven eight nine
}

\new Lyrics \lyricsto "melody" \lyricmode
{
    one two three four five six seven eight nine ten
}

\new Lyrics \lyricsto "melody" \lyricmode
{
    one two three four five
    \set associatedVoice = alternateII six seven
    \set associatedVoice = melody  eight nine ten
}
>>
%%% END %%%

Attachment: associatedvoice.png
Description: PNG image


reply via email to

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