2

Using Lilypond, I would like to indicate alternate endings to the piece I am engraving; an "Optional 'Screen Gems' Ending" which is 2 measures long or another "Low Fat" ending (not my terms; they are in the original score) which is 1 meaasure. I would like notation similar to 1st and 2nd endings but without the repeat, of course. How do I do this? Thanks!

4

See here for the LilyPond documentation on long repeats.

\version "2.19.82"

voltaFirst = \markup \text "Gems"
voltaSecond = \markup \text "Fat"

\relative c' {
  \repeat volta 2 {
    e4 e e e
  }
  \alternative {{
    \set Score.repeatCommands = #(list(list 'volta voltaFirst))
    g2 g g g \bar "||"
  }{
    \set Score.repeatCommands = #(list(list 'volta voltaSecond))
    d1
  }}
  \bar "|."
}

Text other than numbers in repeats

You can add usual markup arguments after \text to change how it's displayed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.