\version "2.25.2"
\language "deutsch"
lyr = \lyricmode {
\set stanza = #"1"
ah oh uh __
}
lyrii = \lyricmode {
\set stanza = #"2"
eh ih oh __
ah eh uh
}
mus = \relative { c'' c c r c c c }
myscore =
#(define-music-function (sop lyrli)
(ly:music? ly:music-list?)
(let* ((voice "sop")
(list-lyr
(map
(lambda (l) #{ \new Lyrics \lyricsto $voice $l #})
lyrli)))
#{
<<
\new PianoStaff
<<
\new Staff
<<
\new Voice=$voice $sop
>>
$@list-lyr
>>
>>
#}
))
\myscore \mus #(list lyr lyrii)
list-of-lyrics =
#(map
(lambda (l) #{ \new Lyrics \lyricsto sop $l #})
(list lyr lyrii))
<<
\new Staff \new Voice = sop \mus
#@list-of-lyrics
>>
\version "2.25.2"
\language "deutsch"
lyr = \lyricmode {
ah oh uh __
}
lyrii = \lyricmode {
eh ih oh __
ah eh uh
}
lyru = \lyricmode {
<<
\new Lyrics {
\set associatedVoice = sop
\lyr
}
\new Lyrics {
\set associatedVoice = sop
\lyrii
}
>>
}
mus = \relative { c' c c r c c c }
%% jede Strophe wird einzeln übergeben, alles klappt
<<
\new Staff
\new Voice=sop \mus
\new Lyrics \lyricsto sop \lyr
\new Lyrics \lyricsto sop \lyrii
>>
%% alle Strophen in einer Lyrics-Anweisung ergibt unerwünschten Effekt
<<
\new Staff
\new Voice=sop \mus
\new Lyrics \lyru
>>
\version "2.25.2"
\language "deutsch"
lyr = \lyricmode {
ah oh uh __
}
lyrii = \lyricmode {
eh ih oh __
ah eh uh
}
lyru = \lyricmode {
<<
{
\lyr
}
\new Lyrics {
\set associatedVoice = sop
\lyrii
}
>>
}
mus = \relative { c' c c r c c c }
%% jede Strophe wird einzeln übergeben, alles klappt
<<
\new Staff
\new Voice=sop \mus
\new Lyrics \lyricsto sop \lyr
\new Lyrics \lyricsto sop \lyrii
>>
%% alle Strophen in einer Lyrics-Anweisung ergibt unerwünschten Effekt
<<
\new Staff
\new Voice=sop \mus
\new Lyrics \lyricsto sop \lyru
>