Questions tagged [freetts]

an open source speech synthesis system, an implementation of Sun's Java Speech API (Wikipedia)

75 questions
9
votes
3 answers

FreeTTS no audio linux ubuntu - no errors

I am running Ubuntu 10.10 using Java 6 and can not get FreeTTS to output any audio. I have tried it now on 3 different computers and even asked a buddy of mine to try it on his Ubuntu PC and he had the same problem. There is absolutly no errors that…
John
  • 236
  • 1
  • 4
  • 11
9
votes
1 answer

HTML5 Speech Synthesis API voice/languages support

I'm trying to use speech synthesis in html5 to talk messages in Arabic however, it is not working. I run the following script in to check languages supported by chrome and Arabic isn't one of them. window.addEventListener("DOMContentLoaded",…
ElSS
  • 329
  • 5
  • 16
6
votes
4 answers

Java FreeTTS missing Voice

I wrote a small program, which should simply do a text-to-speach in Java. My Class looks like this: import com.sun.speech.freetts.Voice; import com.sun.speech.freetts.VoiceManager; public class TalkResource { private static final String…
DasSaffe
  • 2,080
  • 1
  • 28
  • 67
5
votes
0 answers

Java: How do I change my audio output device from the default?

So I'm working with text to speech. I need to have it play out on a specific line (over my tv instead of over the default headphones). I managed to read the devices and grab the correct line with static void printAllMixerNames() { …
user1028872
  • 349
  • 4
  • 15
5
votes
1 answer

Detect end of Speak in freeTTS for java

I am using freeTTS library for converting text to speech. I am able to program my code using this library where i can play the speech for a particular text using following code: Voice voice = VoiceManager.getInstance().getVoice("kevin16"); if (voice…
mudit
  • 25,306
  • 32
  • 90
  • 132
4
votes
3 answers

MBROLA voices with FreeTTS - Windows

Using MBROLA voices in a Java program with FreeTTS... I am working on a simple text-to-speech program in Java. I have decided to use FreeTTS, but the voices are not really what I was thinking, and I was looking to use a female voice anyway. So I…
MadCharlie
  • 259
  • 1
  • 4
  • 12
3
votes
0 answers

Problem in using the freetts for java in linux

i am not able to run the demo of the freetts library in my system. I have posted this on the forum of freetts but haven't got any reply yet. I am trying to run the HelloWorld demo, When i am running the following command, ant -find demo.xml i am…
pranay
  • 2,339
  • 9
  • 35
  • 58
3
votes
1 answer

add new voices to freeTTS other than us voices

I am working on a speech recognition project, therefore I need to have audio files for more than thousands of words. I have done everything correctly in order to use Mbrola voices in FreeTTS but I can only use us1,us2,us3. It doesn't recognize any…
3
votes
2 answers

How to change voice in FreeTTS - Java

I am running a program in java in which i use FreeTTS Voices, what i want is to change the voice. when i run the program it shows: "System property "mbrola.base" is undefined. Will not use MBROLA voices." I use the following code to speak up…
user2855313
3
votes
0 answers

Mbrola.base is undefined

I am trying to use the Freetts text to speech api.I have included all the jar files into my project.I have also copied the speech.properties file into home folder.But I am getting an error System property mbrola.base undefined.Will not use mbrola…
ayushman999
  • 511
  • 3
  • 6
  • 16
2
votes
1 answer

FreeTTS voice no output Raspberry PI bluetooth speaker

Have a simple program running on Raspberry PI. When hooked up to monitor with speakers I can get the voice speaking through the HDMI speakers. However, I want the voice to output through bluetooth speakers. The connected bluetooth speakers play when…
SuperPrograman
  • 1,814
  • 17
  • 24
2
votes
1 answer

How to fix error "cannot be cast to com.sun.speech.freetts.VoiceDirectory"?

Im trying to use FreeTTS in my java program (from https://freetts.sourceforge.io/docs/index.php) and I am getting this error: java.lang.ClassCastException: com.sun.speech.freetts.en.us.cmu_time_awb.AlanVoiceDirectory cannot be cast to…
user10473409
2
votes
1 answer

Freetts is not working with external speakers

I have used Freetts.jar file in my java application that announces the token number. My application is working perfectly in my laptop but is not working in my desktop that has an external speaker. I get a null pointer exception. NOTE: I use Windows…
Kumar
  • 110
  • 14
2
votes
0 answers

mbrola voice throws ProcessException "No audio data read" on linux CentOS

I am using mbrola voice (us1) on CentOS. I am trying to save the audio as wav file. But at the line (in bold below) - voice.speak(), it throws an exception ProcessException "No audio data read". It works fine when I run it on windows environment…
Amit
  • 1,642
  • 2
  • 13
  • 22
2
votes
1 answer

FreeTTS hanging in ColdFusion 8 / Java

I'm looking into setting up a text-to-speech interpreter to make our CAPTCHA challenges ADA compliant. We're a ColdFusion shop, and Ray Camden's already done the proof of concept for this last year. I've been using his blog post here -…
Eric Kolb
  • 996
  • 6
  • 9
1
2 3 4 5