cut.by_duration

abjad.tools.cut.by_duration(component, duration)
Trim the first ‘duration’ of time from ‘component’. When ‘component’ is a leaf, shorten duration of leaf. When ‘component’ is a container, remove contents from container. Add ties or duration-modification tuplets as necessary. Return value to be determined. Maybe return ejected components.

Previous topic

containertools.rest_half

Next topic

divide.leaf

This Page