A shock spectral based control of slamming