> On 18 Jan 2025, at 12:25, Arne Ploese <aplo...@gmx.de> wrote: > > Hi, > > I would expect that all three examples yield the sme output, but the middle > with s1 seems to disturb the add lyrics algorithm. > > Did I something wrong?
You typically add the lyrics parallel to the melody directly after the melody, not parallel to the staff. For my own (more complex) scores I prefer to always explicitly instantiate the Lyrics and associate it with an explicit voice rather than to rely on all the magic happening behind the scenes for the notation shortcuts that Lilypond allows like the \addLyrics. The implicit creation staffs, voices and lyrics are found in the learning manual and are in my experience mostly useful for quick, simple small scores, the more verbose explicit creation is documented in the notation reference “Vocal music” section linked in the learning manual in section 2.1.1 https://lilypond.org/doc/v2.24/Documentation/notation/common-notation-for-vocal-music#aligning-lyrics-to-a-melody %Fixed up tie case with parallem music using \addlyrics \score { \new Staff { << \melody \addlyrics { \words} {s1} >> } \layout { } } % How I would code it (more explicitly) \score { << \new Staff { << \new Voice = “myMelody” { \melody } \new Voice = “parallelMusic” { s1 } >> } \new Lyrics \lyricsto “myMelody” \words >> \layout{} } % Or even (also explicit on the location of the lyrics in case multiple staves are in the score) \score { << \new Staff = “myStaff” { << \new Voice = “myMelody” { \melody } \new Voice = “parallelMusic” { s1 } >> } \new Lyrics \with { alignBelowContext = "myStaff" } \lyricsto “myMelody” \words >> \layout{} } > %Mixed up tie > \score { > << > \new Staff { > << > \melody > \addlyrics { \words} > {s1} > >> > } > >> > \layout { } > } > > %Begin example > \version "2.24.4" > > melody = \relative c'' { > a4~4 b4 c4 > } > > words = \lyricmode { > A -- B C > } > > \score { > << > \new Staff { > \melody > } > \addlyrics { \words} > >> > \layout { } > } > > %Mixed up tie > \score { > << > \new Staff { > << > \melody > {s1} > >> > } > \addlyrics { \words} > >> > \layout { } > } > > \score { > << > \new Staff { > << > \melody > {} > >> > } > \addlyrics { \words} > >> > \layout { } > } > %End example > > > Arne