Split container cyclically by counts and fracture crossing spanners:
abjad> container = Container("c'8 d'8 e'8 f'8 g'8 a'8 b'8 c''8")
abjad> voice = Voice([container])
abjad> beam = spannertools.BeamSpanner(voice)
abjad> slur = spannertools.SlurSpanner(container)
abjad> f(voice)
\new Voice {
{
c'8 [ (
d'8
e'8
f'8
g'8
a'8
b'8
c''8 ] )
}
}
abjad> containertools.split_container_cyclically_by_counts_and_fracture_crossing_spanners(container, [1, 3])
[[{c'8}], [{d'8, e'8, f'8}], [{g'8}], [{a'8, b'8, c''8}]]
abjad> f(voice)
\new Voice {
{
c'8 ( ) [
}
{
d'8 (
e'8
f'8 )
}
{
g'8 ( )
}
{
a'8 (
b'8
c''8 ] )
}
}
Return list of list-wrapped container pieces.
Changed in version 2.0: renamed partition.cyclic_fractured_by_counts() to containertools.split_container_cyclically_by_counts_and_fracture_crossing_spanners().