fuse.contents_by_count — Abjad v1.1.1 documentation

### Navigation

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

# fuse.contents_by_count

`abjad.tools.fuse.` `contents_by_count`(container, counts, target=Note(c', 4), direction='big-endian')

  Glom elements of container together rhythmically.

  `sum(counts)` should equal `len(countainer)`. Replace with material of class equal to `target`.

  Useful mostly during rhythmic construction.

### Navigation

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