lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics in polyphony with ties in second voice


From: Knute Snortum
Subject: Re: Lyrics in polyphony with ties in second voice
Date: Mon, 30 Sep 2019 17:29:25 -0700

I'm not sure why you'd want that, but oh well...

%%% 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
  \voiceOne
  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

At some magnifications, the stems don't seem exactly aligned.  Maybe someone else can fix that.
---
Knute Snortum
(via Gmail)


On Mon, Sep 30, 2019 at 3:40 PM Flaming Hakama by Elaine <address@hidden> wrote:


On Mon, Sep 30, 2019 at 7:57 AM Knute Snortum <address@hidden> wrote:
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)



Thanks for the help.

This approach puts the melody and harmony voices into different columns, with different stems.
Is there any way to get them to become realigned, and share stems?


Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


reply via email to

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