lilypond-user
[Top][All Lists]
Advanced

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

Re: Setting lytics to alternative endings


From: Jogchum Reitsma
Subject: Re: Setting lytics to alternative endings
Date: Fri, 16 Dec 2022 10:47:31 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

Op 15-12-2022 om 16:27 schreef Jean Abou Samra:
<...>

As said in another thread [1], I would recommend using the \repeat
construct in the lyrics too:


\version "2.23.82"

theMusic = {
  \repeat volta 2 {
    g'4 4 4 4
    \alternative { { f'1 } { c''1 } }
  }
}

theLyrics = \lyricmode {
  \repeat volta 2 {
    The an -- swer is
    \alternative {
      { quite }
      { plain. }
    }
  }
}

<<
  \new Staff \new Voice \theMusic
  \addlyrics \theLyrics
>>



Best,
Jean


[1] https://lists.gnu.org/archive/html/lilypond-user/2022-11/msg00206.html

Hi Jean,

While this work in placing the words correctly, it is, in my case, not quite flawless.

If I render the attached snippet, there is no "2"-bracket above the second alternative.

But if you comment out the lyrics part, the "problem" has gone.

Maybe I'm doing something wrong here, but I can't find what...

Any idea?

Thanks for taking the effort!

regards, Jogchum

Attachment: Christmas-has-come-2.ly
Description: Text Data


reply via email to

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