我正在使用responsivevoice.js JavaScript库在线收听文章。这是我发现的最好的免费文本到语音转换,比我试过的许多付费的要好,但我也需要下载音频,我不知道如何做到这一点。我该怎么做,有什么想法吗?或者,有没有其他好的文本到语音转换,具有无限的字符和下载功能?
为了更好地说明这种情况,我制作了一个quick demo。
发布于 2015-08-26 21:41:38
像这样使用URL:http://responsivevoice.org/responsivevoice/getvoice.php?t=Type%20text%20here&tl=en-US
这是用于读取文本的URL responsivevoice.js。将Type%20text%20here替换为您自己的文本。
<a href="javascript:var text=escape(prompt('Type text here: '));
window.location.href = 'http://responsivevoice.org/responsivevoice/getvoice.php?t='+ text +'&tl=en-US';" id="a">Play</a>https://stackoverflow.com/questions/29977093
复制相似问题