mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-11 07:32:11 +01:00
0166fdaee6
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
54 lines
1.5 KiB
Markdown
54 lines
1.5 KiB
Markdown
# Pico Text-to-Speech
|
|
|
|
## Overview
|
|
|
|
The Pico Text-to-Speech (TTS) service uses the TTS binary from SVOX for producing spoken text.
|
|
|
|
You manually need to install the pico2wave binary in order for this service to work correctly. You can,
|
|
e.g., install it with apt-get on an Ubuntu system:
|
|
|
|
```
|
|
sudo apt-get install libttspico-utils
|
|
```
|
|
|
|
In Arch Linux the pico2wave binaries are available in an Arch User repository (AUR) under
|
|
https://aur.archlinux.org/packages/svox-pico-bin/
|
|
|
|
## Configuration
|
|
|
|
There is no need to configure anything for this service.
|
|
|
|
## Voices
|
|
|
|
The following list are the only supported languages (as these are the languages supported by
|
|
pico2wave, see also [the documentation of the Debian package](https://packages.debian.org/de/wheezy/libttspico-utils)):
|
|
|
|
```
|
|
German (de-DE)
|
|
English, US (en-US)
|
|
English, GB (en-GB)
|
|
Spanish (es-ES)
|
|
French (fr-FR)
|
|
Italian (it-IT)
|
|
```
|
|
|
|
### Default Text-to-Speech and Voice Configuration
|
|
|
|
You can setup your preferred default Text-to-Speech and default voice in the UI:
|
|
|
|
* Go to **Settings**.
|
|
* Edit **System Services - Voice**.
|
|
* Set **PicoTTS** as **Default Text-to-Speech**.
|
|
* Choose your preferred **Default Voice** for your setup.
|
|
|
|
In case you would like to setup these settings via a text file, you can edit the file `runtime.cfg` in `$OPENHAB_ROOT/conf/services` and set the following entries:
|
|
|
|
```
|
|
org.openhab.voice:defaultTTS=picotts
|
|
org.openhab.voice:defaultVoice=picotts:frFR
|
|
```
|
|
|
|
## Supported Audio Formats
|
|
|
|
The Pico service produces audio streams using WAV containers and PCM (signed) codec with 16bit depth.
|