PRR Aerotrain by Con-Cor.
A railroader from Middletown, Ohio brought his engine as no sound and head light.
First, it went on the programming track and read the decoder to see if all was 'good' and then loaded all the 'data' into the decoder.
After removing the 'shell' and tape, noticed a bare black wire.
Soldered it to the white and fixed the headlight.
Since I use, mostly, TCS decoders it made it 'easier' for diagnostics.
Found the 2 purple wires and one came loose so soldered it back to the speaker but nada on the layout.
Tried another speaker and ditto.
Figure it was the decoder but while removing one of the connectors from the decoder, it came out way too easily so,
reinserted the connector to the decoder and all's good.
Sound was low so we went into the decoder and increased the volume.