VoiceRSS


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

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

# Example configuration.yaml entry
tts:
  - platform: voicerss
    api_key: 'XXXXXXXX'

Configuration variables:

  • api_key (Requered): API Key for use this service.
  • language (Optional): The language to use. Defaults to en-us.
  • codec (Optional): Audo codec. Default is ‘mp3’.
  • format (Optional): Audio sample format. Default is ‘8khz_8bit_mono’

See on api documentation for allow values.

A full configuration sample:

# Example configuration.yaml entry
tts:
  - platform: voicerss
    api_key: 'XXXXX'
    language: 'de-de'
    codec: mp3
    format: 8khz_8bit_mono

Please note, some media_players require a certain format. For example the Sonos requires a format of ‘44khz_16bit_stereo’