durtools.agglomerate_by_prolation — Abjad v1.1.1 documentation

### Navigation

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

# durtools.agglomerate_by_prolation

`abjad.tools.durtools.` `agglomerate_by_prolation`(durations)

  Given a list of tuplet duration tokens L = [d1, d2, d3, ..., dn], this function returns a list L’ = [[d1, ..., dp], [dp+1, ..., dq], ..., [dq+1, ..., dn]] of sublists of L, where each sublist is a group of consecutive durations with the same implied prolation.

  Example:

  L = [(1, 4), (1, 8), (1, 3), (1, 6), (1, 4)] L’= [[(1, 4), (1, 8)], [(1, 3), (1, 6)], [(1, 4)]]

### Navigation

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