Two options I can see:
\once
\override NoteColumn #'ignore-collision = ##t
or use lyricmode:
{ \new Staff
<< \override Score.LyricText #'self-alignment-X =
#LEFT \new Voice = "Upper" {
\voiceOne a'4 b'2 a'4
g'4 } \new Lyrics \lyricsto "Upper"
{ to you, my love } \new Voice = "Lower" {
\voiceOne s4 \voiceTwo b'16 b' d'' b' b' b'8.
\voiceOne s4 s } \new Lyrics
\lyricmode { the4 e16 -- go -- tis -- ti -- cal twerp8. I4 love }
>> % Staff end }
The second seems to me to be "purer" but may not
match your input needs.
-- Phil Holmes
----- Original Message -----
Sent: Tuesday, December 18, 2012 4:25
PM
Subject: Re: Aligning multiple verses to
alternative notes in the melody
Phil,
I guess I'm not being clear. And it can confuse
the unwary singer!
Imagine that there are substantial variations in the
number of syllables in the lyrics between verses. So one verse might have
"you" against a half note, while the next would have "egotistical twerp"
against a run of five sixteenths and a dotted eighth.
I want to set
both sets of notes in a single staff for the voice and the lyrics of the two
verses to align correctly to each set, thus:
{ \new
Staff << \override Score.LyricText
#'self-alignment-X = #LEFT \new Voice = "Upper" {
\voiceOne a'4 b'2 a'4
g'4 } \new Lyrics \lyricsto
"Upper" { to you, my love } \new Voice = "Lower" {
\voiceOne a'4 \voiceTwo b'16 b' d'' b' b'
b'8. \voiceOne a'4 g'4 } \new
Lyrics \lyricsto "Lower" { the e -- go -- tis -- ti -- cal twerp I love
} >> % Staff end }
But I'd like to do it without
generating warnings and without repeating identical notes between voices, as
above, while keeping the precise alignment of notes and syllables.
Does
that make it any clearer?
Thanks again, Fred
On 18 December 2012 10:52, Phil Holmes <address@hidden> wrote:
So the singers have different lyrics but the same
note? If I was trying to sing that, I would find it very
confusing.
-- Phil Holmes
----- Original Message -----
Sent: Tuesday, December 18, 2012 3:37
PM
Subject: Re: Aligning multiple verses
to alternative notes in the melody
Phil,
Thanks -- I guess I could, but that's a bit
kludgey* as well. Since I don't want stems in both directions for those
notes which don't change, I'd have to use
\new
Voice = "Lower" { s4
s4 \voiceTwo a'8 a'8 \voiceOne
a'4 a'4 \voiceTwo a'8 a'8 \voiceOne a'4
a'4 }
which works, but emits warnings for
every note with identical stems in each voice: "warning: ignoring too many
clashing note columns".
It does look OK, though ... and I can
ignore the warnings. I hope.
Thanks again, Fred
*kludgey,
thy name is lilypond
On 18 December 2012 10:18, Phil Holmes <address@hidden> wrote:
Why not just use 2 voices and skips?
{ \new Staff
<< \new Voice = "Upper"
{ a'4 a'4 \voiceOne a'4
a'4 a'4 a'4 a'4
a'4 } \new Lyrics \lyricsto
"Upper" { a b c d e f g h } \new Voice
= "Lower" { s4 s4
\voiceTwo a'8 a'8 a'4 a'4 a'8
a'8 a'4 a'4 } \new Lyrics
\lyricsto "Lower" { a b c d e f g h } >> % Staff
end }
-- Phil Holmes
----- Original Message -----
Sent: Tuesday, December 18, 2012
2:44 PM
Subject: Aligning multiple verses
to alternative notes in the melody
Hi!
I have a song with irregular verses; I want
to show the alternative notes in the melody and align some verses to
one alternative and some to the other.
I can come close by
using '_' and the "divisi lyrics" instructions, but the alignment is
not perfect.
What I want is something like this:
4 4 4/8 8 4 | 4 4/8 8 4
4 a b c d e
f g h a b
c d e f g h
where '4's are
quarter notes, '8's are eighth notes, and '4/8's are
both.
Here's a snippet:
firstVerse = \lyricmode {
a b c d e f g h }
skippy = #(define-music-function (parser
location syllables) (number?) #{ \repeat unfold
$syllables { \skip 1 } #})
LL = { \once \override LyricText
#'self-alignment-X = #LEFT }
secondVerse = \lyricmode { \skippy
2 \LL a_b c d \LL e_f g h }
melodyMusic = \relative c'' {
c4 c4 << { \voiceOne c4 } \new Voice = "split" { \voiceTwo c8 [
c8 ] } >> c4 | c4 << { \voiceOne c4 } \new Voice = "split"
{ \voiceTwo c8 [ c8 ] } >> c4 c4 \bar "|." }
\new Staff =
"voice" << \new Voice = "melody" << \voiceOne
\global \melodyMusic>> \new Lyrics \lyricsto "melody"
\firstVerse \new Lyrics \lyricsto "melody"
\secondVerse >>
Thanks! Fred
_______________________________________________ lilypond-user
mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user
-- We must learn to honor excellence in
every socially accepted human activity, however humble the activity, and
to scorn shoddiness, however exalted the activity. An excellent plumber is
infinitely more admirable than an incompetent philosopher. The society
that scorns excellence in plumbing because plumbing is a humble activity
and tolerates shoddiness in philosophy because it is an exalted activity
will have neither good plumbing nor good philosophy. Neither its pipes nor
its theories will hold water. --John Gardner, "Excellence" (h/t, The
Underground Grammarian)
-- We must learn to honor excellence in
every socially accepted human activity, however humble the activity, and to
scorn shoddiness, however exalted the activity. An excellent plumber is
infinitely more admirable than an incompetent philosopher. The society that
scorns excellence in plumbing because plumbing is a humble activity and
tolerates shoddiness in philosophy because it is an exalted activity will have
neither good plumbing nor good philosophy. Neither its pipes nor its theories
will hold water. --John Gardner, "Excellence" (h/t, The Underground
Grammarian)
|