I tried to send this to the sound dev mailing list
i30817 at gmail.com
Wed Feb 4 00:00:42 UTC 2009
But the "pending moderator approval" never happened.
I think there is a problem in the linux implementation of
It throws a line unavailable exception when trying to send data, not
on construction. Apparently its just each Line is saying that it
supports the AudioFormat when it does no such thing, leading to
innumerable exceptions when trying to use freetts in linux.
BTW is FreeTTS dead or undead? Seeing projects like acapela tts with
their much higher quality voices in many languages is slightly
depressing from my the java is the platform and native is taboo
I've recently tried to wrap freetts in a api, and it works ok on
windows, but not so very much in linux.
LINE UNAVAILABLE: Format is PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2
Looking at the code it appears that its because in launches the
exception, you guess it, LineUnavailableException. Now this is really
weird since i thought we were past those dark ages in which only one
system resource was available per application. Searching around in
google i found this:
And that is just wrong. I'm going to try to adapt his solution to
freetts, and i guess this would fix it, but can the sound team assure
me there are plans to fix this bug?
More information about the core-libs-dev