New in version 1.1.
Fuse contiguous measures in container cyclically by counts:
abjad> staff = Staff(Measure((2, 8), notetools.make_repeated_notes(2)) * 5)
abjad> pitchtools.set_ascending_named_diatonic_pitches_on_nontied_pitched_components_in_expr(staff)
abjad> f(staff)
\new Staff {
{
\time 2/8
c'8
d'8
}
{
\time 2/8
e'8
f'8
}
{
\time 2/8
g'8
a'8
}
{
\time 2/8
b'8
c''8
}
{
\time 2/8
d''8
e''8
}
}
abjad> counts = (2, 1)
abjad> measuretools.fuse_contiguous_measures_in_container_cyclically_by_counts(staff, counts)
abjad> f(staff)
\new Staff {
{
\time 4/8
c'8
d'8
e'8
f'8
}
{
\time 2/8
g'8
a'8
}
{
\time 4/8
b'8
c''8
d''8
e''8
}
}
Return none.
Set mark to true to mark fused measures for later reference.
Changed in version 2.0: renamed fuse.measures_by_counts_cyclic() to measuretools.fuse_contiguous_measures_in_container_cyclically_by_counts().