lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics problem ... Bug? Feature? ???


From: Mats Bengtsson
Subject: Re: Lyrics problem ... Bug? Feature? ???
Date: Mon, 12 Jun 2006 14:25:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417



Anthony Youngman wrote:

I've changed my approach - I felt all along that the rests were what was
screwing things up. (Which means, I think, that if I copy your example
exactly as you've given it, it'll be just as big a mess as before. But
I'll try your approach in a minute - I'm still going to send this email
because I do think there's something fundamentally wrong under this
somewhere...)

Unfortunately, I've just swapped one error for another. I've redefined
pennsylvania as
pennsylvania = { r2_\markup{ shout }
        { \override NoteHead #'style = #'cross f8. f16 f8. f16 f4 f f8.
f16 }
        \addlyrics { Penn syl van ia six five thous and }
        r4 }

which has had several effects. I no longer need to reset the notehead
style.
What you said here made me completely confused, so I had to take a look at
the implementation and learned something new. The construct
music_expression \addlyrics lyrics
will create a new Voice context for the music_expression.

lilypond no longer complains about getting its timing in a twist.
It is now complaining about trying to put noteheads and stems on a rest
(the r4 - and yes I did try reverting the notehead style - no effect
whatsoever). And because I've got two consecutive occurrences on the
same line, it's making the two lots of text avoid each other, which
looks daft.

The timing gets lost already at the end of the prima volta. I have no idea
on what's going on here. Replacing
music_expression \addlyrics lyrics
by
\new Voice music_expression
in your example works well, so there's something more going on here that
I don't understand fully.

Still, my impression is that \addlyrics mainly was implemented to support
extremely simple situations where your score in principle only has a melody
and one or more lines of lyrics. What makes your example extra complicated
is that you want to insert the same construct at a number of places in the
score.

In a way, maybe the simplest solution for you is to do
pennsylvania = { r2_\markup{ shout }
 <<
\new Voice { \override NoteHead #'style = #'cross f8. f16 f8. f16 f4 f f8. f16 } \context Lyrics = pennsylvanialyrics \lyricmode{ Penn8. syl16 van8. ia16 six4 five4 thous8. and16 }
 >>
 r4 }
Unfortunately, it means that you have to specify the durations of the syllables explicictly. Also, the second set of lyrics gets typeset one line too low. I will
write a separate bug report about that issue.

Graham - I'll have to write something for the docs (I'm working from
2.8.0) because there appears to be no examples at all about how to embed
a lyric fragment in a larger piece.
Sure there is! In the latest manual for version 2.9, you can find two examples
in section "7.3.7.2 Divisi lyrics" and I know that Eduardo has sent a draft
of even more documentation to Graham, with related information.


   /Mats






reply via email to

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