Google tts details

I’m trying to find more info about what voices that can be used for google TTS service (https://home-assistant.io/components/tts.google/)

We can set the language per message like this:

  action:
    service: tts.google_say
    entity_id: media_player.speaker
    data_template:
      message: "Verbose mode is {{ states('input_boolean.verbosemode') }}!"
      language: 'en'

But is it possible to specify one of the english dialects aswell? What about male/female voices, speed and intonation?

I use the UK dialect but I set it at the component level rather than per instance:

tts:
  - platform: google
    language: 'en-uk'

Ooh, en-uk, thanks!

I tried the same using en-GB and en_GB yesterday (from the speech api)

If you dig into the code in the TTS component for Google (google.py), there’s a listing:

SUPPORT_LANGUAGES = [
    'af', 'sq', 'ar', 'hy', 'bn', 'ca', 'zh', 'zh-cn', 'zh-tw', 'zh-yue',
    'hr', 'cs', 'da', 'nl', 'en', 'en-au', 'en-uk', 'en-us', 'eo', 'fi',
    'fr', 'de', 'el', 'hi', 'hu', 'is', 'id', 'it', 'ja', 'ko', 'la', 'lv',
    'mk', 'no', 'pl', 'pt', 'pt-br', 'ro', 'ru', 'sr', 'sk', 'es', 'es-es',
    'es-us', 'sw', 'sv', 'ta', 'th', 'tr', 'vi', 'cy', 'uk',
2 Likes

I want a good “Canadian-French” TTS solution, is it possible to get the same voice of Google Home ? (because i really like it) tts.google component sound different of the actual Google Home voice.

1 Like

I’m in the same situation so if you find a way to make it sound like Google home or anything better than default French, please keep me posted. I’ll do the same if I find a solution.