MaryTTS


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

Configuration

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

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

Configuration Variables

host

(string)(Optional)The MaryTTS server hostname or IP address.

Default value: localhost

port

(integer)(Optional)The MaryTTS server port.

Default value: 59125

codec

(string)(Optional)The audio codec. Supported codecs are aiff, au and wav.

Default value: wav

voice

(string)(Optional)The speaker voice.

Default value: cmu-slt-hsmm

language

(string)(Optional)The language to use. Supported languages are de, en-GB, en-US, fr, it, lb, ru, sv, te and tr.

Default value: en-US

See documentation for details.

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'