Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Mute mic during text to speech?

$
0
0

Hello, is there a way to mute the microphone while text to speech is speaking?

Basically I'm using a program that provides voice responses to commands. 

The problem is that when it speaks, it also hears it's speech and tries to execute commands.

I put together something very simple that will mute/unmute the microphone, but it's time based which means I'll have to create quite a few different timers.

Is there a way to monitor tts or sapi to get that time?

 

This is what I have now.

 

Send("{CTRLDOWN}{LWIN}{CTRLUP}")
Sleep(10000)
Send("{CTRLDOWN}{LWIN}{CTRLUP}")
 
I tried searching but I don't think I'm asking the question right. lol
I'm a hardware guy so this is a little out of my zone.
Thanks

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>