单节后面跟着两节诗歌

时间:2014-12-06 18:48:37

标签: lilypond

我正在寻找如何拥有一个带有一个节的第一组歌词,以及一个以上的歌词。避风港能够找到一个例子。请看下面八个小节的歌词如何不必要地重复?

\version "2.18.2"

\header {
  title = "Minimart"
  subtitle = "Derived from Traditional Balkan Song: Rumelaj"
  poet = "Text by Mike iLL"
}

melody = \relative c'' {
  \clef treble
  \key g \minor
  \time 4/4
  \repeat volta 2 { c4. b8 c b c( a) | r8 bes4 a8 bes( a) g r8 |
  g a bes c d( c) bes c | g a4 a8 a4 a8 r8 | }

 \repeat volta 2 { d8 cis d c d c d( c) | d cis d c d( c) bes( a) |
  g bes b b b b c( b) | r a4 a8 bes( a) a8 r | }
}

text =  \lyricmode {
  There's a mi -- ni -- mart | on the cor -- ner |
  At the mi -- ni -- mart is a | moon -- pie, I'm rea -- dy. 

  \set stanza = #"1. "
  Need I need I need a high | Pen -- ny pen -- ny pen -- ny
  Need I need I need a high | God al --  migh -- ty.
}

second_stanza = \lyricmode { 
  There's a mi -- ni -- mart | on the cor -- ner |
  At the mi -- ni -- mart is a | moon -- pie, I'm rea -- dy. 
  \set stanza = #"2. " 
  Lift me lift me lift me high | Hea -- ven Hea -- ven Hea -- ven |
  Lift me lift me lift me high | God al -- migh -- ty.
}

harmonies = \chordmode {
  d1:7 | g1:m | g2:m/f g2:m/ees | d1:7
  d1:7 |      | g1:m  | d1:7   |
}

\score {
  <<
    \new ChordNames {
      \set chordChanges = ##t
      \harmonies
    }
    \new Voice = "one" { \melody }
    \new Lyrics \lyricsto "one" \text
    \new Lyrics \lyricsto "one" \second_stanza
  >>
  \layout { }
  \midi { }
}

如果我删除了重复的前半部分歌词,则后半部分会转移到开头。

1 个答案:

答案 0 :(得分:4)

您的问题的解决方案是使用以下构造:

this is an example
<<
  {this will be in the top}
  \new Lyrics {and this in the bottom}
>>
only a single lyrics line once again from here on

在您的特定情况下,这会导致:

\version "2.18.2"

\header {
  title = "Minimart"
  subtitle = "Derived from Traditional Balkan Song: Rumelaj"
  poet = "Text by Mike iLL"
}

melody = \relative c'' {
  \clef treble
  \key g \minor
  \time 4/4
  \repeat volta 2 { c4. b8 c b c( a) | r8 bes4 a8 bes( a) g r8 |
  g a bes c d( c) bes c | g a4 a8 a4 a8 r8 | }

 \repeat volta 2 { d8 cis d c d c d( c) | d cis d c d( c) bes( a) |
  g bes b b b b c( b) | r a4 a8 bes( a) a8 r | }
}

text =  \lyricmode {
  There's a mi -- ni -- mart on the cor -- ner
  At the mi -- ni -- mart is a moon -- pie, I'm rea -- dy. 
  <<
    {
      \set stanza = #"1. "
      Need I need I need a high Pen -- ny pen -- ny pen -- ny
      Need I need I need a high God al --  migh -- ty.
    }
    \new Lyrics {
      \set associatedVoice = "melody"
      \set stanza = #"2. " 
      Lift me lift me lift me high Hea -- ven Hea -- ven Hea -- ven
      Lift me lift me lift me high God al -- migh -- ty.
    }
  >>
}

harmonies = \chordmode {
  d1:7 | g1:m | g2:m/f g2:m/ees | d1:7
  d1:7 |      | g1:m  | d1:7   |
}

\score {
  <<
    \new ChordNames {
      \set chordChanges = ##t
      \harmonies
    }
    \new Voice = "one" { \melody }
    \new Lyrics \lyricsto "one" \text
  >>
  \layout { }
  \midi { }
}