jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.84k stars 462 forks source link

Support for AWS polly neural engine #866

Closed udondan closed 9 months ago

udondan commented 1 year ago

Adds support for selecting neural voices in AWS Polly. Instead of inventing a new setting, I encoded the info in the voice name, so it also can be used in the URLs without changing the URL format. This also kinda aligns with the format of Azure (e.g. JessaNeural)

Not sure what I should do about your package-lock.json. This feature requires an update of the aws-sdk, but since the package lock has not been updated for a while it's pretty much a rewrite after updating the package.

I removed the info in the README about AWS regions in which AWS Polly is supported, since it's not been updated since 2016 and therefore highly outdated. I assume we neither want to keep this list updated in future. 😸