Divide (n, d) according to l.
Where no prolation is necessary, return container.
abjad> tuplettools.make_tuplet_from_proportions_and_pair([1], (7, 16))
{c'4..}
Where prolation is necessary, return fixed-duration tuplet.
abjad> tuplettools.make_tuplet_from_proportions_and_pair([1, 2], (7, 16))
FixedDurationTuplet(7/16, [c'8, c'4])
abjad> tuplettools.make_tuplet_from_proportions_and_pair([1, 2, 4], (7, 16))
FixedDurationTuplet(7/16, [c'16, c'8, c'4])
abjad> tuplettools.make_tuplet_from_proportions_and_pair([1, 2, 4, 1], (7, 16))
FixedDurationTuplet(7/16, [c'16, c'8, c'4, c'16])
abjad> tuplettools.make_tuplet_from_proportions_and_pair([1, 2, 4, 1, 2], (7, 16))
FixedDurationTuplet(7/16, [c'16, c'8, c'4, c'16, c'8])
abjad> tuplettools.make_tuplet_from_proportions_and_pair([1, 2, 4, 1, 2, 4], (7, 16))
FixedDurationTuplet(7/16, [c'16, c'8, c'4, c'16, c'8, c'4])
Note
function accepts a pair rather than a rational.
Note
function interprets d as tuplet denominator.
Changed in version 2.0: renamed divide.pair() to tuplettools.make_tuplet_from_proportions_and_pair().