Maybe, this is what you want to get.

\version "2.24.1"

{
  a'1
  \repeat volta 3 {
    b'1
    \alternative {
      \volta 1 {
        c'1
      }
      \volta 2,3 {
        d'1
      }
    }
  }
  e'1
}

regards
Jonathan

Le sam. 1 avr. 2023 à 12:22, Jean Abou Samra <j...@abou-samra.fr> a écrit :

> Le samedi 01 avril 2023 à 12:05 -0400, John Burt a écrit :
>
> I know how to use \repeat volta to produce alternative endings. I'm trying
> to set a song in which the music for verses 2 and 3 is different from the
> music for verse 1. Is there something like
> \repeat volta for alternative beginnings?
>
> Since version 2.24, \alternative is not limited to the end of a repeat.
> You can use
>
> \version "2.24.1"
>
> {
>   \repeat volta 2 {
>     \alternative {
>       \volta 1 {
>         c'1
>       }
>       \volta 2 {
>         d'1
>       }
>     }
>     e'1
>   }
> }
>
> Note that the legacy syntax \repeat volta x { ... } \alternative { ... }
> is not encouraged anymore, the syntax \repeat volta x { ... \alternative
> { ... } } is preferred now.
>
> Best,
>
> Jean
>

Reply via email to