• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Speech API: Changing the voice

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic