@yves911 said in Pimatic-TTS (Text to Speech) Released:
Thanks for this new plugin!
Maybe you could implement a cache of already tts’ified strings in order to lower number of request to Google servers…
Good point (Although I wouldn’t be concerned with the amount of requests sent to the allmighty Google) !
Only messages with variables will need to be freshly converted. Static messages can be cached / saved indefinitely. Having a local repository also provides some resilience in cases where internet connectivity is disrupted.
Did think of this functionality, just wanted to get the initial version out as quickly as possible, and introduce functionality piece-meal, rather than waiting for a month to have a big-bang.
Current priority is to integrate Pico2Wav (offline TTS). This already yields code which can be re-used for the caching mechanism used with online resources
Caching could follow soon after!
If you have some time, I wouldn’t mind if you would log feature requests on Github as well. This helps me track and prioritize!
"Screw the captain. It's the engineer running the ship!"
pimatic-telegram, pimatic-tts, pimatic-woox, pimatic-lg-smart-tv, pimatic-spotify, pimatic-wakeuplight and some not-announced plugins