lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with multiple melody lines


From: Mats Bengtsson
Subject: Re: Problem with multiple melody lines
Date: Wed, 28 Nov 2007 09:46:30 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

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 <address@hidden> 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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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