[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Still struggling to understand Lilypond 2.23.10 segno repeats
From: |
Jean Abou Samra |
Subject: |
Re: Still struggling to understand Lilypond 2.23.10 segno repeats |
Date: |
Sat, 23 Jul 2022 23:03:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
Le 23/07/2022 à 03:48, Kenneth Wolcott a écrit :
Can_You_Feel_the_Love_Tonight.pdf
<https://drive.google.com/file/d/17JcvzHc9RVLfJk_54oNRl0QqXO7QpT-U/view?usp=drive_web>
Hi;
I have a piece of music ("Can You Feel the Love Tonight") which I am
trying to engrave using Lilypond 2.23.10.
I have (mostly) succeeded in engraving this with Lilypond 2.22.2,
but the many directives regarding the Coda and DS look awful.
So, I tried using the \repeat segno feature, which almost looks
correct, but I have problems understanding how to glue in the Coda
part (is that like a volta?).
Could someone clue me in on the Lilypond syntax that I am missing so
that the pdf looks right and the midi sounds right?
Kenneth,
There is an example with an al coda repeat here:
https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats.html#segno-repeat-structure
The syntax is
\repeat segno 2 {
<repeated part>
\alternative {
\volta 1 {
<only first time; al coda is just before here>
}
\volta 2 \volta #'() {
\section
\sectionLabel Coda
}
}
<coda part>
}
Attached is your file amended to use this syntax.
Best,
Jean
Can_You_Feel_the_Love_Tonight.ly
Description: Text Data