sequencetools.split_sequence_once_by_weights_with_overhang

abjad.tools.sequencetools.split_sequence_once_by_weights_with_overhang.split_sequence_once_by_weights_with_overhang(sequence, weights)[source]

New in version 2.0.

Split sequence once by weights with overhang:

abjad> from abjad.tools import sequencetools
abjad> sequencetools.split_sequence_once_by_weights_with_overhang((10, -10, 10, -10), [3, 15, 3])
[(3,), (7, -8), (-2, 1), (9, -10)]

Return list of sequence objects.

This Page