MaryTTS


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

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

# Example configuration.yaml entry
tts:
  - platform: marytts
    host: 'localhost'
    port: 59125

Configuration variables:

  • host (Optional): MaryTTS server hostname or IP address. Default is localhost.
  • port (Optional): MaryTTS server port. Default is 59125.
  • codec (Optional): Audio codec. Default is wav. Supported are aiff, au, wav.
  • voice (Optional): Speaker voice. Default is cmu-slt-hsmm.
  • language (Optional): Language to use. Default is en-US. Supports ‘de’, ‘en-GB’, ‘en-US’, ‘fr’, ‘it’, ‘lb’, ‘ru’, ‘sv’, ‘te’, ‘tr’.

See documentation for details.

A full configuration sample:

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