1\version "2.19.34"
2
3\header {
4
5  doctitle = "Beam subdivide with incomplete remainder"
6
7  texidoc = "Beam count at subdivisions should match the count corresponding
8to the location of the current subdivision.  However, if the remainder of the
9beam is shorter than that the beam count should be adopted accordingly."
10
11}
12
13\paper {
14  indent = 0
15}
16
17\relative c'' {
18  \omit Staff.TimeSignature
19  \time 1/4
20  \set subdivideBeams = ##t
21  \set baseMoment = #(ly:make-moment 1/32)
22  c64 ^\markup "Full beam (1/32 division)" [ c c c  c c c c  c c c c  c c c c ]
23  c64 ^\markup "Shortened by 1/32" [ c c c  c c c c  c c c c  c c ] r32
24  c64 ^\markup "Shortened by 3/32" [ c c c  c c c c  c c  ] r16.
25  \set baseMoment = #(ly:make-moment 1/16)
26  c32 ^\markup "Full beam (1/16 division)" [ c c c c c c c ]
27  c32 ^\markup "Shortened by 1/16" [ c c c c c] r16
28}
29