leaftools.duration_change

abjad.tools.leaftools.duration_change(leaf, new_preprolated_duration)
Change preprolated duration of ‘leaf’ to ‘new_preprolated_duration’. It ‘leaf’ carries LilyPond multiplier, change only LilyPond multiplier. For durations like 3/16, change notehead. For durations like 5/16, splice tied notes to right. For durations like 3/14, enclose in tuplet, change notehead. For durations like 5/14, enclose in tuplet, splice tied notes. Return list modified original leaf and any additional new leaves.

Previous topic

layout.line_break_every_seconds

Next topic

leaftools.duration_rewrite

This Page