codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:



Home » JAVA » Article

Java Speech Synthesizer

Article by: David Barron (10/7/2002)
Bookmark us now! Add to Favourites
Email a friend!Tell a friend
Sponsored by: FindMyHosting - Web Hosting Search
Summary: Small and simple. Type a sentence and press enter and your computer will speek to you.
Viewed: 20217 times Rating (43 votes): 
 3.4 out of 5
 Rate this Article  Read Comments  Post Comments

Java Speech Synthesizer



Download Now (2KB) Small and simple. Type a sentence and press enter and your computer will speek to you.

It requires a speech engine that implements JSAPI and include links to some that work great.

Full source code included




CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
Rate this article:     Poor Excellent
View highlighted Comments
User Comments on 'Java Speech Synthesizer'
Posted by :  Archive Import (venu) at 03:01 on Tuesday, October 29, 2002
hello i have downloaded speech (java file) and when i compile its getting
compiler error saying that
"package javax.speech does not exist
import javax.speech.AudioException;"
what should i have to set in the classpath to get it..??
thanx for the help.
venu

Posted by :  Archive Import (Jude) at 18:40 on Sunday, November 10, 2002
I successfully compiled the application but when I tried to run it, I got error message. I then stepped through the code and found that the error occurs on the following line
"javax.speech.EngineList elist = Central.availableSynthesizers(null);"
The elist variable is empty after executing the line. How can I make Synthesizers available on the system?
Posted by :  Archive Import (jane) at 18:21 on Thursday, November 28, 2002
It works!!!
Wish it had some documentation on how the code works.
Posted by :  Archive Import (vaishnavi) at 03:02 on Monday, December 23, 2002
i am not able to open.
please help
Posted by :  Archive Import (jeyaram) at 07:27 on Monday, December 23, 2002
the code is encrypted,i cannot understand it,help me.
Posted by :  Archive Import (RAJA KUMAR) at 02:50 on Monday, December 30, 2002
It is very helpful to develop new projects in this area.thanks for your service.
Posted by :  Archive Import (Mr Irrelevent) at 21:37 on Friday, January 10, 2003
I like pumpkin soup

Seriously though. Thanks for the cool code.
Posted by :  Archive Import (Surya ) at 05:23 on Monday, January 27, 2003
I installed Microsoft Speech Engine, but still the Synthesizer is null and it throws exception. what to do????
Posted by :  Archive Import (Surya ) at 05:28 on Monday, January 27, 2003
I installed Microsoft Speech Engine, but still the Synthesizer is null and it throws exception. what to do????
Posted by :  Archive Import (Oleg) at 16:16 on Tuesday, February 25, 2003
Can someone send my javax.speech.synthesis Package?
Think you
Posted by :  Archive Import (Charles) at 21:37 on Friday, March 07, 2003
The artcle states:
It requires a speech engine that implements JSAPI and include links to some that work great.

There were no links in the JavaVoice.java zip file that I could see.

See: http://freetts.sourceforge.net/docs/index.php

for the one developed by sun and referenced from their javax.speech site.
The time voice with freetts is very clear.

The code looks great.
Posted by :  Archive Import (Olly) at 16:11 on Sunday, March 16, 2003
It says that the zip file is corrupt
Posted by :  Archive Import (hanlynnkyaw) at 23:38 on Friday, August 08, 2003
when i run the program, the error msg reads "run time error..Ioexception.."..How am i going to proceed?
Posted by :  Archive Import (Sumit) at 13:08 on Tuesday, August 12, 2003
I am interested in this package
i am also doing roject on seech recognition and i want to do it in java
so i need it.
Posted by :  Archive Import (Sumit) at 13:11 on Tuesday, August 12, 2003
I am interested in this package
i am also doing roject on seech recognition and i want to do it in java
so i need it.
Posted by :  Archive Import (Ravikanth) at 01:16 on Thursday, September 11, 2003
Even though i downloaded many of the text to speech engines from net and installed them .No engine is still available to my application , i am running out of time , i need to complete my academic project,can any one please help me in this regard .
Posted by :  mitesh at 15:59 on Tuesday, October 21, 2003
i can't open file
please tell me in which i open this good program
Posted by :  voice at 07:42 on Thursday, January 06, 2005
pls help mi this code is very important to me.. i dl already but then i compile got error... it said package javax.speech does not exist ..i keep on have this error ..y is this so? pls help mi every1
Posted by :  voice at 07:43 on Thursday, January 06, 2005
hi jane how do u get it work pls help mi!!!!
Posted by :  younesnadir at 21:44 on Tuesday, November 01, 2005
I have the same problem as "venu"
" javax.speech does not exist
javax.speech.AudioException;"
is there anyone who can tell me from where can I download Speech api. thanks


To post comments you need to become a member. If you are already a member, please log in .

 



RELATED ARTICLES
A simple way to JTable
by Kanad Deshpande
Many face trouble while dealing with JTable. Here is simplest way to handle JTable.
Java MP3 Player
by David Barron
A fully functioning MP3 Player with complete source code available for download
Understanding Hibernate ORM for Java/J2EE
by Saritha.S.V
Hibernate is the most popular and most complete open source object/relational mapping solution for Java environments.Hibernate's goal is to relieve the developer from 95 percent of common data persistence related programming tasks.
ID Verification using JSP
by Nouman Rashid
One of the most important parts of web development is to make sure that only authorized users get access to certain areas of the site. This tutorial takes a look at various steps involved in making JSP pages which validate a user ID and password from a MS Access database which contains the username and password.
Java Native Interface (JNI)
by Kanad Deshpande
Java Native Interface (JNI) is one of the intersting interface by java By using Java Native Interface (JNI) you can operate with other applications and libraries.
Login codes with JSP,JavaBean from mySQL database
by Prakash
my problem is can i have the code to login with the username and password using JSP and JavaBean/Servlets from mySQL database.When the user enters the username and password in the login page then it will go to the requested site.How to do it?
Java Speech Synthesizer
by David Barron
Small and simple. Type a sentence and press enter and your computer will speek to you.
simple Java Development Environment
by David Barron
Program in JAVA with ease, using this development environment, or adapt it to your own needs.
Turn EJB components into Web services
by Krunal J Patel
Web services have become the de facto standard for communication among applications. J2EE 1.4 allows stateless Enterprise JavaBeans (EJB) components to be exposed as Web services via a JAX-RPC (Java API for XML Remote Procedure Call) endpoint, allowing EJB applications to be exposed as Web services. This article presents a brief introduction to JAX-RPC, outlines the steps for exposing a stateless session bean as a Web service, and provides the best practices for exposing EJB components as Web services
CORBA Technology
by Krunal Patel
CORBA defines an architecture for distributed objects. The basic CORBA paradigm is that of a request for services of a distributed object. Everything else defined by the OMG is in terms of this basic paradigm.








Recent Forum Threads
• Javascript problem with document.write and accented characters
• Re: sorting and Linked list
• Re: need help linked list
• Re: Help with arrays
• Re: Reading from a file
• Re: Why Use Method?
• Re: Help with a simple program
• Re: need help with quiz
• Re: Help with filesystem object & displaying in a table


Recent Articles
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net
Creating CSS Buttons


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005