The problem is not the triplet in itself but that fact that you use shorter
note values in the voice you want to change back to. Of course, the root
of the problem is the silly fact that you have to issue the command to switch
the associated voice one syllable too early. The next matching note that
LilyPond finds after the switch is the g8 and not the d'1.
A simple workaround is to insert an empty syllable in the lyrics to match
the extra note.

\version "2.10.33"
\score {
 <<
   \new Voice = "Verse23" {
     \relative c' {
   \time 2/4 e8 e4 e8 |
   << {\voiceOne a4. a8 | g4. g8 } \new Voice = "Verse3" {\voiceTwo \tiny
a2 | \times 2/3 {g4 g4 g4}}>> |
    \time 4/4 d'1 |\mark \markup { \musicglyph #"scripts.ufermata" } c4(
b) a4. r16\fermata g | g1~ | g2. r4 \bar "||"
     }
   }
   \new Lyrics \lyricsto "Verse23" \lyricmode {
     emp -- tied him  -- | self, be -- | came
     a | slave! | Je -- sus the | Lord.
   }
   \new Lyrics \lyricsto "Verse23" \lyricmode {
     cep -- ting his |
     \set associatedVoice = "Verse3"
     death, | death on
     \set associatedVoice = "Verse23"
      a _ | tree! | Je -- sus the | Lord.
   }
 >>
}

   /Mats

Garrett Fitzgerald wrote:
On Nov 27, 2007 5:29 PM, Garrett Fitzgerald <[EMAIL PROTECTED]> wrote:
This is really a question I should not be asking when I don't have the
actual code in front of me, but is there a problem with
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Switching-the-melody-associated-with-a-lyrics-line
and triplets? I had the darnedest time getting something to match up
last night -- the only way I could finally get it to work was to
extend the duplicated melody for an extra note, but that had made it
print two D1s next to each other, which isn't exactly pretty.

Here's the section of the score that shows the problem. If I move the
associated voice one note forward, nothing after that prints.

\version "2.10.33"
\score {
  <<
    \new Voice = "Verse23" {
      \relative c' {
        \time 2/4 e8 e4 e8 |
        << {\voiceOne a4. a8 | g4. g8} \new Voice = "Verse3" {\voiceTwo \tiny
a2 | \times 2/3 {g4 g4 g4}}>> |
        \time 4/4 d'1 |\mark \markup { \musicglyph #"scripts.ufermata" } c4(
b) a4. r16\fermata g | g1~ | g2. r4 \bar "||"
      }
    }
    \new Lyrics \lyricsto "Verse23" \lyricmode {
      emp -- tied him  -- | self, be -- | came
      a | slave! | Je -- sus the | Lord.
    }
    \new Lyrics \lyricsto "Verse23" \lyricmode {
      cep -- ting his |
      \set associatedVoice = "Verse3"
      death, | death on
      \set associatedVoice = "Verse23"
      a | tree! | Je -- sus the | Lord.
    }
  >>
}


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        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
=============================================



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to