]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/repeat-unfold-partial.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / input / regression / repeat-unfold-partial.ly
1 \version "2.19.52"
2
3 \header {
4   texidoc = "The music function @code{\\unfoldRepeats} can take an
5 optional argument-list specifying which type(s) of repeated music has
6 to be unfolded."
7 }
8
9 m =
10   \repeat volta 2 {
11       \repeat percent 2 { c'1 }
12       \repeat tremolo 4 { c'16 d' }
13       f'2
14   }
15   \alternative {
16       { d'1 }
17       { e'1 }
18   }
19
20 \markup "not expanding"
21 \m
22
23 \markup "expanding all"
24 \unfoldRepeats \m
25
26 \markup "expanding percent-repeated-music"
27 \unfoldRepeats percent \m
28
29 \markup "expanding tremolo-repeated-music"
30 \unfoldRepeats tremolo \m
31
32 \markup "expanding volta-repeated-music"
33 \unfoldRepeats volta \m
34
35 \markup \column {
36   "combinations are possible:"
37   "expanding percent-repeated-music and tremolo-repeated-music"
38 }
39 \unfoldRepeats percent,tremolo \m