Step by Step guide to setup freetts for Java
By: Ryan
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");
Archived Comments
1. where to copy the file " speech.properties"??
View Tutorial By: Mohan at 2012-09-16 01:47:32
2. What is the difference between:
CMUsphinx4-ttslib,
FreeTTS and
jsapi?
View Tutorial By: Netrika at 2011-11-26 19:55:07
3. can i add new language for my freetts project ? I'm doind a project for Vietnamese text to speech .
View Tutorial By: [email protected] at 2011-08-09 06:49:52
Comment on this tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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