Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor/native_sources #179

Merged
merged 1 commit into from Jul 28, 2022

Conversation

NeonJarbas
Copy link

historically "audio" and "debug_cli" have been the hardcoded message source/destinations considered native, ie, only those would trigger audio playback for TTS, more info https://github.com/JarbasHiveMind/HiveMind-core/wiki/Mycroft-Messages

nowadays alternative clients exist and this should be made configurable,

Anecdotally, I personally dislike the debug_cli triggering audio, If I am debugging I usually have my own audio playing already and don't want interruptions

historically "audio" and "debug_cli" have been the hardcoded message source/destinations considered native, ie, only those would trigger audio playback for TTS

nowadays alternative clients exist and this should be made configurable,

Anecdotally, I personally dislike the debug_cli triggering audio, If I am debugging I usually have my own audio playing already and don't want interruptions
@JarbasAl JarbasAl added the enhancement New feature or request label Jul 28, 2022
@JarbasAl JarbasAl requested a review from NeonDaniel July 28, 2022 15:31
@codecov
Copy link

codecov bot commented Jul 28, 2022

Codecov Report

Merging #179 (ffe218c) into dev (6ceb058) will increase coverage by 2.62%.
The diff coverage is 37.62%.

@@            Coverage Diff             @@
##              dev     #179      +/-   ##
==========================================
+ Coverage   50.35%   52.97%   +2.62%     
==========================================
  Files         119      152      +33     
  Lines       10077     9495     -582     
==========================================
- Hits         5074     5030      -44     
+ Misses       5003     4465     -538     
Impacted Files Coverage Δ
mycroft/audio/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/arduino.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/eyes.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/mouth.py 0.00% <0.00%> (ø)
mycroft/client/speech/__main__.py 0.00% <0.00%> (ø)
mycroft/client/speech/hotword_factory.py 0.00% <0.00%> (-88.89%) ⬇️
mycroft/client/speech/service.py 0.00% <0.00%> (ø)
mycroft/client/speech/silence.py 0.00% <0.00%> (-42.86%) ⬇️
mycroft/client/text/__init__.py 0.00% <0.00%> (ø)
... and 138 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 872b346...ffe218c. Read the comment docs.

Copy link
Member

@NeonDaniel NeonDaniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to be configurable and defaults look reasonable

@JarbasAl JarbasAl merged commit 369fe04 into OpenVoiceOS:dev Jul 28, 2022
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants