• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Who Know Speech Synthesizer??

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help me in how to start my Speech Synthesizer that can transforming text to computerized speech. I have no idea on how to start with this area and i wish to know where to get the tutorial and coding references.
THANK YOU SO MUCH....I'M GETTING BLUR NOW!
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kevin:
Thank you for your patience. I know that you have been trying to get this project together for as couple of weeks now. I did track down an article that I think should help you to get started.
I don't have mush experience with the speech API, but if you have any questions or problems after reading this article, feel free to post them here, and I or some of the other ranchers will gladly help out.
 
Kevin Ng
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear all,
I try to compile and run on the example codes that provides from the Internet but failed. The compiled results shows package javax.speech.synthesis does not exist...why le?? Cna someone tell me why?
 
Joel McNary
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you add the ibmjs.jar file to your classpath? The javax.speech packages are located in that jar file (SUN does not distribute them independantly...), so you will need to add that JAR file to find the package.
 
Kevin Ng
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Joel McNary,
I only know the ibmjs.jar file is needed after you reminded me. I had downloaded the ibmjs.jar file but i don't know how to set the path and classpath. Can you please show me the direction??
Thank you very much!
Regards,
BLUR, BLUR!
 
Joel McNary
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Assuming that you are using Windows, you can adjust the PATH and CLASSPATH environment settings by right-clicking on "My Computer" on the Desktop, select "Properties", select the "Advanced" tab, and select the "Environment variables" button.
Then you can add and/or edit the settings.
Alternatively, you can specify the classpath with the -classpath switch when running the java program. Not that this will override, not augment, the system CLASSPATH setting.
You will only need to adjust the PATH if you do not want to place the DLLs in the System's PATH. You could just put them in the C:\Windows\System32 (or C:\WINNT\System32, depending on your system) folder.
Hope that this helps.
 
Kevin Ng
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Joel McNary,
Sorry, i'm really disappointed you. I cannot run the sample speech program although i had set the PATH and CLASSPATH....
Regards,
Kevin Ng
 
Joel McNary
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What error are you getting? Have you tried running the sample "Hello" program that cames with the distribution?
 
Kevin Ng
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Joel McNary,
I got test the Hello sample....but got 17 errors.....Below are the steps...which is followed the readme doc.
First go to set my path and classpath under environment....path = c:\ibmjs\lib\ibmjs.jar .....and classpath = C:\ibmjs\lib
Second i execute install.bat to register the IBM engines with the system.
Third i run the Hello Ms Dos Batch File...and its shows the errors and close the dos...
SmSesQueryPhraseAlternatives: The specified procedure could not be found. <7f>
Anunexpected exception has been detected in native code outside the VM.
Unexpected Signal: EXCEPTION_ACCESS_VOILATION occured at PC = 0 X 0
Function=[Unknown.]
Library=<n/a>

instead of this i got try other sample but the same errors....
Thank you....
 
Joel McNary
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure that this is your problem, but you should switch your CLASSPATH and PATH settings. The CLASSPATH should include the .jar file, while the PATH should include the lib directory.
Personally, I get a different set of errors:

I hanv't played around with the actual code, though, so I don't know what's causeing this one. I'll let you know when I find out. Maybe someone else knows?
 
Kevin Ng
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Joel McNary,
Yup, these are my problems....
 
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guyz,
Sorry for intercepting in clean discussion. Is there any ready-made Text-To-Speech [TTS] Engine from SUN? Like Microsoft Speech SDK.
Bye,
Viki.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've used one called FreeTTS if that helps.. check it out in Google. It was pretty easy to get going.
Later
reply
    Bookmark Topic Watch Topic
  • New Topic