Sign in to follow this  
Hawkblood

Text to speech

Recommended Posts

I want to add text-to-speech to my game. I searched for some downloads (microsoft), but I haven't been able to find anything that works without making my game pause as it speaks. As you can imagine, this is a problem. Does anyone have a solution? Free is best......

Share this post


Link to post
Share on other sites

The Microsoft SAPI TTS engine can pause, but it doesn't need to.

 

Set the SPF_ASYNC flag to cause the functions work asynchronously.  (That means they run in the background and don't stall your app.)  You will need to properly handle the asynchronous events as they come through which usually isn't too hard to do.

Share this post


Link to post
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

Sign in to follow this