Working method

Find a similar pedal movement in a rest. Decide whether a low knock or a short tick dominates. Attenuate low frequencies locally for the former. For the latter, use the same brief repair approach as for isolated clicks.

Checking the result

Compare the chord release before and after repair. Restore some mechanism sound if the pedal movement loses its natural character. If a more distant mic is available, blend it just across the troublesome decay.

When building a sampled piano, some mechanism sound can be kept in a key-release sample.