]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/multiple-time-sig-settings.ly
Set context properties to allow half-measure beaming in 3/4 (Issue 2246)
[lilypond.git] / input / regression / multiple-time-sig-settings.ly
1 \version "2.14.0"
2
3 \header {
4   texidoc = "
5 Multiple overrides to the default time signature settings can be
6 added.  In this example, notes should be beamed as indicated
7 by the markups.
8 "
9 }
10
11 \new Staff{
12   \relative c' {
13    \overrideTimeSignatureSettings
14       #'(4 . 4)  % time signature fraction
15       #'(1 . 4)  % base moment fraction
16       #'(1 1 1 1)    % beatStructure
17       #'()       % beamExceptions
18     \overrideTimeSignatureSettings
19       #'(3 . 4)  % time signature fraction
20       #'(1 . 4)  % base moment fraction
21       #'(1 1 1)    % beatStructure
22       #'((end . (((1 . 8) . (2 2 2))))) % set exceptions to beam by 1/4
23     \time 4/4
24     c8^\markup {"Beam by 1/4"} c c c c c c c |
25     \time 3/4
26     c8^\markup {"Beam by 1/4"} c c c c c |
27     \revertTimeSignatureSettings #'(4 . 4)
28     \revertTimeSignatureSettings #'(3 . 4)
29     \time 4/4
30     c8^\markup {"Beam by 1/2"} c c c c c c c |
31     \time 3/4
32     c8^\markup {"Beam by 3/4"} c c c c c |
33   }
34 }