1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.19
13 Beat grouping within a measure is controlled by the context property
14 @code{beatStructure}. Values of @code{beatStructure} are
15 established for many time signatures in
16 @file{scm/time-signature-settings.scm}. Values of @code{beatStructure}
17 can be changed or set with @code{\\set}.
18 Alternatively, @code{\\time} can be used to both
19 set the time signature and establish the beat structure.
20 For this, you specify the internal grouping of beats in a measure
21 as a list of numbers (in Scheme syntax) before the time signature.
23 @code{\\time} applies to the @code{Timing} context, so it will not
24 reset values of @code{beatStructure} or @code{baseMoment} that are set
25 in other lower-level contexts, such as @code{Voice}.
27 If the @code{Measure_grouping_engraver} is included
28 in one of the display contexts, measure grouping signs will be
29 created. Such signs ease reading rhythmically complex modern music.
30 In the example, the 9/8 measure is grouped in two different
31 patterns using the two different methods, while the 5/8 measure
32 is grouped according to the default setting in
33 @file{scm/time-signature-settings.scm}:
35 doctitle = "Conducting signs measure grouping signs"
41 \new Voice \relative c'' {
43 g8 g d d g g a( bes g) |
44 \set Timing.beatStructure = #'(2 2 2 3)
45 g8 g d d g g a( bes g) |
47 g8 g d d g g a( bes g) |
54 \consists "Measure_grouping_engraver"