On Tue 27 Aug 2019 at 08:32:30 (-0400), Kieren MacMillan wrote:
> Hey all,
> 
> This bit me way back when. Here’s the fix (note the \new Voice):
> 
> \version "2.19.83"
> 
> global = {
>  s1
>  \bar "|."
> }
> 
> sop = \relative {
>  c'4( d) e f
> }
> 
> soptext = \lyricmode {
>  Me -- lis -- ma
> }
> 
> \new Staff \new Voice << \global \sop >> \addlyrics \soptext
> 
> \new Staff \new Voice << \global \sop \addlyrics \soptext >>
> 
> Hope that helps!

I'm not sure that it does. It looks to me as if both your \addlyrics
are adding the lyrics to a Voice, whereas Malte's example (and thanks
for the MWE!) looks as if \addlyrics applies to the Staff.

I played around with the latter when I read here that it could be
done. It seems as if it might be an alternative to NullVoice,
where you have to make an alignment voice by breaking up long notes
in one part so you can match the rhythm in another. With this
Staff method, you don't have to touch the music, but you have to
write a lyric syllable to match every note-start in every part,
and that holds for melismas too, else it would defeat the whole
object of the new construction.

I think the last bar of this MWE gives you the idea. Sorry I
haven't got a melismatic example handy, but I see the feature
as more useful for hymns (pace Bruckner) because all the best
ones are full of these rhythmic differences. I set counterpoint
on separate staves, like most people.

AIUI all 2.18.2 did iin Malte's MWE is to \addlyrics to the
last Voice it saw, not to the Staff, because the feature
didn't exist.

Cheers,
David.
\version "2.18.2"
\language english
ll = \lyricmode { \once \override LyricText.self-alignment-X = #LEFT }
%%\include "Choral-bits.lily"
\paper {
  #(set-paper-size "a6")
}

global = {
  \key c \major
  \time 4/4
  s1 * 12
}

soprano = \relative {
  c''2. b4
  a2 g4 r4
  r4 g4 a4 e4
  g4. g8 f4 r4
  \barNumberCheck #5 | % soprano
  d'2. c4
  c2 b4 r4
  r4 d4 e4 g4
  f4. f8 e4 r4
  r4 f4 f4 e4
  \barNumberCheck #10 | % soprano
  r4 f,2 e4
  d2. c4
  b4

}

alto = \relative {
  e'2. e4
  e2 e4 r4
  r4 e4 e4 e4
  d4. d8 d4 r4
  \barNumberCheck #5 | % alto
  fs2. fs4
  fs2 g4 r4
  r4 g4 g4 g4
  g4. g8 g4 r4
  r4 g4 g4 g4
  \barNumberCheck #10 | % alto
  r4 d2 c4
  b2 g2
  g4
}

sopranotext = \lyricmode {
  Lo -- cus i -- ste a De -- o fac -- tus est,
  lo -- cus i -- ste a De -- o fac -- tus est,
  a De -- o,
  De -- o fac -- tus est,
}

altotext = \lyricmode {
  Lo -- cus i -- ste a De -- o fac -- tus est,
  lo -- cus i -- ste a De -- o fac -- tus est,
  a De -- o,
  De -- o fac -- tus est,
}

stafftext = \lyricmode {
  Lo -- cus i -- ste a De -- o fac -- tus est,
  lo -- cus i -- ste a De -- o fac -- tus est,
  a De -- o,
  De -- o fac -- \ll tus _ est,
}

\score {
  \new Staff <<
    \clef treble \global
    \new Voice { \voiceOne \soprano }
    \addlyrics { \sopranotext }
    \new Voice { \voiceTwo \alto }
    \addlyrics { \altotext }
  >>
  \addlyrics { \stafftext }
  \layout { }
}

Attachment: mel.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to