简体   繁体   中英

How do you prevent a speech recognition system from recognizing its own speech synthesis in Windows IOT?

I am using Windows IOT (Windows Universal App) on a dragonboard along with Windows.Media.SpeechSynthesis and Windows.Media.SpeechRecognition.

The problem I am facing is that the Speech Synthesis is picked up by the SpeechRecognition of the system.

I do not want to disable the recognition while the text to speech is running since I have to keep the system in an 'always listening state', so I can accept commands even while it is talking.

Is there any Windows IOT class etc. that would prevent such a conflict? Or are there any other solutions that I could employ?

Thank you.

I create programs in winforms c#. When I use System.Speech, I always define System.Speech.Recognition and System.Speech.Synthesis. I have not tried it on a universal side. However, the only problem I have come to use example, Alexis.SpeakAsync("....."); Alexis is the name of one of my programs. I have never had any conflict between Recognition and Synthesis cross over.. This is an idea you can try if you have the System.Speech reference.

(add) you can always add a small piece of code I always use that mutes the microphone after so many seconds and you say a keyword for it to listen to commands.. This helpful when your talking to some one, the system will listen for the keyword then listen for commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM