Uberi / speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.

Home Page:https://pypi.python.org/pypi/SpeechRecognition/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I prevent Listen in Background from recording the Speech of the Computer itself

msalmonw opened this issue · comments

I've developed a Voice Assistant with active background listening at all times. But, whenever the assistant responds to any user query, the speech recognition picks up the Assistant's Speech as well, which is ruining my conversation flow for the assistant.

PS: I don't want to stop background listening for the time when the Assistant is talking and turn it back on afterwards.

Any help would really be appreciated. Thanks