lilypond-user
[Top][All Lists]
Advanced

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

RE: Lyrics problem ... Bug? Feature? ???


From: Anthony Youngman
Subject: RE: Lyrics problem ... Bug? Feature? ???
Date: Mon, 12 Jun 2006 13:59:03 +0100

Thanks. 

I'll play with all this and see where I get. I thought what I was doing
WAS simple :-( I'll also try the {} you mention in your other email.

And I'll download and read the 2.9 docu at some point. Although I get
the impression it might not be a good idea to upgrade for a while ...

Cheers,
Wol

-----Original Message-----
From: Mats Bengtsson [mailto:address@hidden 
Sent: 12 June 2006 13:25
To: Anthony Youngman
Cc: address@hidden; address@hidden
Subject: Re: Lyrics problem ... Bug? Feature? ???



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



* ************************************************************************ *

This transmission is intended for the named recipient only. It may contain 
private and confidential information. If this has come to you in error you must 
not act on anything disclosed in it, nor must you copy it, modify it, 
disseminate it in any way, or show it to anyone. Please e-mail the sender to 
inform us of the transmission error or telephone ECA International immediately 
and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, 
Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 
2333.

* ************************************************************************ *




reply via email to

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