bug-lilypond
[Top][All Lists]
Advanced

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

Re: Doc: NR 2.1.2 Lyrics and repeats, improvement proposals


From: Mats Bengtsson
Subject: Re: Doc: NR 2.1.2 Lyrics and repeats, improvement proposals
Date: Thu, 11 Nov 2010 18:40:01 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)


Hi!

I have been able to achieve the same (desired) result using some kind of
"nested Lyrics" (similarly to nested staves, cf. NR 1.6.2 Ossia staves).
These nested Lyrics expressions do not require the trick to use  \skip
or temporary voices anymore.

What do you think about it?

Here is a proposal to use instead of the first snippet using  \skip .
I had to use  \set associatedVoice  instead of  \lyricsto  for the
nested Lyrics because  \lyricsto  was shifting the lyrics one syllable
to the right!

\score {
  <<
    \new Staff {
      \new Voice = "melody" {
        \relative c'' {
          a4 a a a
          \repeat volta 2 { b4 b b b }
        }
      }
    }
    \new Lyrics \lyricsto "melody" {
      Not re -- peat -- ed.
      <<
        {
          The first time words.
        }
        \new Lyrics {
          \set associatedVoice = "melody"
          Sec -- ond time words.
        }
      >>
    }
  >>
}


And here is a proposal to use instead of the the one that was using a
temporary voice (not needed anymore).

\score {
  <<
    \new Staff {
      \new Voice = "singleVoice" {
        \relative c'' {
          a4 a a a
          \repeat volta 3 { b4 b b b }
          c4 c c c
        }
      }
    }
    \new Lyrics \lyricsto "singleVoice" {
      Not re -- peat -- ed.
      <<
        {
          The first time words.
        }
        \new Lyrics {
          \set associatedVoice = "singleVoice"
          Sec -- ond time words.
        }
        \new Lyrics {
          \set associatedVoice = "singleVoice"
          The third time words.
        }
      >>
      The end sec -- tion.
    }
  >>
}


Cheers,
Xavier
Beautiful trick! I hope it's not an accident that it works.

/Mats




reply via email to

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