Question: how does dcc sound work?
Answer: On Direct Current layouts one needed to place small speakers around the layout, and a computer calculates where trains are, and determines which speaker to send sound to using complex electronics. DCC and miniaturization of decoders allows the sound to actually be generated within a locomotive and rolling stock.