If the old power supply is 12V and you replace it with 24V, then things could go bang.
The buzz in the old supply may be reduced if you tightened up the transformer laminations and made sure it is bolted tightly to the chassis.
You could try heating the transformer gently in an oven and then...