You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi ...
as many other have noticed, there is an issue with multiple wakeword detection.
after watching debug from wakeword and adding some additional debug messages to sattelite.py i noticed that the way event from wakeword service is handled makes result of detection just postponed .. ie.. when wakeword event is allowed again, we get positive detection that happened long time ago on chunk of audio right after first one...
i really dont know why - is it async processing of queues or buffer on eth stack... or something else, i dont do a lot of python, but i made some quick and dirty fix -
call mute mic everytime snd is called - set detection refractory period to 5s from now..
call unmute with 0.1s delay after snd is finished and set detection refractory period to 1s here
this seems to always work, i get a wakeword detection during refractory period debug messages right after mic is unmuted and zero detections when there should be none ...
hope it will help somehow
The text was updated successfully, but these errors were encountered:
nesty1990
changed the title
Sattelite +openWakeWord - mute microphone issue
Sattelite +openWakeWord - wakeword refractory time issue
Sep 30, 2024
hi ...
as many other have noticed, there is an issue with multiple wakeword detection.
after watching debug from wakeword and adding some additional debug messages to sattelite.py i noticed that the way event from wakeword service is handled makes result of detection just postponed .. ie.. when wakeword event is allowed again, we get positive detection that happened long time ago on chunk of audio right after first one...
i really dont know why - is it async processing of queues or buffer on eth stack... or something else, i dont do a lot of python, but i made some quick and dirty fix -
call mute mic everytime snd is called - set detection refractory period to 5s from now..
call unmute with 0.1s delay after snd is finished and set detection refractory period to 1s here
this seems to always work, i get a wakeword detection during refractory period debug messages right after mic is unmuted and zero detections when there should be none ...
hope it will help somehow
The text was updated successfully, but these errors were encountered: