lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

manual repeat mark syntax question


From: Paul Scott
Subject: manual repeat mark syntax question
Date: Thu, 16 May 2024 11:33:06 -0700
User-agent: Mozilla Thunderbird

What is wrong with the following code that gives:

programming error: Trying to interpret a non-markup object: (unquote voltaOpt)


If it isn't clear, I'm trying to create a 3rd optional ending.

\version "2.25.16"

voltaOpt = \markup{Optional}
\fixed c' {
  a1
  \repeat segno 2 {
    g1
    \volta 2
    \volta 1 {
      \repeat volta 2 { a1 b1 }
      \alternative{ c'1 d' } \bar "||"
      \set Score.repeatCommands = #'((volta ,voltaOpt))
      e1
      \set Score.repeatCommands = #'((volta #f))
    }
  }
}


TIA,

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]