how to measure distortion in audio