Re: Possible bug on \addlyrics in Lilypond 2.13.54
2011/3/20 Carl Sorensen c_soren...@byu.edu: On 3/19/11 4:18 PM, Wim van Dommelen wi...@wanadoo.nl 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 ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Possible bug on \addlyrics in Lilypond 2.13.54
2011/3/19 Wim van Dommelen wi...@wanadoo.nl: 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 } } } What follows is my opinion only. It looks as if the voice context for the second \addlyrics is lost after the first \addlyrics. This does not surprise me. The behaviour is not more weird than the code itself. \addlirycs is not intented do be used this way, that's why you obtain an unexpected result. { music } \addlyrics { lyrics } is a short for \newStaff { \new Voice=name {music} } \new Lyrics \lyricsto name \lyricmode { lyrics } It is a simultaneous construct, but you don't use and therefore is not clear what you try to achieve by just putting more music after an addlyrics. This is what you can do depending on what you want: Do you want your music and lyrics to be simultaneous? use \new Staff {music} \addlyrics {lyrics}\new Staff {music} \addlyrics {lyrics} . Do you want your music to be sequential and your lyrics to be simultaneous? first concatenate music in a single voice, then use addlyrics twice. Do you want it all to be sequential? first concatenate music and lyrics, then use addlyrics once. -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Possible bug on \addlyrics in Lilypond 2.13.54
On 3/19/11 4:18 PM, Wim van Dommelen wi...@wanadoo.nl 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 } } HTH, Carl ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Possible bug on \addlyrics in Lilypond 2.13.54
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. ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: Possible bug on \addlyrics in Lilypond 2.13.54
The double lyrics words ar of course superfluous, sorry about that, but it doesn't change the problem Wim. ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond