-\version "2.1.36"
+\version "2.14.0"
-\header { texidoc = "Volta repeats may be unfolded through the Scheme
- function @code{unfold-repeats}."
+\header { texidoc = "Volta repeats may be unfolded through the music
+ function @code{\\unfoldRepeats}."
}
-nots = \notes\relative c' {
+nots = \relative c' {
c4 \repeat volta 2 c4 \alternative { d e }
}
+\layout {ragged-right = ##t}
-\score {
- \notes \context Voice {
- \nots
- \bar "||"
- \apply #unfold-repeats \nots
- }
- \paper {raggedright = ##t}
+\context Voice {
+ \nots
+ \bar "||"
+ \unfoldRepeats \nots
}