]> git.donarmstrong.com Git - lilypond.git/blob - input/test/poly-metric.ly
86286d5b8e7ec7717efec14e78e4c63929ad144b
[lilypond.git] / input / test / poly-metric.ly
1 \version "1.7.18"
2
3 \header{ texidoc="@cindex Time Signature Multiple
4 You can have multiple time signatures occuring at the same time.
5
6 This is done by moving the timing engraver to staff context. Also,
7 Staff should be given the alias @code{Timing} to make @code{\time}
8 command work correctly.
9
10 Barlines distort the regular spacing, though.
11
12 " }
13
14 \score{
15     \notes \relative c'  <
16         \context Staff= AS {
17             \time 3/4
18             c4 c c | c c c |
19         }
20         \context Staff=BS {
21             \time 2/4
22             c4 c | c c | c c
23         }
24         \context Staff =CS {
25             \time 3/8
26             c4. c8 c c   c4. c8 c c
27         }
28     >
29
30     \paper{
31         raggedright = ##t
32         \translator{
33             \ScoreContext
34             \remove "Timing_engraver"
35         }
36         \translator{
37             \StaffContext
38             \consists "Timing_engraver"
39             \alias "Timing"
40         }
41     }
42 }
43