This seems like exactly the same situation as in
http://lists.gnu.org/archive/html/lilypond-user/2007-11/msg00468.html
namely that the voice you change to has an extra note during the duration
of the note in the voice you are changing from. This is in some sense
logical, since what the command does is "change to the other voice after
the beginning of the next note in the current voice". This is clearly an
annoyance, but the workaround is very simple, as is described in the
cited email, namely to add an empty syllable to match the extra note.
/Mats
Risto Vääräniemi wrote:
I'll try to clarify some more. :-)
On Jan 28, 2008 3:53 PM, Risto Vääräniemi wrote:
If you have just one note (and syllable) in the alternative voice you
have to call both the setting and unsetting commands before that
syllable. Could that confuse LP?
The alternate melodies have stems pointing down.
The NOT syllable should be attached to the first note of the third
measure and the rest of the lyrics should be shifted to the right
accordingly. The OK is attached to the half note and it's OK. :-)
In the previous example the last two measures were there just to show
that if the alternative part has two notes / syllables it works. I
boiled down the example closer to Matti's example.
-Risto
%%% Clip %%%
\version "2.11.37"
\paper{ ragged-right=##t }
<<
\new Voice = "melody"
{
\time 2/4 \stemUp
c'4 c'
<<
\new Voice = "alternate"
{ \stemDown c'2 }
{ \stemUp c'4 c' }
>>
c'4 c'
}
\new Lyrics \lyricsto "melody" \lyricmode
{
one \set associatedVoice = alternate two
\set associatedVoice = melody
OK NOT five
}
%%% 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