LEFT | RIGHT |
1 \version "2.13.4" | 1 \version "2.13.4" |
2 | 2 |
3 \header { | 3 \header { |
4 lsrtags = "rhythms" | 4 lsrtags = "rhythms" |
5 | 5 |
6 texidoc = " | 6 texidoc = " |
7 Beat grouping within a bar is controlled by the default grouping | 7 Beat grouping within a bar is controlled by the default grouping |
8 established in @code{beamSettings}. This grouping can be established | 8 established in @code{beamSettings}. This grouping can be established |
9 by the use of @code{\\overrideBeamSettings}. Alternatively, the | 9 by the use of @code{\\overrideBeamSettings}. Alternatively, the |
10 Scheme function @code{set-time-signature} can be used to both | 10 Scheme function @code{set-time-signature} can be used to both |
11 set the time signature and establish the default grouping rule. | 11 set the time signature and establish the default grouping rule. |
12 @code{set-time-signature}, takes three arguments: the | 12 @code{set-time-signature}, takes three arguments: the |
13 number of beats, the beat length, and the internal grouping of beats in | 13 number of beats, the beat length, and the internal grouping of beats in |
14 the measure. If the @code{Measure_grouping_engraver} is included | 14 the measure. If the @code{Measure_grouping_engraver} is included |
15 in one of the display contexts, measure grouping signs will be | 15 in one of the display contexts, measure grouping signs will be |
16 created. Such signs ease reading rhythmically complex modern music. | 16 created. Such signs ease reading rhythmically complex modern music. |
17 In the example, the 9/8 measure is grouped in two different | 17 In the example, the 9/8 measure is grouped in two different |
18 patterns using the two different methods, while the 5/8 measure | 18 patterns using the two different methods, while the 5/8 measure |
19 is grouped according to the default setting in | 19 is grouped according to the default setting in |
20 @file{scm/beam-settings.scm}: | 20 @file{scm/beam-settings.scm}: |
21 | 21 |
22 " | 22 " |
23 doctitle = "Conducting signs, measure grouping signs" | 23 doctitle = "Conducting signs, measure grouping signs" |
24 } | 24 } |
25 | 25 |
26 \score { | 26 \score { |
27 \relative c'' { | 27 \relative c'' { |
28 \time 9/8 | 28 \time 9/8 |
29 \overrideBeamSettings #'Score #'(9 . 8) #'end #'((* . (2 2 2 3))) | 29 \overrideBeamSettings #'Score #'(9 . 8) #'end #'((* . (2 2 2 3))) |
30 g8 g d d g g a( bes g) | | 30 g8 g d d g g a( bes g) | |
31 #(set-time-signature 9 8 '(4 5)) | 31 #(set-time-signature 9 8 '(4 5)) |
32 g8 g d d g g a( bes g) | | 32 g8 g d d g g a( bes g) | |
33 \time 5/8 | 33 \time 5/8 |
34 a4. g4 | | 34 a4. g4 | |
35 } | 35 } |
36 \layout { | 36 \layout { |
37 \context { | 37 \context { |
38 \Staff | 38 \Staff |
39 \consists "Measure_grouping_engraver" | 39 \consists "Measure_grouping_engraver" |
40 } | 40 } |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
LEFT | RIGHT |