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.