Error getting sound
See original GitHub issueI am trying to add text to speech to my website but keep getting this error
GET http://translate.google.com/translate_tts?ie=UTF-8&tl=en&q=Ask%20Again&textlen=9&idx=0&total=1 404 (Not Found)
If it matters, I am using Ruby and Sinatra and this is the javascript code
<script type="text/javascript" src="https://rawgithub.com/hiddentao/google-tts/master/google-tts.min.js"></script>
<script>
var tts = new GoogleTTS();
tts.play("<%=@message%>", "en")
</script>
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
DxDiag Error: Problem Getting Extra Sound Info & Windows App
Right-click the Windows key and select Device Manager. · Expand Sound, video and game controllers. · Right-click your sound card and click ...
Read more >Windows 10: DxDiag Error: Problem Getting Extra Sound Info
Right-click the Windows key and select Device Manager. · Expand Sound, video and game controllers. · Right-click your sound card and click
Read more >Audio Not Working in Windows 10? 9 Ways to Fix Sound ...
1. Check Volume Levels and Muted Outputs · 2. Make Sure You're Using the Right Audio Output · 3. Check All Audio Cables...
Read more >Troubleshoot audio and video issues on your computer or ...
Android: To ensure that audio isn't being sent to the headphone jack, plug headphones in, and then unplug them. If the problem persists,...
Read more >"No Audio Output Device is Installed" Error Windows 10
For a hassle free solution to solve your driver issue, you can just download Driver Support which will scan your computer to detect...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Today, I tried to test the project but I receive this http message:
When JS generate this address: http://translate.google.com/translate_tts?ie=UTF-8&tl=es&q=demo&textlen=4&idx=0&total=1
google redirect to the following url:
Is a particular problem with me?
Juan Antonio
A token
tk
is required in the current API version.https://translate.google.com.hk/translate_tts?ie=UTF-8&q=%E6%B8%AC%E8%A9%A6&tl=zh-yue&total=1&idx=0&textlen=2&tk=395724.20302&client=t&ttsspeed=0.24