Watch my video tutorial, even if it is not sufficient to learn all the secrets of this procedure. It is a delicate matter because most of the time an error makes the process irreversible and the hammer rail no longer sounds! It must be approached with great caution and, above all, one must not fundamentally change the basic characteristic of the hammers. For example, if we are faced with a very compressed and/or impregnated hammer rail, one must not insist on making it too soft by fundamentally changing its original "character." Likewise, one should refrain from softening the hammer tip, except in extreme cases. The suggestion I can give is that, at the beginning of this difficult experience, small corrections can be attempted. One must work with great caution, trying to understand, on some samples of the bass and middle registers, how the hammers react. The type of voicing tool is also important, as is properly seating the hammers so as not to damage the center pins of the capstans. Already a good job consists of verifying the simultaneous impact on the two or three strings by the hammer tip and checking that the hammers have not been flattened or reshaped by poorly executed shaving. Furthermore, it should be noted that very old hammers are hardened and can hardly react well to the restoration of expanded zones that must act as a "cushion" upon impact. Very old hammers, even if not worn, used, or flattened, should be replaced.
As you will see in the tutorial, every zone of the hammer has its own function, which is created and established during construction according to precise choices. More expanded parts on more compressed zones develop a physiognomy and a correct, yet robust elasticity that allows the string, at the moment of impact, to develop all the good harmonics. It is precisely that tiny fraction of a second that, once impact has occurred, compresses the hammer and consequently makes it move away from the string, that sets in motion within the vibrating string all those small "bellies" of good and consonant harmonics that reinforce the fundamental. Very important is the correct striking point relative to the tuning pins, especially in the treble, where the strings are shorter and where a small displacement determines a very different "portion" of the struck string, causing the birth of dissonant harmonics. There, the striking point must be very precise and "clean." Generally at one-seventh or one-ninth of the length, precisely to exclude (see Jung's law) dissonant odd harmonics. Every flattening or rounding is equivalent to transforming the striking point into a "striking segment," compromising the "cantabile." Last but not least, the piano must be well tuned and well regulated beforehand!
The acoustic condition of the listening area and the position of the instrument relative to the walls must also be taken well into consideration. For an upright piano, one should prioritize distance from the wall or even a corner position. For a grand piano, opening towards the longest part of the room, avoiding confinement in corners or placing the treble section near "rebound" walls.
In short... a final intervention that is also the result of many other precautions!!!
Good luck with your work