]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/compound-time-signatures.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / compound-time-signatures.ly
1 \version "2.19.21"
2
3 \header {
4     texidoc = "Create compound time signatures. The argument is a Scheme list
5 of lists. Each list describes one fraction, with the last entry being the
6 denominator, while the first entries describe the summands in the
7 enumerator. If the time signature consists of just one fraction,
8 the list can be given directly, i.e. not as a list containing a single list.
9 For example, a time signature of (3+1)/8 + 2/4 would be created as
10 @code{\\compoundMeter #'((3 1 8) (2 4))}, and a time signature of (3+2)/8
11 as @code{\\compoundMeter #'((3 2 8))} or shorter
12 @code{\\compoundMeter #'(3 2 8)}.
13 "
14 }
15
16
17
18 \relative {
19   \override Staff.TimeSignature.break-visibility = ##(#f #t #t)
20   \compoundMeter #'(1 2 3 4 8)
21   \repeat unfold 10 c'8 \repeat unfold 20 c16 \break
22
23   \time 3/4
24   \repeat unfold 6 c8 \repeat unfold 12 c16 \break
25
26   \compoundMeter #'((1 2 3 4 8) (2 4))
27   \repeat unfold 14 c8 \repeat unfold 28 c16 \break
28
29   \compoundMeter #'((1 2 3 4 8) (2 4) (2 3 8))
30   \repeat unfold 19 c8 \repeat unfold 38 c16 \break
31
32   \compoundMeter #'(1 2 3 4 8)
33   \repeat unfold 10 c8 \repeat unfold 20 c16 \break
34
35   \compoundMeter #'((1 8) (3 8))
36   \repeat unfold 4 c8 \repeat unfold 8 c16 \break
37
38   \compoundMeter #'((3 8) (1 8))
39   \repeat unfold 4 c8 \repeat unfold 8 c16 \break
40
41   \time 4/4
42   \repeat unfold 8 c8 \repeat unfold 16 c16 \break
43
44   \bar"|."
45 }