Automatic beam subdivisions
Beams can be subdivided automatically. By setting the property
subdivideBeams, beams are subdivided whenever possible. The
intervals and depth of subdivision can be limited with properties
minimumBeamSubdivisionInterval and
maximumBeamSubdivisionInterval respectively.
\new Staff {
\relative c'' {
<<
{
\voiceOne
\set subdivideBeams = ##t
b32[ a g f c' b a g
b32^"subdivide beams" a g f c' b a g]
}
\new Voice {
\voiceTwo
b32_"default"[ a g f c' b a g
b32 a g f c' b a g]
}
>>
\oneVoice
\once \set minimumBeamSubdivisionInterval = \musicLength 8
b32^"minimumBeamSubdivisionInterval 1 8"[ a g f c' b a g]
\once \set maximumBeamSubdivisionInterval = \musicLength 16
b32^"maximumBeamSubdivisionInterval 1 16"[ a g f c' b a g]
}
}
![[image of music]](../a5/lily-524e2ef4.png)