Taking a closer look at total harmonic distortion