SMS dit: Prototype to measure the total harmonic distortion