Pico Text-to-Speech


The picotts text-to-speech platform uses offline pico Text-to-Speech engine to read a text with natural sounding voices. This requires to install the pico tts library on the system, typically on debian just do sudo apt-get install libttspico-utils On some Raspbian release, this package is missing but you can just copy the arm deb package from debian.

On Debian Buster, the package is missing, use the following commands to install it:

wget http://ftp.us.debian.org/debian/pool/non-free/s/svox/libttspico0_1.0+git20130326-9_armhf.deb
wget http://ftp.us.debian.org/debian/pool/non-free/s/svox/libttspico-utils_1.0+git20130326-9_armhf.deb
sudo apt-get install -f ./libttspico0_1.0+git20130326-9_armhf.deb ./libttspico-utils_1.0+git20130326-9_armhf.deb

Configuration

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

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

Configuration Variables

language

(string)(Optional)

The language to use. Supported languages are en-US, en-GB, de-DE, es-ES, fr-FR and it-IT.

Default value:

en-US

Full configuration example

The configuration sample below shows how an entry can look like:

# Example configuration.yaml entry
tts:
  - platform: picotts
    language: 'fr-FR'