Hi Phil, I just double-checked:
* my two posted code snippets are not the same (the first uses \lyricmode and the second uses \lyricsto, as I had mentioned in the accompanying text). * the two posted code snippets produce exactly the respective output I attached. I'm using GNU LilyPond 2.18.2, as included in the current Ubuntu distribution. Could you double-check that you really can't reproduce the output? Thanks, -- Peter Phil Holmes wrote: > > ----- Original Message ----- > From: "Peter Selinger" <[email protected]> > To: <[email protected]> > Sent: Saturday, August 22, 2015 3:32 PM > Subject: question about putting music expressions in sequence > > > > Hello, > > > > I have a question about using lyrics with automatic syllable > > durations, when putting music expressions in sequence. > > > > The Learning Manual states: "Putting a group of music expressions > > (e.g. notes) in braces means that they are in sequence (i.e. each one > > follows the previous one). The result is another music expression". > > > > I have a piece consistsing of several verses that must be engraved > > individually (each verse has a different melody and accompaniment). > > I'd like to arrange the input file so that the data is grouped by > > verse (rather than by voice). I was able to make this work using > > sequencing like this (see test1.pdf): > > > > \version "2.18.2" > > > > { > > % First verse > > << > > \new Voice = "up" \relative c' { e f g a } > > \new Lyrics = "lyrics" \lyricmode { Words to first verse } > > \new Voice = "down" \relative c' { c d e f } > > >> > > % Seconds verse > > << > > \context Voice = "up" \relative c' { f g a b } > > \context Lyrics = "lyrics" \lyricmode { Words to next verse } > > \context Voice = "down" \relative c' { d e f g } > > >> > > } > > > > However, this only works as long as I enter manual syllable > > durations. If I try to use automatic syllable durations, everything > > breaks (see test2.pdf): > > > > \version "2.18.2" > > > > { > > % First verse > > << > > \new Voice = "up" \relative c' { e f g a } > > \new Lyrics = "lyrics" \lyricsto "up" { Words to first verse } > > \new Voice = "down" \relative c' { c d e f } > > >> > > % Seconds verse > > << > > \context Voice = "up" \relative c' { f g a b } > > \context Lyrics = "lyrics" \lyricsto "up" { Words to next verse } > > \context Voice = "down" \relative c' { d e f g } > > >> > > } > > > > Not only does the second set of lyrics generate an error message, but > > also the notes to the second verse are not typeset at all, and an > > extra (empty) pair of staves is generated. > > > > Is there a way to make this work? (I realize that I could put all the > > information into variables, and rearrange the expression to be grouped > > by voice rather than verse. However, I am looking for a way to make > > the above grouping work). > > It looks to me that you have posted the same example twice, both of which > work as planned, and neither of which provides the output you've attached. > Please check. > > -- > Phil Holmes > _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
