ok, I made a couple changes...
I included all the jar files that come with the FreeTTS
I made a manifest file which looks like this
I included these jar files when I compiled
Class-Path: jsapi.jar freetts.jar cmudict04.jar cmulex.jar cmu_time_awb.jar cmutimelex.jar en_us.jar freetts-jsapi10.jar cmu_us_kal.jar
Created-By: 1.4 (Sun Microsystems Inc.)
In order to use the Manifest file I created a jar file with this line
javac -cp cmudict04.jar:cmulex.jar:cmu_time_awb.jar:cmutimel ex.jar:cmu_us_kal.jar:en_us.jar:freetts.jar:freett s-jsapi10.jar:jsapi.jar HelloWorld.java
I tried to execute the code using this command
jar cmf MANIFEST.MF HelloWorld.jar HelloWorld.class cmudict04.jar cmulex.jar cmu_time_awb.jar cmutimelex.jar cmu_us_kal.jar en_us.jar freetts.jar freetts-jsapi10.jar jsapi.jar
I don't get any errors this time, but the program simply hangs. I give it a few minutes, but there is no audio and I have to use Ctrl-C to stop the program.
java -Dmbrola.base=mbrola -jar HelloWorld.jar
specs on the machine I am currently using for this:
HP Pavilion dv5223om laptop
1.8GHz AMD Turion
...its a few years old, but it should be able to run this without too much trouble.
I also used both
but I didn't notice and difference
Any ideas why this would hang or what needs to be changed?