Text this: Prototype to measure the total harmonic distortion