[Top][All Lists]

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

Re: Lyrics independent of notes

From: Trevor Daniels
Subject: Re: Lyrics independent of notes
Date: Mon, 25 Aug 2008 09:26:25 +0100

Mats, you wrote Sunday, August 24, 2008 10:29 PM

Hold the horses, there seems to be a regression bug lurking
around here. I happened to have a copy of 2.11.34 installed
and using that, the two lyric lines in the following example
have the same alignment, whereas with 2.11.56 all syllables
of the bottom line are left aligned with the notes. I definitely
prefer the behaviour of 2.11.34.

I'm not so sure.  There are other differences.  Try adding an explicit
duration to the lyrics, say Left2, and compare them again.
This behaviour is better in 2.11.56.

The change occurred between 2.11.40 and 2.11.41, almost
certainly when a fix for 532 was applied on 24 Feb 08,
commit c1b4680ed477e2232629df6c59c7fd78d5583d0b.
This fixed the behaviour of lyrics when there is no
associated voice.  In that case there is nothing to
align the lyrics to, so it is not surprising that the
alignment overrides do not work.

I prefer the behaviour in 2.11.56, but it does need
to be documented properly.


mylyrics = \lyricmode {
 \override LyricText #'self-alignment-X = #LEFT Left
 \override LyricText #'self-alignment-X = #CENTER Center
 \override LyricText #'self-alignment-X = #RIGHT Right

\new Staff \new Voice = v {c' d' e' f'}
\new Staff \new Voice {c'2 d'4 e'8 f'8}
\new Lyrics \lyricsto v \mylyrics
\new Lyrics \mylyrics


Mats Bengtsson wrote:
Trevor Daniels wrote:

The warnings are not exactly errors. Another thread with the words
"durations needed" in which Mats explained very well some related
issues, can be of help.

I've now been able to check back to 2.10.34, and the
warnings were issued there too.  Seems like they might
have been there a long time.  Perhaps all it needs
is a note in the manual to say warnings are expected.

Yes, as far as I can remember, these warnings have always
appeared when you use the Devnull trick. If you search the
mailing list archives, you'll find that Han-Wen has never
really agreed that this is a good way to do things. However,
I think that it's a clever trick that can be useful from time to
time. The manual should also point out that the alignment
will not be exactly the same as if you use \lyricsto or set
associatedVoice, but since you only need the Devnull trick
in situation where you do not have any typeset Voice to
associate the syllables to, I don't find it a critical issue.


bug-lilypond mailing list

reply via email to

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