Commit Graph

351 Commits (sj201r5)

Author SHA1 Message Date
Kris Gesling b8d2599fee Fix pycodestyle errors 2022-03-30 11:46:10 +09:30
Michael Hansen 0d1d302500 Fix streaming STT in mic 2022-03-21 20:54:13 +00:00
Michael Hansen 6eb84eb2e3 Always force unmute 2022-03-16 15:07:19 +00:00
Michael Hansen f2826abe04 Start in muted state 2022-03-16 14:58:51 +00:00
Michael Hansen 2f03bf1cd8 Implement mute in mic 2022-03-16 14:52:41 +00:00
Michael Hansen 35fd704e19 Use Silero VAD instead of webrtcvad 2022-03-03 20:29:33 +00:00
Michael Hansen d67dfe0cc9 Complete intent failure is handled in unknown skill 2022-02-25 16:00:14 +00:00
Michael Hansen e17e4fffad Increase mic buffer size 2022-01-21 22:56:31 +00:00
Michael Hansen 5c07e59613 Use record_begin instead of wakeword
Always emit mycroft.mic.listen in get_response
2022-01-21 19:12:02 +00:00
Michael Hansen 83c5e213c0 Actually handling TTS now 2022-01-21 15:50:13 +00:00
Michael Hansen 4672bd7f56 Sound effects and TTS 2022-01-20 21:20:21 +00:00
Michael Hansen 78a0067a99 Adjust initially for ambient noise 2022-01-15 20:48:58 +00:00
Michael Hansen b4d2f5c344 Fine-tune parameters for mic 2022-01-15 19:28:36 +00:00
Michael Hansen 0a224b3e6b Rewrite MutableStream class for microphone. Requires libportaudio with
assertio patch.
2022-01-14 18:18:01 +00:00
Michael Hansen bf1fc7fa6b Don't wait for listen WAV to finished playing on Mark II 2022-01-12 22:19:48 +00:00
Michael Hansen 677e911926 Create recognizer loop before connecting bus events 2022-01-12 20:55:57 +00:00
Michael Hansen 864ac8173d Remove wake word delay due to deprecated parameter to found_wake_word 2022-01-11 14:54:53 -05:00
Michael Hansen b8f37419c3 Enable mic level writing through CLI with mycroft.mic.enable_write_level event 2022-01-11 13:34:35 -05:00
ken-mycroft 9796431a45 null check 2022-01-11 11:10:30 -05:00
Chris Veilleux abab1e9bda Merge branch 'feature/mark-2' into feature/mark-2-boot
# Conflicts:
#	mycroft/client/enclosure/mark2/interface.py
2021-12-30 12:06:14 -06:00
Kris Gesling be45edb54f autoformat 2021-12-01 09:32:24 +09:30
Åke Forslund 6b5d45e507 Do not create configs folders until writing
This replaces save_*_path with usage of the xdg_*_home when handling
config files. This means the config folders will not be created unless
actually written to.

The check for whether a directory needs to be created is handled behind
a lock to avoid race conditions
2021-11-30 22:50:09 +01:00
Chris Veilleux 53ffd737a0 move some steps in the startup sequence so that the message bus connection is established as early as possible. this will facilitate status updates occurring as soon as possible as well. 2021-11-30 15:40:40 -06:00
Chris Veilleux 3d26fa9ada Add service ready event and improve logic to determine if device is ready. 2021-11-30 15:40:27 -06:00
Kris Gesling 131a9ed03f PEP8 2021-11-04 20:53:00 +09:30
Åke Forslund 3fd96cf71b WIP Review comments
- Add TODO for 22.02 to remove the compatibility code
- Make Warning a single Log statement
- mycroft-config script now uses XDG-environment variable
- Remove redundant code
- Replace hard coded references to ~/.config
- Explicitly remove new path before move of "filesystem" (if needed)
2021-08-05 10:04:45 +02:00
Åke Forslund 9029dc1f41 Slight cleanup
- Make XDG usage more visible by using the xdg module prefix
- fix overloaded python keywords
- remove unused imports
2021-08-05 10:04:45 +02:00
Bart Ribbers e20443b824 Use XDG Base directories for settings, cache and runtime data
Improve deprecation warning message
2021-08-05 10:04:45 +02:00
Ken Smith ff01b7388b add pause and resume ability to tts playback thread and use it during barge in 2021-07-02 12:12:07 -04:00
Kris Gesling 2c598fd96b Merge branch 'dev' into feature/mark-2 2021-06-15 12:01:18 +09:30
Kris Gesling 0e2a78068a
Merge pull request #2910 from MycroftAI/feature/avx-check
Check for the AVX instruction set during install
2021-06-02 06:54:08 +09:30
mathmauney 305b93625a Update hotword_factory.py
Fix long line string
2021-05-28 21:48:49 +09:30
mathmauney 011c3899a9 Fix line too long 2021-05-28 21:48:49 +09:30
mathmauney 4ca656caac Issue-2232 Add warning when AVX is not detected and fallback. 2021-05-28 21:48:49 +09:30
Kris Gesling e75a05557b docstring cleanup 2021-05-11 15:10:32 +09:30
Ken Smith 82d9030e4d fix for jira mk2-331 2021-03-16 15:17:36 -04:00
Kris Gesling 7797dc855b Fix missing imports for ProcessStatus 2021-02-27 15:21:44 +09:30
Chris Veilleux 6ed674bd3e Merge remote-tracking branch 'origin/dev' into feature/mark-2
# Conflicts:
#	mycroft/audio/__main__.py
#	mycroft/client/speech/__main__.py
#	mycroft/skills/__main__.py
#	mycroft/util/process_utils.py
2021-02-26 11:49:30 -06:00
Kris Gesling 1273425799 add ProcessStatus to key services 2021-01-28 17:24:21 +01:00
Kris Gesling 73f0299cfa
Merge pull request #2722 from forslund/bugfix/latest-porcupine
Update for newer Porcupine engines
2021-01-25 16:29:48 +09:30
Kris Gesling 824792dcdf improve mic error handling 2021-01-15 11:45:57 +09:30
Ken Smith 0d765d61dc remove logging 2021-01-12 14:38:34 -05:00
Ken Smith 6ef24c0a09 hack to keep the rev5 board running 2021-01-12 14:26:37 -05:00
Kris Gesling ad32a7a873 move bus connect method to process_utils 2021-01-11 16:57:25 +09:30
Kris Gesling 0423daeb4c Voice service to use common bus cilent method 2021-01-11 16:57:25 +09:30
Kris Gesling 652f3342bc
Merge pull request #2788 from MycroftAI/feature/no-precise-tarball
Do not download Precise if executable already exists
2021-01-08 12:02:53 +09:30
Kris Gesling 9ec66ccdd7 Increase timeout for slower hashing on squashfs
The current petact download system hashes the tarball to determine
if a download is required. This is particularly slow on first boot
of Pantacor container as it uses squashfs.
2021-01-04 22:25:23 +09:30
Kris Gesling a358bf672f Do not download Precise if exe already exists
This means that the Precise tarball will no longer need to be
stored on disk for the sake of petact.
2020-12-30 21:19:59 +09:30
Kris Gesling fd5c8bb5e3 Merge branch 'dev' into feature/mark-2 2020-12-29 14:31:09 +09:30
dalgwen 4747dd0e59 Fix UnboundLocalError in AudioProducer
==== Fixed Issues ====

====  Tech Notes ====
The variable should be declared outside the loop.
2020-12-15 10:16:34 +01:00