Ich möchte drei ganze Takte Pause zusammenfassen, so dass eine Pause mit einer drei darüber entsteht (Bsp. oben). Ohne Text funktioniert das, aber mit Text suboptimal (Bsp. unten):
compressEmptyMeasures.png
Kann ich das untere Beispiel (mit Liedtext) so umstellen, dass es genauso aussieht wie oben?
\version "2.24.1"
theMusic = \relative c {
\compressEmptyMeasures
R1*3
d''4. a8 b8 a8 r4
\bar "|."
}
% Ohne Text
\score {
\new ChoirStaff <<
\new Staff { << \new Voice = "sopran" { \theMusic } >> }
>>
}
theText = \lyricmode {
It's your birth -- day,
}
% Mit Text
\score {
\new ChoirStaff <<
\new Staff { << \new Voice = "sopran" { \theMusic } >> }
\new Lyrics = theMusicLyrics { s1 }
\context Lyrics = theMusicLyrics \lyricsto sopran \theText
>>
}
test_compressEmptyMeasures.ly
Warum diese Konstruktion?
\new Lyrics = theMusicLyrics { s1 }
\context Lyrics = theMusicLyrics \lyricsto sopran \theText
Schreib einfach:
\new Lyrics = theMusicLyrics \lyricsto sopran \theText
Gruß,
Harm
Danke Harm. Das diese Konstruktion zu diesem Ergebnis führt, hätte ich nicht gedacht. Die habe ich in all meinen Liedsätzen verwendet und nie gab es ein Problem.
Super und nochmals danke! :)
Jetzt weiß ich wieder, welchem Zweck diese Konstruktion dient: Der Text kann damit über der nachfolgenden Stimme angeordnet werden:
theText = \lyricmode {
It's your birth -- day,
}
% Mit Text ueber der Stimme
\score {
\new ChoirStaff <<
\new Lyrics = theMusicLyrics { s1 }
\new Staff { << \new Voice = "sopran" { \theMusic } >> }
\context Lyrics = theMusicLyrics \lyricsto sopran \theText
>>
}
Dann tritt wieder das zu Anfang beschriebene Problem auf. Gibt es auch dazu eine Lösung?
Das macht man besser mit `alignBelowContext` bzw `alignAboveContext`:
theMusic = \relative c {
\compressEmptyMeasures
R1*3
d''4. a8 b8 a8 r4
\bar "|."
}
theText = \lyricmode {
It's your birth -- day,
}
% Mit Text ueber der Stimme
\score {
\new ChoirStaff <<
\new Staff = "staff" { << \new Voice = "sopran" { \theMusic } >> }
\new Lyrics
\with { alignAboveContext = "staff" }
\lyricsto sopran \theText
>>
}
Gruß,
Harm
Das ist Klasse. Danke Harm-