Jump to content

Mute mic during text to speech?


Recommended Posts

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

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...