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
Chris Veilleux
a7a039202d
Moved status screens to wifi and pairing skills
2022-01-12 14:17:45 -06:00
Michael Hansen
6edb5d2c47
Merge branch 'mark-ii/qa' of https://github.com/MycroftAI/mycroft-core into mark-ii/qa
2022-01-11 18:54:32 -05:00
Michael Hansen
564cdb2890
Separate LED animations in enclosure
2022-01-11 18:54:26 -05:00
Chris Veilleux
9dbe974b16
Merge remote-tracking branch 'origin/mark-ii/gui-namespace' into mark-ii/qa
2022-01-11 17:04:52 -06:00
Chris Veilleux
2e376b271e
docstring cleanup
2022-01-11 17:03:06 -06:00
Michael Hansen
7075678eee
Use smbus2 for leds
2022-01-11 17:49:44 -05:00
Chris Veilleux
b866de2aae
fixed some namespace removal and persistence issues
2022-01-11 15:19:23 -06:00
Michael Hansen
871dc8b959
Add 'hot_reload' config item to skills
2022-01-11 15:17:52 -05: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
Chris Veilleux
28b97d067a
add internet connecting screen to idle screen skill
2022-01-11 10:57:52 -06:00
ken-mycroft
9796431a45
null check
2022-01-11 11:10:30 -05:00
Chris Veilleux
582428a568
Merge remote-tracking branch 'origin/mark-ii/gui-replace-page' into mark-ii/gui-namespace
2022-01-10 17:35:37 -06:00
Chris Veilleux
235bd0c9ef
move GUI specific code out from the base enclosure class and refactor.
2022-01-10 17:12:00 -06:00
Chris Veilleux
6a8c044217
uncomment the code that determines if a skill needs to reload.
2022-01-10 16:49:42 -06:00
Michael Hansen
ef87af1345
Warn on network check timeout
2022-01-06 15:55:37 -05:00
Michael Hansen
a360098d8b
Increase not connected timeout
2022-01-06 11:49:50 -05:00
Michael Hansen
e0187b392a
Restore MSM
2022-01-06 11:17:48 -05:00
Michael Hansen
03beb38efb
Add timeout to network detect
2022-01-06 11:17:40 -05:00
Michael Hansen
2a6f79dab4
eth0 reports itself as "unavailable" instead of "disconnected"
2022-01-06 09:49:32 -05:00
Michael Hansen
db2b7142fb
Fix missing variable
2022-01-05 11:18:56 -05:00
Michael Hansen
437a9e9abf
Enable ethernet in network detect activity
2022-01-05 09:45:04 -05:00
Michael Hansen
9e89bdde0a
Remove all the msm from skills module
2022-01-04 21:40:26 -05:00
Chris Veilleux
3c594fba1e
new SkillGUI helper method to replace the page being displayed with a different page from the same skill.
2022-01-04 12:14:23 -06:00
Michael Hansen
47335a7176
Stop skill manager from updating skills
2022-01-03 16:53:13 -05:00
Michael Hansen
d9872c232e
Fix merge issue
2021-12-31 12:39:55 -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
Michael Hansen
d2e9daf88e
Disable skill reload check for performance
2021-12-29 20:41:18 -05:00
Kris Gesling
a59002ac8e
Autoformat
2021-12-28 17:18:43 +09:30
Kris Gesling
d07886b284
Fix reporting of volume level 1
...
All volumes were being translated from range of 0-10
into a float. 1.0 was left assuming it was 100 but
this was a false assumption. Have added docstring to
make the expected argument explicit.
2021-12-28 17:18:20 +09:30