]> git.donarmstrong.com Git - lilypond.git/blob - input/test/polymetric.ly
*** empty log message ***
[lilypond.git] / input / test / polymetric.ly
1 \version "2.1.28"
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 @code{Staff} should be given the alias @code{Timing} to make @code{\\time}
11 command work correctly. The spacing is aligned vertically, although the bar 
12 lines seem to distort the regular spacing.
13
14 " }
15
16 %% Multiple time signatures seem not to be printed, however.
17 %% Should print bar lines according to the time signature of each staff. -HJJ
18
19 \score{
20     \notes \relative c'  <<
21         \new Staff {
22             \time 3/4
23             c4 c c | c c c |
24         }
25
26         \new Staff {
27             \time 2/4
28             c4 c | c c | c c
29         }
30         \new Staff {
31             \time 3/8
32             c4. c8 c c   c4. c8 c c
33         }
34     >>
35
36     \paper{
37         raggedright = ##t
38         \translator{
39             \ScoreContext
40             \remove "Timing_engraver"
41         }
42         \translator{
43             \StaffContext
44             \consists "Timing_engraver"
45             \alias "Timing"
46         }
47     }
48 }
49