Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

speech

 
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
 
Rancher
Posts: 43016
76
  • 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.
 
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..
 
permaculture is giving a gift to your future self. After reading this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic