在Web应用程序中使用的FreeTTS [英] Using FreeTTS in a web application

查看:438
本文介绍了在Web应用程序中使用的FreeTTS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立使用HTML和JSP的Web应用程序。一,其中对被转换一些文本到语音的功能。在NetBeans中,我创建了一个Java项目,该项目包含了Java小程序提供语音任务,这个小程序使用的FreeTTS(外部JAR文件),并能正常工作。所以建立这个项目之后,我添加它的JAR到Web项目,为网络中嵌入的小程序。
现在,这个问题在小程序不会从网站工作,但它的工作原理独立。
请我需要你的帮助来解决这个问题。

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.

推荐答案

该开发商的FreeTTS 推荐针对一个applet 使用它,并建议通过Web部署它,而不是开始。如果它确实做工精细的独立,这应该解决您的问题。

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.

如果您不能使用Web Start的,你可以考虑将音频一代的服务器和运行存在的FreeTTS

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

这篇关于在Web应用程序中使用的FreeTTS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆