Closed poohsen closed 3 years ago
That debug text is from the part that is intended to mute output. during listening. Do you think the case is that the volume skill doesn't find the master output mixer, instead finds the input mixer and mutes that?
Your config looks fine as far as I can tell.
The mute_during_output
will affect if the mic is muted while Mycroft is talking (this is done internally in the speech client not using alsa), duck_while_listening
was added to decide how much the output volume should be changed while recording STT...but I'm not sure it's used at all...(volume skill just triggers the mute, maybe the Mark-2 enclosure handles it separately in the future)
doesn't find the master output mixer, instead finds the input mixer and mutes that?
maybe... I'll be deploying mycroft an a Raspberry Pi 4 soon. Maybe the sound setup will be slightly different and the issue will disappear
Seems like that almost has to be it. Has anybody else tried it in VBox on a modern Mac? My Mac's far too old.
my mac is fairly new, 2018. in VBox, I picked the "ICH AC97" controller but there are two others in the list. What would be the way to debug this? Some pulseaudio or alsamixer command I could run?
I think an immediate step would be to experiment with whether the volume skill actually works. Does it alter the output volume, or does it dick with the mic? Even if you can't see the latter, you'd notice the volume thing.
(Issue the commands in the console, ofc. "set volume to #")
The difference between volume 3 and volume 7 or 8 should be pronounced. The difference between volume 1 and volume 10 should have an inverse relationship with how high you turn up your speakers to hear it =P
Somebody else can probably give you better information about pulseaudio than I can, but that test would probably be informative.
The problem disappeared once I moved from the virtual machine to a raspberry pi 4.
Describe the bug In my installation, in 99% of the cases, something makes the VolumeSkill mute my microphone once the wake-word is recognized and recording begins. The only way around it at present is to blacklist the VolumeSkill.
To Reproduce Steps to reproduce the behavior:
Expected behavior No muting by the VolumeSkill
Log files Once loglevel is set to DEBUG, I can see this in the logs:
(after 3s it finished recording and unmuted the mic again)
Environment (please complete the following information):
Additional context
This might be some setup problem as I’ve never paired my installation, but then again I played with the two most obvious settings that could affect this, “mute_during_output” and “duck_while_listening” and they had no effect here.
My user config: