Mirage Engine
Getting speech into your program (SAPI) - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Getting speech into your program (SAPI) (/showthread.php?tid=313)



Getting speech into your program (SAPI) - pingu - 17-09-2006

I've made a little sample project that shows how easy it is to get Microsoft Sam saying whatever you want. The download includes a program I made and code for it.

I don't think I can tell you how endless the possibilities are when you can have the program say whatever you want it to say with one call. I'd like to see somebody use this in the near future for their game...


Notice, I'm linking to the Elysium download page only because I want to keep track of how many people download it.

Download here


Have fun with it!


- Matt - 17-09-2006

Hm, is it possible to use a different voice with this, when needed? Cause, imo, MS Sam sounds cheap. Lol.

Just an idea/question.


- pingu - 17-09-2006

Microsoft Mike and Microsoft Mary are free to download.

http://www.microsoft.com/downloads/deta ... laylang=en

It says that downloading "Sp5TTIntXP.exe" only will get you the two voices, but I couldn't figure out how to install them so I just downloaded the whole SDK.

Note, my test program doesn't like changing voices with the combo box, so you'll have to do this if you want a new voice for your program:
Code:
Set Voice.Voice = Voice.GetVoices("Name=Microsoft Mary").Item(0)