Dad 'listening to music' killed by train at level crossing