I am building an android app in which TTS (text to speech) is controlled by voice commands. For voice recognition, I am using pocketsphinx and it works fine when TTS is not active (the "start" command i.e.). However, the accuracy of recognition goes down when TTS is active (e.g. for "stop" command).
I tried using AcousticEchoCanceler, but it doesn't seem to help. Could you please tell me:
Is AEC supposed to filter phone output from the input? Is it the case that it doesn't work well or is it that it's not supposed to do this?
What else shall I try?
Thanks!