Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chromecast TTS use google real api with wavenet voices! #346

Open
jonaz opened this issue Jan 13, 2022 · 0 comments
Open

chromecast TTS use google real api with wavenet voices! #346

jonaz opened this issue Jan 13, 2022 · 0 comments

Comments

@jonaz
Copy link
Member

jonaz commented Jan 13, 2022

https://cloud.google.com/text-to-speech/docs/libraries#client-libraries-install-go

https://cloud.google.com/text-to-speech/docs/reference/rest/v1/text/synthesize#AudioEncoding

from the demo:

will need service account configured in the chromecast node for this to work.

https://texttospeech.googleapis.com/v1beta1/text:synthesize

{
  "audioConfig": {
    "audioEncoding": "LINEAR16",
    "pitch": 0,
    "speakingRate": 1
  },
  "input": {
    "text": "testar på svenska"
  },
  "voice": {
    "languageCode": "sv-SE",
    "name": "sv-SE-Wavenet-B"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant