[TTS services] Enhance doc to explain how to setup default voice (#12099)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo
2022-01-23 22:50:50 +01:00
committed by GitHub
parent d9c31e626a
commit 0166fdaee6
6 changed files with 82 additions and 4 deletions

View File

@@ -37,6 +37,22 @@ mactts:Yuna Yuna (ko_KR)
...
```
### 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 **macOS TTS** 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=mactts
org.openhab.voice:defaultVoice=mactts:Alex
```
## Supported Audio Formats
The MacTTS service produces audio streams using WAV containers and PCM (signed) codec with 16bit depth and 44.1kHz frequency.