Chris Veilleux
ea013b26af
Fixed failing unit test.
2021-03-10 21:16:34 -06:00
Chris Veilleux
62d277d612
Refactored to fix error where persistent cache directory was used when the temporary cache directory should have been.
2021-03-10 21:16:11 -06:00
Chris Veilleux
469b1d3458
Changed ordering of adding a file to cache to make more sense.
2021-03-10 15:55:21 -06:00
Chris Veilleux
86febca6a3
Fixed a bug passing None to an instance of Path
2021-03-10 15:35:38 -06:00
Chris Veilleux
5996fdbf08
Fixed a minor linting issue
2021-03-10 13:46:48 -06:00
Chris Veilleux
48e691a66f
add deprecation warnings to the logic the new cache logic replaces.
2021-03-10 13:39:30 -06:00
Chris Veilleux
2f34df6603
enhance to use new cache logic
2021-03-10 13:39:01 -06:00
Chris Veilleux
5e90940896
new code to consolidate TTS cache handling into one module.
2021-03-10 13:38:17 -06:00
Kris Gesling
fa5576adf4
Merge pull request #2831 from MycroftAI/bugfix/google-voice
...
Upgrade gTTS to fix Google voice
2021-02-10 11:16:43 +09:30
Kris Gesling
c8494932ac
Remove deprecated Google TTS lang codes
2021-02-09 21:27:59 +09:30
Åke Forslund
9173e22460
Send correct conf to mimic when used as fallback
...
- Mimic is now sent the correct config when used as a fallback
- Tests updated to ensure this
2021-02-08 22:09:55 +01:00
Kris Gesling
5a19fc0716
Add Mozilla TTS connection validation
...
Replication of PR #2719
Original code from JarbasAl
2021-02-08 20:17:59 +09:30
Åke Forslund
082a2d481c
Mark that audio has completed in dummy tts
2021-01-22 14:40:00 +01:00
Chris Veilleux
042a23879c
Don't build the cache directory if it already exists.
2021-01-14 18:00:58 -06:00
Chris Veilleux
a52d45ffff
Re-added argument removed in previous commit to preserve backwards compatibility.
2021-01-14 14:29:44 -06:00
Chris Veilleux
91b1a9a15c
Fixed an error that occurs when the pre-loaded cache directory already exists but the cache_text.txt file does not.
2021-01-13 21:47:09 -06:00
Kris Gesling
6f8bae6ba1
Merge pull request #2736 from forslund/docs/plugin-apis
...
Add Plugin base classes APIs to readthedocs
2020-12-03 20:33:59 +09:30
Kris Gesling
b9c974bc1b
Merge pull request #2718 from forslund/bugfix/mimic-missing-exceptions
...
Handle Mimic missing properly
2020-11-16 14:40:14 +09:30
Åke Forslund
5e633421c6
Improve docstrings for TTS
2020-11-04 08:03:08 +01:00
Kris Gesling
8a1b989935
Merge pull request #2594 from forslund/feature/plugin-system
...
Plugin system for stt, tts, audioservices and wake word engines
2020-10-19 15:41:35 +09:30
Åke Forslund
112a983024
Fix pylint issues
2020-10-10 09:20:21 +02:00
Åke Forslund
a2dc3482ef
Fix logs when Mimic is not found
...
If Mimic was not found at all the LOG message would raise an exception,
this fixes that issue and cleans up Exception chain
2020-10-10 09:04:54 +02:00
Kris Gesling
6e058e48b5
Merge pull request #2713 from domcross/feature/mozilla_tts
...
Feature/mozilla tts
2020-10-07 11:39:54 +09:30
domcross
10ded43c65
Mozilla TTS
...
Clean up imports
2020-10-06 11:44:54 +02:00
domcross
99f534c1ad
Mozilla TTS
...
remove custom cache code
improve url handling
2020-10-05 19:51:00 +02:00
domcross
12ec5cb9b7
Mozilla TTS
...
Cache handling
2020-10-02 21:48:55 +02:00
domcross
d0fb378c56
Mozilla TTS
...
fix imports and example config
2020-10-02 14:10:41 +02:00
domcross
65e30ba861
Mozilla TTS
...
fix codestyle
2020-10-01 21:03:52 +02:00
domcross
104c57a528
Mozilla TTS
...
fix missing import and codestyle
2020-10-01 20:35:08 +02:00
domcross
5be3b54b27
MozillaTTS
...
Implement TTS module that works with Mozilla-TTS server.
==== Environment Notes ====
Requires a Mozilla-TTS server running preferably in your local network.
2020-10-01 20:07:47 +02:00
Joshua J. A. Harwood
84a5fd8853
Issue-2700 - Allow for different Polly engines in config
2020-09-27 22:49:59 +00:00
Åke Forslund
a54090eef2
Add plugin support for tts
...
Entrypoints registered under "mycroft.plugin.tts" will be detected and
able to run.
2020-09-23 07:46:13 +02:00
Åke Forslund
37e03589f3
Handle numeric duration stretch
2020-09-14 07:43:48 +02:00
Åke Forslund
f40c9cc44f
Make Global scope variables upper case
2020-09-12 18:18:38 +02:00
Åke Forslund
725b8a8d15
Fix update of duration stretch
...
Switch from global config to object config
2020-09-12 18:18:02 +02:00
Joan Montané
594c838a00
Add Festival TTS
2020-07-27 18:04:27 +02:00
Åke Forslund
86a978fadf
Fix audio service startup without Internet
...
If started up without Network connection the audio service would crash
importing the google_tts module as it tried to fetch language list from
google.
This restructures it to be a just-in-time check. It also adds a cached
list of supported languages to use if an error occurs fetching language
codes.
A small fix allowing "en-US" to be matched to "en-us" instead of the
generic "en" is also included.
2020-05-27 21:28:26 +02:00
Åke
4ab9469ff7
Merge pull request #2585 from forslund/polly_tts
...
Add Polly tts
2020-05-15 08:22:25 +02:00
Åke Forslund
094c2c28d0
Test loading of phonetic spelling dictionary
...
This also normalizes the path slightly to make sure that the phonetic
spelling is loaded even if the lang code contains capitals.
2020-05-12 08:58:18 +02:00
Åke Forslund
1ee8ec0ff9
Generalize Espeak missing error
2020-05-11 16:14:24 +02:00
Åke Forslund
23c04bf9f0
Update ESpeak to modern TTS standard.
...
- Fixes wait_while_speaking
- Adds Caching support
2020-05-11 16:14:19 +02:00
Åke Forslund
f19547860b
Update polly access key config to match AWS better
...
key_id -> access_key_id
secret_key -> secret_access_key
2020-04-19 17:53:02 +02:00
jarbasal
751040d653
default voice
2020-04-19 17:25:56 +02:00
jarbasal
3707df87b3
update to newer TTS architecture
2020-04-19 17:25:38 +02:00
jarbasai
383ac5f69e
Add Amazon polly tts
2020-04-19 17:24:56 +02:00
Åke Forslund
d51fb126b8
Fix fallback to mimic
...
After catching exception to clear the isSpeaking flag the exception
shall be re-raised to allow the fallback TTS to trigger.
2020-04-17 20:43:13 +02:00
Luca Vercelli
a9cfa513a3
Use lang validator to raise error
2020-04-15 08:58:40 +02:00
luca-vercelli
0718e397c5
Issues-2534 - language fallback fix
...
update the lang value if currently set language doesn't exist.
2020-04-15 08:57:49 +02:00
Kris Gesling
1b49774091
Generalize custom remote TTS url config
2020-03-26 20:27:39 +09:30
Kris Gesling
bcd45dd0fd
add learning-opt-out to request params
...
fix pep-8
2020-03-26 15:41:09 +09:30