OLD | NEW |
| (Empty) |
1 \version "2.12.0" | |
2 \header { | |
3 | |
4 texidoc = "Autobeaming will break beams according to beatGrouping | |
5 if the total length of the beat groups is equal to measureLength. | |
6 Otherwise, it will break beams according to beatLength." | |
7 } | |
8 | |
9 { | |
10 \time 12/16 | |
11 | |
12 % default beatLength is 1/16; beatGrouping for this time is '() | |
13 b16 b b b b b b b b b b b % beatlength is used to breatk these beams | |
14 % use beatGrouping to get 1/8 groups | |
15 \set Timing.beatGrouping = #'(2 2 2 2 2 2) % 6*2 = 12 so beatGrouping applies | |
16 b16 b b b b b b b b b b b % beam groups are 1/8 | |
17 % use beatLength to get 1/8 groups -- beatGrouping no longer applies | |
18 \set Score.beatLength = #(ly:make-moment 2 16 ) % 12*2/16 = 24/16 | |
19 % bad beatGrouping; use | |
20 % beatLength (1/8 notes) | |
21 b16 b b b b b b b b b b b | |
22 % make custom beatGrouping | |
23 \set Timing.beatGrouping = #'(3 1 2) % 6*2/16 = 12/16 | |
24 b16 b b b b b b b b b b b | |
25 % change beatLength | |
26 \set Score.beatLength = #(ly:make-moment 3 16 ) % 6*3/16 = 18/16; use beatLen
gth | |
27 b16 b b b b b b b b b b b | |
28 \set Score.beatLength = #(ly:make-moment 4 16 ) % 6*4/16 = 24/16; use beatLen
gth | |
29 b16 b b b b b b b b b b b | |
30 } | |
OLD | NEW |