Revised autobeam settings patch and ran makelsr.py
[lilypond/mpolesky.git] / Documentation / snippets / new / automatic-beam-subdivisions.ly
blob59f6888ccbfe0b6eb7efb63dc1d4af198d6cffe2
1 \version "2.13.29"
3 \header {
4 lsrtags = "rhythms"
6 texidoc = "
7 Beams can be subdivided automatically. By setting the property
8 @code{subdivideBeams}, beams are subdivided at beat positions (as
9 specified in @code{baseMoment}).
12 doctitle = "Automatic beam subdivisions"
15 \new Staff {
16 \relative c'' {
19 \voiceOne
20 \set subdivideBeams = ##t
21 b32[ a g f c' b a g
22 b32^"subdivide beams" a g f c' b a g]
24 \new Voice {
25 \voiceTwo
26 b32_"default"[ a g f c' b a g
27 b32 a g f c' b a g]
30 \oneVoice
31 \set baseMoment = #(ly:make-moment 1 8)
32 \set beatStructure = #'(2 2 2 2)
33 b32^"baseMoment 1 8"[ a g f c' b a g]
34 \set baseMoment = #(ly:make-moment 1 16)
35 \set beatStructure = #'(4 4 4 4)
36 b32^"baseMoment 1 16"[ a g f c' b a g]