Thursday, May 26, 2011

How can I use the Unofficial Google Text-To-Speech API in a GWT application?

Hi, I'm trying to use the Google TTS API (http://translate.google.com/
translate_tts?tl=en&q=text
") for my GWT application. This API give me
back an mp3 in a buffer that I have to play.

To play mp3 files I'm using GWT-Voices (http://code.google.com/p/gwt-
voices/
) that requires an URL of the mp3 file to play.

I use a servlet to do the GET request and receive the mp3 stream
buffer.

My application uses GAE, so I can't use FileOutputStream to generate
an mp3 temporary file on server side...

How can I play the mp3 that I have inside my buffer?

Thank you for your time and help!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment