There's certainly a problem with the current way associatedVoice
works, as I pointed out in
http://lists.gnu.org/archive/html/lilypond-user/2007-11/msg00468.html
for example.
However, I'm not sure if it's exactly the same problem that you try to
illustrate below. I don't have the time to try to decipher exactly what
is right and wrong in your example. Could you please point out the
problematic syllables with comments in the code replace the corresponding
syllable by "HELP!!!" or whatever to clarify what the problem is.
/Mats
Risto Vääräniemi wrote:
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 %%%
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond