]> git.donarmstrong.com Git - lilypond.git/blob - input/test/beam-auto-override.ly
*** empty log message ***
[lilypond.git] / input / test / beam-auto-override.ly
1
2 \version "2.1.28"
3 \header {
4
5     texidoc = "@cindex Auto Beaming Override
6
7 The auto-beamer, which can be overridden, will only engrave beams 
8 that end before encountering of 
9 @itemize @bullet
10 @item  a rest,
11 @item
12  an other, manually entered beam, or
13 @item
14  a bar line. 
15 @end itemize
16
17 The @code{autoBeaming} can also be turned off.
18
19 "
20
21 }
22
23 %% TODO: check doc string. -hw
24
25 \score{
26     \notes \relative c''{
27         #(override-auto-beam-setting '(end * * * *)  1 2)
28         \time 2/4
29         % one beam per measure
30         c8 c c c
31         c16 c c c c c c c
32         % from here on consider ending beam every 1/4 note
33         #(override-auto-beam-setting '(end * * * *) 1 4)
34
35         c8 c c c
36         % manually override autobeam with weird beaming
37         c8  c[ c] c
38         c8 c c r
39         c8 c c4
40         r8 c c c
41         % no autobeaming
42         \set autoBeaming = ##f
43         c8 c c c
44     }
45     \paper{raggedright = ##t}
46 }
47
48