Automatic beam subdivisions
Beams can be subdivided automatically. By setting the property
subdivideBeams, beams are subdivided at beat positions (as
specified in baseMoment).
\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
\set baseMoment = \musicLength 8
\set beatStructure = 2,2,2,2
b32^"baseMoment 1 8"[ a g f c' b a g]
\set baseMoment = \musicLength 16
\set beatStructure = 4,4,4,4
b32^"baseMoment 1 16"[ a g f c' b a g]
}
}
![[image of music]](../4b/lily-75a94b70.png)