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