[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Song with repeat and partial
From: |
Valentin Petzel |
Subject: |
Re: Song with repeat and partial |
Date: |
Fri, 09 Aug 2024 10:54:17 +0200 |
> I have a song with an intro, several stanzas, and a refrain. Each stanza
> starts on the last beat of the measure.See the attached MWE.
>
> Is there a neat way of avoiding having a repeat bar in the middle of a
> measure while preserving the stanza numbers is their proper places?
I’m a bit confused of what you actually want. Do you want to avoid having the
repeat bars in the middle of the measure? Then you could do it the traditional
way:
%%%
\version "2.24.3"
intro = \relative c' { g' f e d c b a g }
melody = \relative c' \new Voice = "verse" {
a
\repeat volta 3 {
b c d \new Voice = "chorus" { e f g a } a,
}
}
verseA = \lyricmode {
\set stanza = "1."
This is verse one
}
verseBstub = \lyricmode {
\set stanza = "2." This
}
verseB = \lyricmode {
\skip This
\set stanza = "(2.)"
is verse two
}
verseCstub = \lyricmode {
\set stanza = "3." This
}
verseC = \lyricmode {
\skip This
\set stanza = "(3.)"
is verse three
}
chorusWords = \lyricmode {
\set stanza = "Refrain."
This is the chorus
}
\score {
<<
\new Staff {
\partial 4
\intro
\melody
}
\new Lyrics = "mainlyrics" \lyricsto "verse" { \verseA \verseBstub }
\context Lyrics = "mainlyrics" \lyricsto "chorus" \chorusWords
\new Lyrics \lyricsto "verse" { \verseB \verseCstub }
\new Lyrics \lyricsto "verse" { \verseC }
>>
\layout { }
}
%%%
Cheers,
Valentin
signature.asc
Description: This is a digitally signed message part.