[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible bug on \addlyrics in Lilypond 2.13.54
From: |
Francisco Vila |
Subject: |
Re: Possible bug on \addlyrics in Lilypond 2.13.54 |
Date: |
Mon, 21 Mar 2011 10:24:58 +0100 |
2011/3/20 Carl Sorensen <address@hidden>:
>
>
>
> On 3/19/11 4:18 PM, "Wim van Dommelen" <address@hidden> wrote:
>
>>> I'm not top posting.
>>
>> I found some weird behaviour in music disappearing when adding a lyric.
>>
>> This is the smallest I could get the problem reduced to:
>>
>> \version "2.13.54"
>>
>> \score {
>> \new Staff {
>> \relative g' { g1 }
>> % as soon as the next line is commented in the piece truncates,
>> % when commented out we see more notes appearing
>> \addlyrics { milk milk }
>> \relative g' { c2 g }
>> \addlyrics { su- gar su- gar }
>> }
>> }
>>
>> Not too sure ifnthis counts as a real bug, nor how serious it might be. When
>> I
>> did something wrong please accept my apologies.
>>
>> On the whole I'm very content with Lilypond, keep up the good work !
>>
>> Regards,
>> Wim.
>>
>>
>
> You've got the lyrics in a sequential block with the music, rather than in a
> parallel block.
>
> \new Staff {
> <<
> \relative g' {g1}
> \addlyrics { milk }
> >>
> <<
> \relative g' { c2 g }
> \addlyrics { su- gar }
> >>
> }
I hate to say that \addlyrics is not intented to be used this way, either. i.e.
\new Staff {
\relative g' {g1}
\addlyrics { milk }
}
works as expected. The problem is that you can not put another pair
{music}\addlyrics{lyrics} on sequence, given the way in which
addlyrics works. I strongly recommend to use named voice contexts
plus \lyricsto for any other than mostest simplest songs.
--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com