Using FreeTTS in a web application

依然范特西╮ 提交于 2020-01-16 00:45:13

问题


I'm building a web application using HTML and JSP. One of the functionality which provided is converting some texts to speech. In netbeans, I created a Java project, this project contains a Java applet offers the speech task, this applet uses FreeTTS (external JAR file), and it works fine. So after building this project, I added its JAR to the web project, for embedding the applet within the web. Now, the problem the applet doesn't work from the website, but it works standalone. Please I need your help to fix this issue.


回答1:


The FreeTTS developers recommend against using it in an applet, and suggest deploying it via Web Start instead. If it does indeed work fine standalone, that should fix your problem.

If you can't use Web Start, you could consider moving the audio generation to the server and running FreeTTS there.



来源:https://stackoverflow.com/questions/19753936/using-freetts-in-a-web-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!