• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

speech

 
Amod Gupta
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying to add speech synthesis to my application.I am using freetts to convert text to speech.till here everything is fine.Now to use a new voice I am using MBROLA VOICES.When I am using the included example in form of a jar file,it is executing fine,but if I try to execute the class file or any of my files then i get the following error:
COULD not validate any MBlora voices at ./mblora
and also could not find the voice named mblora_us1.please specify a different voice.
Now what i cant figure out is if examples are working fine what is the problem with class files.The code i am using is:


Also bin contains mbrola folder containing voices us1,us3.
please help.
 
Amod Gupta
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
also can someone help me with this exception:
Processing Utterance: com.sun.speech.freetts.ProcessException: Cannot start mbrola program: [Ljava.lang.String;@911f71
this is where i reached trying to solve my problem
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seeing a full stack trace, along with a description of the related files and directory layout would help. Also, what are the specific differences between "When I am using the included example in form of a jar file" and "if I try to execute the class file or any of my files" - post the commands you're using and all pertinent information.
 
Amod Gupta
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Ulf Dittmer but finally i managed to solve the problem,it was because of the directory in which the mbrola database files were kept.
 
John JohanssonJohn
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have the exactly same problem and can't find any logic in it..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic