On Tue, 24 Sept 2024 at 21:53, David Sumbler <da...@aeolia.co.uk> wrote:
>
> I am having difficulty with the new repeat structure.  The code below
> produces the result I want except that the repeat should only be 2 bars
> long.  In other words, the ":|." bar line at the end of the inner
> repeat should come at the end of the 1st time bar (after the note F)
> not 2 bars later after the A.

Hello,

If I understood correctly what you want, you have to put the a'1 outside of
the \repeat volta 2 block (but inside the volta 1 of your repeat segno
block).

\version "2.24.3"
\language "english"

\score {
  \repeat segno 2 {
    c'1 d'
    \volta 2 \fine
    \volta 1 {
      \repeat volta 2 {
        e'1
        \alternative {
          \volta 1 { f'1 }
          \volta 2 { g'1 }
        }
      }
      a'1
    }
  }
}

Kind regards,
Xavier

Reply via email to