Here's one way to do it:

%%% Start
\version "2.19.83"

words = \lyricmode {
  One, two and three four
}

melody = \relative c'' {
  \time 3/4
  g2. |
  g8 a f2 ~ |
  2. |
  e2.
  \bar "|."
}

harmony = \relative c' {
  \time 3/4
  \voiceTwo
  s2. |
  <d b>2. ~ |
  2. |
  s2.
  \bar "|."
}

\score {
  <<
    \new Staff = "upper" {
      <<
        \new Voice = "lead" {
          \melody
        }
        \new Voice = "harmony" {
          \harmony
        }
      >>
    }
    \new Lyrics \with { alignAboveContext = "staff" } {
      \lyricsto "lead" { \words }
    }
  >>
  \layout {
  }
}
%%% End

---
Knute Snortum
(via Gmail)


On Sun, Sep 29, 2019 at 8:42 PM Flaming Hakama by Elaine <
[email protected]> wrote:

>
> Hi.
>
> I'm hoping someone can help me figure out how to notate this.
>
> I am creating a lead sheet that has vocal line with lyrics.  Some sections
> have just the melody, and other sections have harmonies under the melody.
>
> In general, I have been having success using this pattern for going into
> and out of polyphony, while keeping the lyrics associated with the melody:
>
> melody = \relative c'' {
>     c1 << { \voiceOne d } { b1 } >> | \oneVoice e1 |
> }
>
>
> However, there is one phrase where I can't figure out how to make it work,
> which is when the second voice contains ties.
>
> What I'm after is like the second score--except there should be ties
> between the chords in the second voice in bars 2-3.
> Alternately, like the music in example 6, except with lyrics in the 2nd &
> 3rd bars.
>
>
>
> \version "2.19.80"
>
> words = \lyricmode {
>     One, two and three four
> }
>
> melody = \relative c'' {
>     \time 3/4
>     g2.^"1. Just melody - missing harmony" | g8 a f2 ~ | 2. | e2. \bar "|."
> }
>
> melodyHarmonizedNoTies = \relative c'' {
>     \time 3/4
>     g2.^"2. Harmonized, no ties: missing ties in voice 2"
>     <<
>         \relative c'' { \voiceOne g8 a f2 ~ | 2. }
>         \relative c' { <d b>2. | 2. }
>     >> | \oneVoice
>     e2.
>     \bar "|."
> }
>
>
> melodyHarmonizedWithTies = \relative c'' {
>     \time 3/4
>     g2.^"3. Harmonized with ties: lyrics do not follow voice 1, and ties
> are missing in voice 2"
>     <<
>         \relative c'' { \voiceOne g8 a f2 ~ | 2. }
>         \relative c' { <d b>2. ~ | 2. }
>     >> | \oneVoice
>     e2.
>     \bar "|."
> }
>
> melodyHarmonizedLV = \relative c'' {
>     \time 3/4
>     g2.^"4. Harmonized, LV in voice 2: Extra LV in voice 1"
>     <<
>         \relative c'' { \voiceOne g8 a f2 ~ | 2. }
>         \relative c' { <d b>2. \laissezVibrer | 2. }
>     >> | \oneVoice
>     e2.
>     \bar "|."
> }
>
>
> melodyHarmonizedSlashNoTies = \relative c'' {
>     \time 3/4
>     g2.^"5. Slash, no ties: missing lyrics in voice 1 and missing ties in
> voice 2"
>     <<
>         \relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
>         \relative c' { <d b>2. | 2. }
>     >> | \oneVoice
>     e2.
>     \bar "|."
> }
>
>
> melodyHarmonizedSlashWithTies = \relative c'' {
>     \time 3/4
>     g2.^"6. Slash with ties: lyrics do not follow voice 1"
>     <<
>         \relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
>         \relative c' { <d b>2. ~ | 2. }
>     >> | \oneVoice
>     e2.
>     \bar "|."
> }
>
> melodyHarmonizedSlashLV = \relative c'' {
>     \time 3/4
>     g2.^"7. Slash, LV in voice 2: lyrics do not follow voice 1"
>     <<
>         \relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
>         \relative c' { <d b>2. \laissezVibrer | 2. }
>     >> | \oneVoice
>     e2.
>     \bar "|."
> }
>
>
>
> \book {
>     \header { title = "MWE: lyrics in voice 1 with tied notes in voice 2"
> }
>     \score {
>         <<
>             \new Staff = "upper" {
>                 \new Voice = "lead" {
>                     \melody
>                 }
>             }
>             \new Lyrics \with { alignAboveContext = "staff" } {
>                 \lyricsto "lead" { \words }
>             }
>         >>
>         \layout {
>         }
>     }
>
>     \score {
>         <<
>             \new Staff = "upper" {
>                 \new Voice = "lead" {
>                     \melodyHarmonizedNoTies
>                 }
>             }
>             \new Lyrics \with { alignAboveContext = "staff" } {
>                 \lyricsto "lead" { \words }
>             }
>         >>
>         \layout {
>         }
>     }
>
>     \score {
>         <<
>             \new Staff = "upper" {
>                 \new Voice = "lead" {
>                     \melodyHarmonizedWithTies
>                 }
>             }
>             \new Lyrics \with { alignAboveContext = "staff" } {
>                 \lyricsto "lead" { \words }
>             }
>         >>
>         \layout {
>         }
>     }
>
>
>     \score {
>         <<
>             \new Staff = "upper" {
>                 \new Voice = "lead" {
>                     \melodyHarmonizedLV
>                 }
>             }
>             \new Lyrics \with { alignAboveContext = "staff" } {
>                 \lyricsto "lead" { \words }
>             }
>         >>
>         \layout {
>         }
>     }
>
>
>     \score {
>         <<
>             \new Staff = "upper" {
>                 \new Voice = "lead" {
>                     \melodyHarmonizedSlashNoTies
>                 }
>             }
>             \new Lyrics \with { alignAboveContext = "staff" } {
>                 \lyricsto "lead" { \words }
>             }
>         >>
>         \layout {
>         }
>     }
>
>     \score {
>         <<
>             \new Staff = "upper" {
>                 \new Voice = "lead" {
>                     \melodyHarmonizedSlashWithTies
>                 }
>             }
>             \new Lyrics \with { alignAboveContext = "staff" } {
>                 \lyricsto "lead" { \words }
>             }
>         >>
>         \layout {
>         }
>     }
>
>
>     \score {
>         <<
>             \new Staff = "upper" {
>                 \new Voice = "lead" {
>                     \melodyHarmonizedSlashLV
>                 }
>             }
>             \new Lyrics \with { alignAboveContext = "staff" } {
>                 \lyricsto "lead" { \words }
>             }
>         >>
>         \layout {
>         }
>     }
> }
>
>
> Please let me know if you have suggestions.
>
>
> Thanks,
>
> Elaine Alt
> 415 . 341 .4954                                           "*Confusion is
> highly underrated*"
> [email protected]
> Producer ~ Composer ~ Instrumentalist ~ Educator
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to