Commit Graph

3389 Commits (mark-ii/qa)

Author SHA1 Message Date
Michael Hansen 68121a8808 Always stop TTS on wake 2022-02-25 16:00:29 +00:00
Michael Hansen d67dfe0cc9 Complete intent failure is handled in unknown skill 2022-02-25 16:00:14 +00:00
Michael Hansen 1b780e8a5c Add TTS caching to skills and audio service 2022-02-22 22:04:14 +00:00
Michael Hansen 07c23bdf65 Always stop chase animation for LEDs 2022-02-18 21:37:01 -05:00
Chris Veilleux f3d18b0969 add the logic for "template" resource files back in. 2022-02-18 01:03:55 -06:00
Chris Veilleux 3aa7d20589 Merge remote-tracking branch 'origin/mark-ii/qa' into mark-ii/qa 2022-02-17 19:00:37 -06:00
Chris Veilleux fe46a2705d add the logic for "template" resource files back in. 2022-02-17 19:00:28 -06:00
Michael Hansen 55551bf92a Don't clear activity id when starting recording 2022-02-17 18:56:13 +00:00
Michael Hansen 90ce04bd7d Stop LEDs on empty activity id 2022-02-17 15:34:07 +00:00
Chris Veilleux 5d6c88623d add regex file loading for skill into resources code 2022-02-16 16:22:44 -06:00
Michael Hansen edc4413e97 Add screen dimming for Mark II 2022-02-16 21:30:30 +00:00
Michael Hansen 46eed3f559 Handle TTS and LEDs with nested activities 2022-02-15 16:03:36 +00:00
Michael Hansen 8637165afb Merge branch 'mark-ii/qa' of https://github.com/MycroftAI/mycroft-core into mark-ii/qa 2022-02-14 21:11:30 +00:00
Chris Veilleux 5a398000ac re-add emit of namespace displayed message after inadvertently removing it. 2022-02-14 14:24:14 -06:00
Michael Hansen 0981d0fb7e Handle empty audio in Mycroft STT 2022-02-14 19:52:40 +00:00
Michael Hansen dfa8d1ef16 Pause TTS during recording 2022-02-14 19:40:20 +00:00
Michael Hansen 1d1d18e210 Use SDL directly for sound effects loading 2022-02-14 16:17:03 +00:00
Chris Veilleux 82ac9e1d49 added support for .word files and fixed a regex bug 2022-02-11 15:43:59 -06:00
Chris Veilleux fc3ba2a5f3 fixed a bug passing the wrong skill id to gui.namespace.displayed 2022-02-11 15:41:19 -06:00
Chris Veilleux d33fe90af0 Merge remote-tracking branch 'origin/mark-ii/qa' into mark-ii/qa 2022-02-11 10:45:16 -06:00
Chris Veilleux c3982af0d8 add gui.namespace.displayed message when a namespace is added 2022-02-11 10:45:06 -06:00
Kris Gesling 7edfe6d237 Fix show_text delegate 2022-02-11 11:44:48 +09:30
Michael Hansen bfc3ffab72 Change not loaded dialog 2022-02-10 23:00:11 +00:00
Michael Hansen abba84d5b7 Ensure TTS session is always finished 2022-02-10 20:01:38 +00:00
Michael Hansen d9414c1bd3 Fix multi-chunk TTS session/stopping 2022-02-10 17:08:09 +00:00
Michael Hansen a1608a52af Change "not loaded" dialog 2022-02-10 15:39:46 +00:00
Chris Veilleux dd097b0b25 fixes a bug where the dialog data is not passed to the renderer 2022-02-09 14:43:49 -06:00
Chris Veilleux 54ae050f25 emit an event over the core bus when the namespace using the screen changes due to namespace removal 2022-02-09 12:14:48 -06:00
Michael Hansen 1f246f61a1 Merge branch 'mark-ii/qa' of https://github.com/MycroftAI/mycroft-core into test/vk 2022-02-08 22:52:48 +00:00
Chris Veilleux 6a9a33d574 removed spurious print statements 2022-02-08 15:19:30 -06:00
Chris Veilleux 7508d27a86 Merge remote-tracking branch 'origin/mark-ii/qa' into mark-ii/qa
# Conflicts:
#	mycroft/skills/mycroft_skill/mycroft_skill.py
2022-02-08 14:42:05 -06:00
Chris Veilleux 190ce2b500 another iteration of improving the resource file handling 2022-02-08 14:41:50 -06:00
Chris Veilleux 86d08f7f4e Added an event after the idle screen is displayed. 2022-02-08 14:36:48 -06:00
Michael Hansen 3220109b6c Correctly munge excluded Adapt keywords 2022-02-08 20:13:57 +00:00
ken-mycroft 16040224bd part of Jira MYC-1141 see also stop skill 2022-02-08 13:09:41 -05:00
Michael Hansen 2de52ee2ee Increase timeout for network detection 2022-02-08 17:11:27 +00:00
Michael Hansen 004da8991e Support adapt with exclude/exactly 2022-02-08 17:09:14 +00:00
Chris Veilleux 64314525f5 Merge remote-tracking branch 'origin/mark-ii/qa' into mark-ii/qa 2022-02-02 16:46:29 -06:00
Chris Veilleux a1a44f8bb8 update dialog renderer in the translator after all dialogs are loaded 2022-02-02 16:46:14 -06:00
Michael Hansen a3d92fe7a1 Don't send out background stream position if paused 2022-02-02 20:33:49 +00:00
Michael Hansen ac0d259f34 Merge branch 'mark-ii/qa' of https://github.com/MycroftAI/mycroft-core into mark-ii/qa 2022-02-02 20:26:00 +00:00
Michael Hansen 80057b04a7 Minor type fixes to audio 2022-02-02 18:59:17 +00:00
Michael Hansen b275d99d0f Fix typo 2022-02-02 17:38:01 +00:00
Chris Veilleux b9f814a03c Move resource file location and translation logic into skill_data.py 2022-02-02 11:33:45 -06:00
Michael Hansen 89407c0fc6 Unduck audio after skill has ended 2022-02-01 16:43:31 +00:00
Michael Hansen c81c02977f Need to do clock synchronize before internet detection too 2022-01-31 17:14:08 +00:00
Michael Hansen 2b4efea121 Add delay to make mute switch reliable 2022-01-31 16:42:11 +00:00
Michael Hansen 73034467ef Fix background media stopping 2022-01-31 15:53:24 +00:00
Michael Hansen 762f78725a Unpause background stream when starting new one 2022-01-28 23:41:34 +00:00
Michael Hansen be457b9ec7 Send background media posiiton again 2022-01-28 23:23:57 +00:00
Michael Hansen 59cb3681e5 Duck music for TTS audio 2022-01-28 23:14:10 +00:00
Michael Hansen e56ed25a70 Merge Ken changes 2022-01-28 21:45:03 +00:00
Michael Hansen 5d19f3c972 Cleanup audio code 2022-01-28 20:55:26 +00:00
ken-mycroft 8ce034d51b modifications to the stop process flow to accommodate upcoming commits to common play and query skills 2022-01-28 14:17:58 -05:00
Michael Hansen d6f8902d79 Background volume working 2022-01-28 15:46:07 +00:00
Michael Hansen 480ac0f36e Porting audio service to SDL 2022-01-28 03:18:52 +00:00
Michael Hansen a6015b4471 Report background stream position in milliseconds 2022-01-25 17:43:40 +00:00
Michael Hansen e2576657c0 Fix media finished events in audio HAL 2022-01-25 16:43:45 +00:00
Michael Hansen 9912c1a5bd Send TTS events with listen flag 2022-01-25 03:18:44 +00:00
Michael Hansen 4e37bd7461 Play sound effects separately in AHAL 2022-01-24 17:34:55 +00:00
Michael Hansen 1ac0f5e610 Need audio.initialize.ended event 2022-01-22 01:36:40 +00:00
Michael Hansen 5d13bfddb2 Report background media stream position 2022-01-21 22:56:42 +00:00
Michael Hansen e17e4fffad Increase mic buffer size 2022-01-21 22:56:31 +00:00
Michael Hansen 8552aaf18d Add documentation to new audio service 2022-01-21 20:24:42 +00:00
Michael Hansen 55a2625d43 Handle volume ducking 2022-01-21 20:03:17 +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 235709d1e1 Occasional misses in start listening beep 2022-01-21 16:32:05 +00:00
Michael Hansen 7bec61c6ef Add play_sound_uri to skills 2022-01-21 16:25:59 +00:00
Michael Hansen 83c5e213c0 Actually handling TTS now 2022-01-21 15:50:13 +00:00
Michael Hansen 4f98304828 Working with streaming and mycroft.stop 2022-01-21 15:23:31 +00:00
Michael Hansen 033cfc6347 Mostly working with TTS and streaming 2022-01-20 23:01:50 +00:00
Michael Hansen 4672bd7f56 Sound effects and TTS 2022-01-20 21:20:21 +00:00
Michael Hansen 83cbfa03f5 Merge branch 'mark-ii/qa' of https://github.com/MycroftAI/mycroft-core into mark-ii/qa 2022-01-19 22:54:35 +00:00
Michael Hansen 3e9a0c693f Re-enable VLC track events 2022-01-19 22:53:47 +00:00
Michael Hansen cb29ef0848 Can't use audio service to play sounds because it deletes VLC stream 2022-01-19 19:59:08 +00:00
Michael Hansen 507d851f19 Use audio service to play ACK 2022-01-19 15:23:35 +00:00
Chris Veilleux 19b96f88a3 Merge branch 'mark-ii/qa' of https://github.com/MycroftAI/mycroft-core into mark-ii/qa 2022-01-18 20:56:44 -06:00
Chris Veilleux 1d5cffcbd0 Add the concept of "skill service initializing" to skill loading so a skill can behave differently at service load time. 2022-01-18 20:56:26 -06:00
Michael Hansen 3b740e7832 Play acknowledge sound when activity starts 2022-01-18 19:41:41 +00:00
Michael Hansen 20915cf4aa Don't let simple audio service play URIs 2022-01-18 19:41:25 +00:00
Michael Hansen 67dd15a216 Add acknowledge.wav 2022-01-18 19:41:08 +00:00
Michael Hansen 707ffadb6b Clear TTS cache on new activity 2022-01-18 16:38:10 +00:00
Michael Hansen 88143b15c7 Use 0 or 100 volume in VLC service 2022-01-18 16:37:35 +00:00
Michael Hansen ce073f3ba5 Use paplay instead of aplay 2022-01-18 16:36:53 +00:00
Michael Hansen a80c25e5cb Prototype activity started/ended functions for skills 2022-01-17 17:28:06 +00:00
Michael Hansen f9d9ccf3e8 Cue pulse animation on wakeword recognized 2022-01-15 20:49:10 +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 51219509f3 Stop removing whitespace after periods to avoid mangling initialisms 2022-01-14 17:05:38 -05:00
Michael Hansen e2ce9efd44 Merge branch 'mark-ii/qa' of pumpkin.lan:Mike/Projects/mycroft-core into mark-ii/qa 2022-01-14 16:32:00 -05:00
Michael Hansen 36d4f1a2e3 Fix NamespaceManager bus exception 2022-01-14 15:23:24 -05:00
Michael Hansen 0a224b3e6b Rewrite MutableStream class for microphone. Requires libportaudio with
assertio patch.
2022-01-14 18:18:01 +00:00
Michael Hansen b3cf7458a7 Use importlib for plugins instead of deprecated pkg_resources 2022-01-13 18:16:44 -05:00
Michael Hansen 4b5dbb4d0a Avoid stopping pulse animation during chase 2022-01-13 20:53:03 +00:00
Chris Veilleux e86eb08909 Add a one second delay to removal of namespace so it is not so abrupt. 2022-01-13 14:42:47 -06:00
Michael Hansen f9d2ef0104 Clear TTS queue when new skill speaks 2022-01-13 17:53:30 +00:00
Michael Hansen 942c836386 Send skill_id with speak event 2022-01-13 17:53:18 +00:00
Michael Hansen a1de8d070b Clean up LED animations in enclosure 2022-01-12 23:36:35 +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