lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics and alternative repeats default behavior


From: Pekka Siponen
Subject: Re: Lyrics and alternative repeats default behavior
Date: Mon, 30 Mar 2009 21:46:57 +0300
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

James E. Bailey wrote:

Am 30.03.2009 um 17:16 schrieb Pekka Siponen:


I find the behavior with lyrics and alternative repeats somewhat illogical..

For me the logical thing would be something like:
%---------------
\version "2.12.2"
\score {
  \new GrandStaff {
    \new Staff {
<<
      \new Voice = "alku" \relative c' {
        \repeat volta 2 { c d e f g a b c }
        \alternative {
            { d e f g }
            { d c b a }
        }
       }
      \new Lyrics \lyricsto "alku" {
        cx dx ex fx gx ax bx cx dI eI fI gI
        cy dy ey fy gy ay by cy
        dII cII bII aII }
} }
}
% Places where lyrics should be:
% I = first ending
% II = second ending
% x = first stanza
% y = second stanza
%---------------

Also, if you don't want to have different stanzas, only repeat the same lyrics,
you could add "\repeat volta" and \alternative to the lyrics.

Perhaps in the future..?

You can add \repeat and \alternative to the lyrics. Different stanzas are entered separately. So, your example would be easily notated in lilypond so:
\version "2.12.2"

\score {
        \new Staff <<
                \new Voice = "alku" \relative c' {
                        \repeat volta 2 { c d e f g a b c }
                        \alternative {
                                { d e f g }
                                { d c b a }
                        }
                }
                \new Lyrics \lyricsto "alku" {
                        \set stanza = "First Stanza "
                        \repeat volta 2 { cx dx ex fx gx ax bx cx }
                        \alternative {
                                { dI eI fI gI }
                                { dII cII bII aII }
                        }
                }
                \new Lyrics \lyricsto "alku" {
                        \set stanza = "Second Stanza "
                        cy dy ey fy gy ay by cy
                }
        >>
}

I still find a problem with this approach; the second stanza is not connected to second ending.. If I wanted to put a longer word accross the barline, it wouldn't work..? Also this approach seems a little like something to trick LilyPond with to make it look ok. It would be nice if the syntax was more focused on the content and LilyPond would worry about the output with good default settings. At least in simple examples like this one.

So.. what if the "words" were longer like this?

     \new Lyrics \lyricsto "alku" {
       cx dx ex fx gx ax bx --  cx -- dI -- eI fI gI
       cy dy ey fy gy ay by -- cy -- dII -- cII bII aII
     }

-Pekka




reply via email to

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