Continuous external train noise measurements through an on-board device