This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Java Speech API: Changing the voice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java Speech API: Changing the voice" Watch "Java Speech API: Changing the voice" New topic
Author

Java Speech API: Changing the voice

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

Hi, please have a look at the following code, which I found in a book web site



I don't have the MBROLLA voices, so this code is not working (I tried to install mbrola, but that is not working too. The software is updated while the definition, documentation, guidance are not!). The only way to make this work is changing the voice to "kevin16" the default voice. Is there any way to set that voice to the previous application? I can do that by the following code,


but it destroyed the use of "Synthesizer " class which most of the examples are based. So, I must use the "Synthesizer " class to too because it is a good way to make my application powerful. Please help....


Are you better than me? Then please show me my mistakes..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Speech API: Changing the voice
 
Similar Threads
Unable to play sounds using FreeTTS
Memory footprint and Java Sound
out of memory error in simple app
speech
Help needed regarding jsapi