I've been studying brain waves for a while and I want to do a project like this for educational purposes, manufactured TENS devices do not have an "audio input" they are programmed with an operating pattern, it would be necessary a circuit that "receives" the analog signal from the output sound...