When electric trains accelerate and decelerate, we can hear some characteristic sounds, which is caused by inverters controlling the torque and the rotational speed of the motors.
This app simulates the waveforms generated by inverters and sounds coming from motors, and you can also design sounds of imaginary trains.