A tamping machine or ballast tamper is a machine used to pack ( or tamp ) the track ballast under railway tracks to make the tracks more durable . A tamping machine or ballast tamper is a machine used to tamp ( or pack ) the track ballast under railway tracks to make the tracks more durable .