New in version 1.1.
Fuse leaves in tie_chain by immediate parent:
abjad> staff = Staff(Measure((2, 8), notetools.make_repeated_notes(2)) * 2)
abjad> tietools.TieSpanner(staff.leaves)
TieSpanner(c'8, c'8, c'8, c'8)
abjad> f(staff)
\new Staff {
{
\time 2/8
c'8 ~
c'8 ~
}
{
\time 2/8
c'8 ~
c'8
}
}
abjad> tie_chain = tietools.get_tie_chain(staff.leaves[0])
abjad> leaftools.fuse_leaves_in_tie_chain_by_immediate_parent_big_endian(tie_chain)
[[Note("c'4")], [Note("c'4")]]
abjad> f(staff)
\new Staff {
{
\time 2/8
c'4 ~
}
{
\time 2/8
c'4
}
}
Return list of fused notes by parent.
Changed in version 2.0: renamed fuse.leaves_in_tie_chain() to leaftools.fuse_leaves_in_tie_chain_by_immediate_parent_big_endian().