[picotts] Add LRU cache (#14565)

* [picotts] Add LRU cache

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
This commit is contained in:
Gwendal Roulleau
2023-07-08 18:09:06 +02:00
committed by GitHub
parent 5bea9bcfdf
commit b17246f00a
3 changed files with 34 additions and 4 deletions

View File

@@ -49,3 +49,7 @@ 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.
## Caching
The Pico TTS service uses the openHAB TTS cache to cache audio files produced from the most recent queries in order to reduce traffic, improve performance and reduce number of requests.