I tried to send this to the sound dev mailing list (original) (raw)
Paulo Levi i30817 at gmail.com
Wed Feb 4 00:00:42 UTC 2009
- Previous message: hg: jdk7/tl/jdk: 2 new changesets
- Next message: I tried to send this to the sound dev mailing list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
But the "pending moderator approval" never happened.
I think there is a problem in the linux implementation of javax.sound.sampled.AudioSystem.getLine(DataLine.Info info);
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 mindset.
Original message:
I've recently tried to wrap freetts in a api, and it works ok on windows, but not so very much in linux. It outputs: LINE UNAVAILABLE: Format is PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian
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:
http://forums.sun.com/thread.jspa?threadID=5189363
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?
- Previous message: hg: jdk7/tl/jdk: 2 new changesets
- Next message: I tried to send this to the sound dev mailing list
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]