>>>>> "Ralph" == Ralph Palmer <palmer.r.vio...@gmail.com> writes:

Ralph> I've gone slightly crazy on a couple of occasions, trying to
Ralph> figure out how to change a volta number, either to a different
Ralph> number(s) or to text.

You need to handle the whole thing yourself, rather than using the
\alternative construct,

Something like this:

----
\version "2.22.0"

test = {
  \time 3/4
  \repeat volta 3
  {
    a'4 b' c' |
    b'4 c' d' |
  }
  \set Score.repeatCommands = #'((volta "1., 3." ))
  e'4 f' g' |
  d'4 c' b' |
  \set Score.repeatCommands = #'((volta #f) (volta "2.") end-repeat)
  r2.
  \set Score.repeatCommands = #'((volta #f) end-repeat (volta "4."))
  g'4 a' b' |
  \set Score.repeatCommands = #'((volta #f))
  c'2.
}

\score {
  \test
}

-- 
Dr Peter Chubb                https://trustworthy.systems/
Trustworthy Systems Group                        CSE, UNSW

Reply via email to