cut.by_duration — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# 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.

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »