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)]]