[Top][All Lists]

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

manual alternative endings

From: Paul Scott
Subject: manual alternative endings
Date: Thu, 4 Feb 2021 02:13:10 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

The code below gives me what I want but gives me a warning.

warning: already have a volta spanner, ending that one prematurely

I'm thinking I need to add (volta #f) to the 2nd repeatCommands string but If so my scheme is weak enough that I don't know how to add it.

TIA for any help with this,


\version "2.23.0"

voltaFine = \markup\sans\caps{Fine Ending}
voltaCont = \markup\sans\caps{To Cont.}

\relative {
  f''4 g a b
  \set Score.repeatCommands = #(list(list 'volta voltaFine))
  g4 a g a c1 \bar "|."
  \set Score.repeatCommands = #(list(list 'volta voltaCont))
  \set Score.repeatCommands = #'((volta #f))
  \bar "||"

reply via email to

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