lilypond-user
[Top][All Lists]
Advanced

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

RE: counter for voltas with no alternative endings?


From: Mark Stephen Mrotek
Subject: RE: counter for voltas with no alternative endings?
Date: Sat, 16 Feb 2019 15:18:27 -0800

Stig Brautaset:

Something like this from
http://lilypond.org/doc/v2.19/Documentation/notation/long-repeats?


voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
\relative {
  c''1
  \set Score.repeatCommands =
    #(list(list 'volta voltaAdLib) 'start-repeat)
  c4 b d e
  \set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)
  f1
  \set Score.repeatCommands = #'((volta #f))
}

Mark

-----Original Message-----
From: lilypond-user
[mailto:address@hidden On Behalf Of
Stig Brautaset
Sent: Saturday, February 16, 2019 1:52 PM
To: address@hidden
Subject: counter for voltas with no alternative endings?

Hi,

I'm trying to engrave some music that has 4 bars repeated 8 times. I can use
a volta, but since there is no alternative ending it doesn't print the
number of repeats. Is there any way to force that to print?

Here's a minimal example. The first volta doesn't print the number of
repeats, the second does. Should I perhaps be using percent repeats
instead...?

----8<----[ q2.ly ]----8<--------8<----
\version "2.19.80"
\relative c' {
  \repeat volta 8 {
    c
    d
  }
  \repeat volta 8 {
    c
  }
  \alternative {
    d
    e
  }
}
----8<--------8<--------8<--------8<----

The generated PDF is here:




reply via email to

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