mycroft-core/mycroft/tts
Åke e7ddd51256
TTS playback queue singleton (#3055)
* fix issues when remote excepts out

* Remove explicit clear_cache from MimicTTS

* Updates for using singleton TTS playback thread

- Cache is called on all tts's registered as using the thread
- Begin audio and end audio is handled by the playback thread
- Further changes from self.playback to TTS.playback for consistency

* Remove redundant try/except

* Consolidate general and TTS-specific sentence splitting

This performs all sentence-splitting at the same stage. This fixes a
subtle issue where a TTS splits a sentence into chunks and throws an
error on only one of those chunks. The fallback would generate a
sentence for the original un-chunked sentence. possibly saying the same
parts twice.

This also pre-compiles the regexes used to speed things up a bit.

Co-authored-by: Ken <ken.smith@mycroft.ai>
2022-03-02 09:59:57 +09:30
..
__init__.py Move code out of __init__.py 2020-01-10 15:27:07 +01:00
bing_tts.py Move code out of __init__.py 2020-01-10 15:27:07 +01:00
cache.py Do not create a 'None' cache directory 2021-06-25 14:26:14 +09:30
cache_handler.py add deprecation warnings to the logic the new cache logic replaces. 2021-03-10 13:39:30 -06:00
dummy_tts.py Mark that audio has completed in dummy tts 2021-01-22 14:40:00 +01:00
espeak_tts.py Added Possibility for ESpeak Config (#3020) 2021-11-09 15:07:33 +09:30
fa_tts.py Move code out of __init__.py 2020-01-10 15:27:07 +01:00
festival_tts.py Add Festival TTS 2020-07-27 18:04:27 +02:00
google_tts.py Add warning for anyone loading GoogleTTS 2021-08-27 09:49:40 +09:30
ibm_tts.py Generalize custom remote TTS url config 2020-03-26 20:27:39 +09:30
mary_tts.py Move code out of __init__.py 2020-01-10 15:27:07 +01:00
mimic2_tts.py docstring cleanup 2021-05-11 15:10:32 +09:30
mimic_tts.py TTS playback queue singleton (#3055) 2022-03-02 09:59:57 +09:30
mozilla_tts.py Add Mozilla TTS connection validation 2021-02-08 20:17:59 +09:30
polly_tts.py Issue-2700 - Allow for different Polly engines in config 2020-09-27 22:49:59 +00:00
remote_tts.py Generalize custom remote TTS url config 2020-03-26 20:27:39 +09:30
spdsay_tts.py Move code out of __init__.py 2020-01-10 15:27:07 +01:00
tts.py TTS playback queue singleton (#3055) 2022-03-02 09:59:57 +09:30
yandex_tts.py Move code out of __init__.py 2020-01-10 15:27:07 +01:00