admin管理员组文章数量:1404583
I'm using responsivevoice.js JavaScript library to listen to articles online. 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.
I'm using responsivevoice.js JavaScript library to listen to articles online. 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.
Share Improve this question edited Apr 30, 2015 at 20:32 mhlavacka asked Apr 30, 2015 at 20:20 mhlavackamhlavacka 70112 silver badges25 bronze badges 2- This is an interesting question. Have a look here, is this sort of what you're after? stackoverflow./questions/22560413/… – dmgig Commented Apr 30, 2015 at 20:26
- Thanks, seems really interesting. Going to dig into it.. – mhlavacka Commented Apr 30, 2015 at 20:35
1 Answer
Reset to default 4Use URL like: http://responsivevoice/responsivevoice/getvoice.php?t=Type%20text%20here&tl=en-US
This is the URL responsivevoice.js
used to read text.
Replace Type%20text%20here
with your own text.
<a href="javascript:var text=escape(prompt('Type text here: '));
window.location.href = 'http://responsivevoice/responsivevoice/getvoice.php?t='+ text +'&tl=en-US';" id="a">Play</a>
Try it: http://jsfiddle/017mfce0/
本文标签:
版权声明:本文标题:javascript - How to download speech (audio) created from text using Text-to-speech responsivevoice.js? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744839381a2627827.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论