]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/time-signature-settings-by-staff.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / time-signature-settings-by-staff.ly
1 \version "2.14.0"
2
3 \header {
4   texidoc = "
5 Default values for time signature settings can vary by staff if the
6 @code{Timing_translator} and @code{Default_bar_line_engraver} are
7 moved from @code{Score} to @code{Staff}.  In this case, the upper staff
8 should be beamed 3/4, 1/4.  The lower staff should be beamed 1/4, 3/4.
9 "
10 }
11
12 \score {
13   \new StaffGroup <<
14      \new Staff {
15         \overrideTimeSignatureSettings
16           #'(4 . 4)  % timeSignatureFraction
17           #'(1 . 4)  % baseMomentFraction
18           #'(3 1)    % beatStructure
19           #'()       % beamExceptions
20         \time 4/4
21         \repeat unfold 8 {c''8}
22      }
23      \new Staff {
24         \overrideTimeSignatureSettings
25           #'(4 . 4)  % timeSignatureFraction
26           #'(1 . 4)  % baseMomentFraction
27           #'(1 3)    % beatStructure
28           #'()       % beamExceptions
29         \time 4/4
30         \repeat unfold 8 {c''8}
31      }
32   >>
33   \layout {
34     \context {
35       \Score
36       \remove "Timing_translator"
37       \remove "Default_bar_line_engraver"
38     }
39     \context {
40       \Staff
41       \consists "Timing_translator"
42       \consists "Default_bar_line_engraver"
43     }
44   }
45 }