Step by Step guide to setup freetts for Java

By: Ryan Emailed: 1766 times Printed: 2513 times    

Latest comments
By: rohit kumar - how this program is work
By: Kirti - Hi..thx for the hadoop in
By: Spijker - I have altered the code a
By: ali mohammed - why we use the java in ne
By: ali mohammed - why we use the java in ne
By: mizhelle - when I exported the data
By: raul - no output as well, i'm ge
By: Rajesh - thanx very much...
By: Suindu De - Suppose we are executing

1. Run Jsapi.exe, say yes, to unpack jsapi.jar
2. Find your JRE directory, mine was C:\Program Files\Java\jdk1.6.0_03\jre\lib\ext
3. Copy all the Jars to that directory
4. Check in netbeans your projects properties ie right click on project->properties->libraries->manage platforms and the jars should be listed there. If they are not, restart and hopefully they should now be there.
5. Copy speech.properties to relevant folder, the example Helloworld will complain telling you which directory. Or you can set the property using:
System.setProperty("freetts.voices", "com.sun.speech.freetts.en.us.cmu_us_kal.KevinVoiceDirectory");


Java Home | All Java Tutorials | Latest Java Tutorials

Sponsored Links

If this tutorial doesn't answer your question, or you have a specific question, just ask an expert here. Post your question to get a direct answer.



Bookmark and Share

Comments(3)


1. View Comment

can i add new language for my freetts project ? I'm doind a project for Vietnamese text to speech . can you helpme?

View Tutorial          By: quanghuy2491987@yahoo.com at 2011-08-09 06:49:52
2. View Comment

What is the difference between:
CMUsphinx4-ttslib,
FreeTTS and
jsapi?


View Tutorial          By: Netrika at 2011-11-26 19:55:07
3. View Comment

where to copy the file " speech.properties"??

View Tutorial          By: Mohan at 2012-09-16 01:47:32

Your name (required):


Your email(required, will not be shown to the public):


Your sites URL (optional):


Your comments:



More Tutorials by Ryan
Advantages of Windows Azure
Step by Step guide to setup freetts for Java

More Tutorials in Java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Java File
Java String
Count number of vowels, consonants and digits in a String in Java
Reverse a number in Java
Student marks calculation program in Java
Handling Fractions in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
MultiLevel Inheritance sample in Java
Multiple Inheritance sample in Java
Java program using Method Overriding
Java program to check if user input is an even number

More Latest News
Most Viewed Articles (in Java )
Properties example in Java
Count number of vowels, consonants and digits in a String in Java
FileReader and FileWriter example program in Java
Vector example in Java
Step by Step guide to setup freetts for Java
Getting current time in Java for inserting to MySQL
The Unary Operators example in Java
Stack example in Java - push(), pop(), empty(), search()
clone() and the Cloneable Interface in Java
wait(), notify() and notifyAll() in Java - A tutorial
Method Overloading (function overloading) in Java
right shift operator, >>, in Java
String Concatenation using Java
Sample program to demonstrate the use of ActionListener
XML and Java - Parsing XML using Java Tutorial
Most Emailed Articles (in Java)
Converting a number into its equalant value in words in Java
Disadvantages of using Native methods in Java
What is UCS? What is ISO 10646?
java.lang.reflect package
Operator Precedence in Java
PushbackReader sample program in Java
concat(), replace(), and trim() Strings in Java
Use of - new - in Java
The Benefits of OOP
Increment and Decrement Operator
The continuing Revolution of java
Why java is important to the Internet
Multiple Inheritance sample in Java
HTTPS Java - URL Connection program. Using HttpsURLConnection
Using the AWS SDK for Java