[英]How to download speech (audio) created from text using Text-to-speech responsivevoice.js?
I'm using responsivevoice.js JavaScript library to listen to articles online. 我正在使用responsivevoice.js JavaScript库来在线收听文章。 It's the best free Text-to-speech I found, better then lots of paid ones I tried, but I need to download the audio as well and I have no idea on how to do that.
这是我发现的最好的免费文本转语音,比我尝试的许多付费更好,但我也需要下载音频,我不知道如何做到这一点。 Any ideas on how could I do that ?
关于我怎么能这样做的任何想法? Or is there any other good Text-to-speech, with unlimited characters and download capabilities ?
或者是否还有其他优秀的文字转语音,具有无限的字符和下载功能?
I made a quick demo to better illustrate the situation. 我做了一个快速演示,以更好地说明情况。
Use URL like: http://responsivevoice.org/responsivevoice/getvoice.php?t=Type%20text%20here&tl=en-US
使用以下网址:
http://responsivevoice.org/responsivevoice/getvoice.php?t=Type%20text%20here&tl=en-US
: http://responsivevoice.org/responsivevoice/getvoice.php?t=Type%20text%20here&tl=en-US
This is the URL responsivevoice.js
used to read text. 这是用于读取文本的URL
responsivevoice.js
。 Replace Type%20text%20here
with your own text. 使用您自己的文本替换
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>
Try it: http://jsfiddle.net/017mfce0/ 试一试: http : //jsfiddle.net/017mfce0/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.