Sound waves travel faster through dense materials