lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics and Repeats


From: Aaron Hill
Subject: Re: Lyrics and Repeats
Date: Sat, 15 May 2021 21:40:53 -0700
User-agent: Roundcube Webmail/1.4.9

On 2021-05-15 9:07 pm, Kaj Persson wrote:
[...]

\addlyrics and \lyricsto are related constructs that both create LyricCombineMusic. This is what allows you to enter lyric syllables without specifying durations, where the durations are inferred by an associated Voice. Note that in this special mode and only this mode, \skip durations are ignored. So it is the count of \skips that matter.

When you are entering lyrics outside LyricCombineMusic, you must specify durations manually lest they be assumed given the most recently specified duration. In this case, \skip carries its normal meaning where the duration matters.

It should be noted that \setting associatedVoice has no effect outside of LyricCombineMusic.

Here is an example demonstrating the difference between using \lyricsto and manual durations:

%%%%
\version "2.22.0"

lyricSkip =
#(define-music-function
  (count) (integer?)
  "Inserts the specified number of lyric skips."
  #{ \repeat unfold #count \skip 1 #})

<<
  \new Voice = melody {
    \time 3/4
    \partial 4 g'8 8
    \repeat volta 2 { 2 4 }
    \alternative {
      { 2 4 | 2 8 8 }
      { 4 2 }
    }
    2. \bar "|."
  }
  \new Lyrics \lyricsto melody {
    \set stanza = "lyricsto"
    a b | c d | e f | g h i
  }
  \new Lyrics \lyricsto melody {
    \lyricSkip 2 | j k \lyricSkip 5 | l m | n
  }
  \new Lyrics \lyricmode {
    \set stanza = "manual"
    a8 b | c2 d4 | e2 f4 | g2 h8 i
  }
  \new Lyrics \lyricmode {
    \skip 4 | j2 k4 \skip 2.*2 | l4 m2 | n2.
  } >>
%%%%


-- Aaron Hill

Attachment: lyric-repeat.cropped.png
Description: PNG image


reply via email to

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