Not sure if it is related, but my dad has an old beast of a Pacific Fast Mail transformer with sound controls. It was meant for the PFM sound system equipped brass locomotives, but when running regular DC locomotives on the pack, you can get the motors to act like speakers and hear bell and whistle sounds, albeit faint.
I always assumed it was some sort of AC signal on top of the DC track power causing it. Not sure how a defective locomotive motor would exhibit the same without the transformer putting out the signal though.