mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[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:
parent
d9c31e626a
commit
0166fdaee6
@ -64,11 +64,18 @@ org.openhab.voice.googletts:speakingRate=1
|
|||||||
org.openhab.voice.googletts:purgeCache=false
|
org.openhab.voice.googletts:purgeCache=false
|
||||||
```
|
```
|
||||||
|
|
||||||
## Voice Configuration
|
### Default Text-to-Speech and Voice Configuration
|
||||||
|
|
||||||
Using your favorite configuration UI:
|
You can setup your preferred default Text-to-Speech and default voice in the UI:
|
||||||
|
|
||||||
* Go to **Settings**.
|
* Go to **Settings**.
|
||||||
* Edit **System Services - Voice**.
|
* Edit **System Services - Voice**.
|
||||||
* Set **Google Cloud** as **Default Text-to-Speech**.
|
* Set **Google Cloud** as **Default Text-to-Speech**.
|
||||||
* Choose your preferred **Default Voice** for your setup.
|
* 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=googletts
|
||||||
|
org.openhab.voice:defaultVoice=googletts:XXX
|
||||||
|
```
|
||||||
|
@ -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
|
## Supported Audio Formats
|
||||||
|
|
||||||
The MacTTS service produces audio streams using WAV containers and PCM (signed) codec with 16bit depth and 44.1kHz frequency.
|
The MacTTS service produces audio streams using WAV containers and PCM (signed) codec with 16bit depth and 44.1kHz frequency.
|
||||||
|
@ -21,6 +21,22 @@ marytts:bits3hsmm bits3-hsmm (de)
|
|||||||
marytts:bits1hsmm bits1-hsmm (de)
|
marytts:bits1hsmm bits1-hsmm (de)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 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 **MaryTTS** 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=marytts
|
||||||
|
org.openhab.voice:defaultVoice=marytts:cmuslthsmm
|
||||||
|
```
|
||||||
|
|
||||||
## Supported Audio Formats
|
## Supported Audio Formats
|
||||||
|
|
||||||
The MaryTTS service produces audio streams using WAV containers and PCM (signed) codec with 16bit depth.
|
The MaryTTS service produces audio streams using WAV containers and PCM (signed) codec with 16bit depth.
|
||||||
|
@ -32,6 +32,22 @@ French (fr-FR)
|
|||||||
Italian (it-IT)
|
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
|
## Supported Audio Formats
|
||||||
|
|
||||||
The Pico service produces audio streams using WAV containers and PCM (signed) codec with 16bit depth.
|
The Pico service produces audio streams using WAV containers and PCM (signed) codec with 16bit depth.
|
||||||
|
@ -55,6 +55,22 @@ org.openhab.voice.pollytts:cacheExpiration=0
|
|||||||
org.openhab.voice.pollytts:audioFormat=default
|
org.openhab.voice.pollytts:audioFormat=default
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 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 **PollyTTS** 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=pollytts
|
||||||
|
org.openhab.voice:defaultVoice=pollytts:XXX
|
||||||
|
```
|
||||||
|
|
||||||
## Rule Examples
|
## Rule Examples
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -146,15 +146,22 @@ It supports the following voices (depending on language):
|
|||||||
* Omer (Turkish)
|
* Omer (Turkish)
|
||||||
* Chi (Vietnamese)
|
* Chi (Vietnamese)
|
||||||
|
|
||||||
### Voice Configuration
|
### Default Text-to-Speech and Voice Configuration
|
||||||
|
|
||||||
You can setup your preferred default voice in the UI:
|
You can setup your preferred default Text-to-Speech and default voice in the UI:
|
||||||
|
|
||||||
* Go to **Settings**.
|
* Go to **Settings**.
|
||||||
* Edit **System Services - Voice**.
|
* Edit **System Services - Voice**.
|
||||||
* Set **VoiceRSS** as **Default Text-to-Speech**.
|
* Set **VoiceRSS** as **Default Text-to-Speech**.
|
||||||
* Choose your preferred **Default Voice** for your setup.
|
* 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=voicerss
|
||||||
|
org.openhab.voice:defaultVoice=voicerss:frFR_Zola
|
||||||
|
```
|
||||||
|
|
||||||
## Supported Audio Formats
|
## Supported Audio Formats
|
||||||
|
|
||||||
It supports the following audio formats: MP3, OGG, AAC and WAV.
|
It supports the following audio formats: MP3, OGG, AAC and WAV.
|
||||||
|
Loading…
Reference in New Issue
Block a user