B4J Question Text to Speech for B4J [SOLVED]

Tim Chapman

Active Member
Licensed User
Longtime User
I am having a devil of a time trying to get TTS to work for B4J.

I have been trying to follow the directions here:

I have followed the instructions down to step 4.
I have put all the jar files in the additional libraries\B4J folder.
But, I can't get any libraries to show up in the libraries list.
How do I do so?
 
Solution
I took another shot at this today.
I got it all to work.
I can't upload the complete zipped file here because the file is too large.
So, I uploaded it here: www.arrowantennas.com/jFreeTTS_B4J.zip

Voices are available here for different languages:
I uploaded 3 voices for the US in the zip file above. So if you want US English, you don't have to do anything but unzip the file.
Move the Archiver files to your additional libraries.
Put the jar files in your additional libraries\B4J folder.
I think that should do it. Please let me know if I have missed any steps in explaining it. It works on my computer.

teddybear

Well-Known Member
Licensed User
What is all jar files you said ? did you go FreeTTS to download those jars? what error message did you get?
 
Upvote 0

Daestrum

Expert
Licensed User
Longtime User
If they are jars without a corresponding xml file they will never show up in the libraries tab. Sounds like you need to have #AdditionalJar: lines added for the jars.
 
Upvote 0

Tim Chapman

Active Member
Licensed User
Longtime User
I took another shot at this today.
I got it all to work.
I can't upload the complete zipped file here because the file is too large.
So, I uploaded it here: www.arrowantennas.com/jFreeTTS_B4J.zip

Voices are available here for different languages:
I uploaded 3 voices for the US in the zip file above. So if you want US English, you don't have to do anything but unzip the file.
Move the Archiver files to your additional libraries.
Put the jar files in your additional libraries\B4J folder.
I think that should do it. Please let me know if I have missed any steps in explaining it. It works on my computer.
 
Upvote 0
Solution

Tim Chapman

Active Member
Licensed User
Longtime User
My previous upload had an error in the file structure for the us1, us2 and us3 voices. That is not fixed and a new upload has been placed. When you unzip a voice file, it can have two folders deep where it should have one. Objects\mbrola\us1\us1\... is incorrect. Objects\mbrola\us1\... is correct.
This is all taken care of in the zip file above. Also as of 8/27/2024, I replaced the zip file which I had accidentally removed from my website. It is now available again. Please let me know if you encounter problems.
 
Last edited:
Upvote 0
Top