First of all, hello!
I am building a speech recognition system, and I ran into a problem. I am using speakers, so whenever the program replies to my question, it processes the words it hears from the microphone and ends up replying again, and again, going into an infinite loop.
My question is, how can I do it such that it stops listening to the microphone while it replies? Or maybe, listen but don't process unless the word I say is "stop" ?
Thank you in advance!
Should it be needed, I will upload my code as well.
I am building a speech recognition system, and I ran into a problem. I am using speakers, so whenever the program replies to my question, it processes the words it hears from the microphone and ends up replying again, and again, going into an infinite loop.
My question is, how can I do it such that it stops listening to the microphone while it replies? Or maybe, listen but don't process unless the word I say is "stop" ?
Thank you in advance!
Should it be needed, I will upload my code as well.