Le dimanche 26 février 2023 à 20:39 +0100, Volodymyr Prokopyuk a écrit :
> Hi,
> 
> I'd like to find out the right way to define repeats using segno and coda.
> 
> **Desired output written in scores  
> **
> 
> Section A { ^*codaMark* } Section B { _*D.C. al codaMark a poi la Coda* } { 
> *^Coda* } Section C
> 
> **Order of sections to play**  
> Section A => Section B => Section A => Section C
> 
> **Questions**
> 
> 
> - What is the minimal code structure to declaratively implement the above 
> repeat order? I guess the \repeat segno and \alternatives will be used


This works for me:

```
\version "2.24.1"

mus = {
  \repeat segno 2 {
    a'1 1 1
    \alternative {
      \volta 1 {
        b'1 1 1
      }
      \volta 2 {
        \section
        \sectionLabel "Coda"
      }
    }
  }
  c''1 1 1
}


{ \mus }
```

> - Is there a way to imperatively instruct the  { _*D.C. al codaMark a poi la 
> Coda* } repeat instruction?

What do you mean by “imperatively instruct”?

Regards,

Jean

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to