]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/compound-time-signatures.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / compound-time-signatures.ly
1 \version "2.16.0"
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 c' {
19   \compoundMeter #'(1 2 3 4 8)
20   \repeat unfold 10 c8 \repeat unfold 20 c16 \break
21
22   \time 3/4
23   \repeat unfold 6 c8 \repeat unfold 12 c16 \break
24
25   \compoundMeter #'((1 2 3 4 8) (2 4))
26   \repeat unfold 14 c8 \repeat unfold 28 c16 \break
27
28   \compoundMeter #'((1 2 3 4 8) (2 4) (2 3 8))
29   \repeat unfold 19 c8 \repeat unfold 38 c16 \break
30
31   \compoundMeter #'(1 2 3 4 8)
32   \repeat unfold 10 c8 \repeat unfold 20 c16 \break
33
34   \compoundMeter #'((1 8) (3 8))
35   \repeat unfold 4 c8 \repeat unfold 8 c16 \break
36
37   \compoundMeter #'((3 8) (1 8))
38   \repeat unfold 4 c8 \repeat unfold 8 c16 \break
39
40   \time 4/4
41   \repeat unfold 8 c8 \repeat unfold 16 c16 \break
42
43   \bar"|."
44 }