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