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
Add a ment  | 

1 Answer 1

Reset to default 4

Use 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/

本文标签: