Closed svrooij closed 10 years ago
Aah, yeah. Looks like Google have either changed URL or removed their TTS service :crying_cat_face:
It seams like there is a problem with sonos. They changed something, the url can't have a %20 or a +
so i made a php script that just redirects to some other TTS I found (think it could be google as well) VoiceRSS (http://www.voicerss.org/api/documentation.aspx)
use the url http://i872953.iris.fhict.nl/speech/en-us_text.mp3 and replace all the spaces in the text with _ like http://i872953.iris.fhict.nl/speech/en-us_Ben_evens_made_a_nice_node_library_for_sonos.mp3
Sweet! Looking at the code it wasn't properly converted from coffeescript but still the Google service seems down unfortunately. I'm more than happy to use a different provider such as your API. If you could send in a pull request it would be greatly appreciated.
Kindly fixed by @svrooij in pull-request #17
It seams like google blocked sonos devices. If I try to run this example then it gives back an 500 error