tuplettools.make_diminished_tuplet_from_duration_and_proportions_and_encourage_dots

abjad.tools.tuplettools.make_diminished_tuplet_from_duration_and_proportions_and_encourage_dots.make_diminished_tuplet_from_duration_and_proportions_and_encourage_dots(duration, proportions, direction='big-endian')[source]

New in version 2.0.

Make diminished tuplet from duration and proportions and encourage dots:

abjad> print tuplettools.make_diminished_tuplet_from_duration_and_proportions_and_encourage_dots(
... Fraction(3, 16), [1, 1, 1, -1, -1])
{@ 5:4 c'32., c'32., c'32., r32., r32. @}

Interpret nonassignable proportions according to direction:

abjad> print tuplettools.make_diminished_tuplet_from_duration_and_proportions_and_encourage_dots(
... Fraction(3, 16), [5, -1, 5], direction = 'little-endian')
{@ 11:8 c'16..., r64., c'16... @}

Reduce proportions relative to each other.

Interpret negative proportions as rests.

Return fixed-duration tuplet.

Changed in version 2.0: renamed divide.duration_into_arbitrary_diminution_dotted() to tuplettools.make_diminished_tuplet_from_duration_and_proportions_and_encourage_dots().

This Page