New in version 2.0.
List improper contents of component that cross prolated_offset:
abjad> staff = Staff(Measure((2, 8), notetools.make_repeated_notes(2)) * 2)
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
}
}
Examples refer to the score above.
No components cross prolated offset 0:
abjad> componenttools.list_improper_contents_of_component_that_cross_prolated_offset(staff, 0)
[]
Staff, measure and leaf cross prolated offset 1/16:
abjad> componenttools.list_improper_contents_of_component_that_cross_prolated_offset(staff, Duration(1, 16))
[Staff{2}, Measure(2/8, [c'8, d'8]), Note("c'8")]
Staff and measure cross prolated offset 1/8:
abjad> componenttools.list_improper_contents_of_component_that_cross_prolated_offset(staff, Duration(1, 8))
[Staff{2}, Measure(2/8, [c'8, d'8])]
Staff crosses prolated offset 1/4:
abjad> componenttools.list_improper_contents_of_component_that_cross_prolated_offset(staff, Duration(1, 4))
[Staff{2}]
No components cross prolated offset 99:
abjad> componenttools.list_improper_contents_of_component_that_cross_prolated_offset(staff, 99)
[]
Return list.