Text this: Direct calculation of sound speed of materials under ramp wave compression