dscripka/openWakeWord

Wakeword detection is looping...

Closed this issue · 5 comments

Hi there,

I'm really not sure why but for some reason, when a wakeword is detected (tried Alexa, Hey Mycroft and Hey Jarvis), the wakeword detection keeps looping very randomly.

I don't have any special noise around. Here are two videos:

PXL_20240408_211559402.mp4
PXL_20240408_094235198.mp4

Are you using openWakeWord in OVOS, by chance (since it looks like you are using Mycroft hardware)? If so, are you using this plugin? There is some logic in this plugin to clear out buffers and avoid looping detection like this, but perhaps something isn't working.

If you aren't using the plugin in OVOS, and instead are using custom code, you'll need to either continue feeding in audio after the activation (the recommended approach) and just ignore any detections until you are ready to accept them again, or manually clear the audio buffers.

@dscripka Yes I'm using a Mark II device with OVOS and the plugin your linked.

EDIT: Feel free to send some PRs to this plugin, we are always trying to improve OVOS 👍

The plugin currently has the buffer clearing functionality in place, so it should work.

And I do try and track that plugin and make sure it works with correctly with openWakeWord; not sure why it isn't working now. Are you perhaps running a newer version of OVOS?

And I do try and track that plugin and make sure it works with correctly with openWakeWord; not sure why it isn't working now. Are you perhaps running a newer version of OVOS?

I'm using the dev branch https://github.com/OpenVoiceOS/ovos-dinkum-listener

@dscripka I will let the ovos-installer keep installing the ovos-ww-plugin-openWakeWord plugin but will not enable it by default (which was my initial plan), this will be a user decision.

I will close the issue for now, feel free to re-open it if you want me to run some tests. 👍