A train whistle is heard at 310Hz as the train approaches town. The train cuts its speed in half as it nears the station, and the sound of the whistle is then 300 Hz.