home-assistant.io/source/_components/tts.marytts.markdown
2018-10-23 10:46:03 +02:00

1.6 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_release
page MaryTTS Instructions on how to setup MaryTTS with Home Assistant. 2017-04-08 16:49 true false true true marytts.png Text-to-speech 0.43

The marytts text-to-speech platform uses MaryTTS Text-to-Speech engine to read a text with natural sounding voices.

{% linkable_title Configuration %}

To enable text-to-speech with MaryTTS, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
tts:
  - platform: marytts

{% configuration %} host: description: The MaryTTS server hostname or IP address. required: false type: string default: localhost port: description: The MaryTTS server port. required: false type: integer default: 59125 codec: description: "The audio codec. Supported codecs are aiff, au and wav." required: false type: string default: "wav" voice: description: The speaker voice. required: false type: string default: "cmu-slt-hsmm" language: description: "The language to use. Supported languages are de, en-GB, en-US, fr, it, lb, ru, sv, te and tr." required: false type: string default: "en-US" {% endconfiguration %}

See documentation for details.

{% linkable_title Full configuration example %}

A full configuration sample including optional variables:

# Example configuration.yaml entry
tts:
  - platform: marytts
    host: 'localhost'
    port: 59125
    codec: 'wav'
    voice: 'cmu-slt-hsmm'
    language: 'en-US'