mutate

abjad.top.mutate.mutate(client)

Makes mutation agent.

Scales duration of last note notes in staff:

>>> staff = abjad.Staff("c'4 e'4 d'4 f'4")
>>> abjad.show(staff) 
>>> abjad.mutate(staff[-2:]).scale(abjad.Multiplier(3, 2))
>>> abjad.show(staff) 

Returns mutation agent:

>>> abjad.mutate(staff[-2:])
Mutation(client=Selection([Note("d'4."), Note("f'4.")]))