• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

speech

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
have the exactly same problem and can't find any logic in it..
 
pie. tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic