3

我正在寻找如何让第一组歌词包含一个节,并跟随多个节。一直找不到例子。看看下面前八小节的歌词是如何不必要地重复的?

\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 { }
}

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

4

1 回答 1

5

解决您的问题的方法是使用以下结构:

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 { }
}
于 2014-12-07T01:31:14.903 回答