Hello, I built a simple speaker with esp32 s3 and microphone. I can give voice assist commands and use the wakeword when I’m not playing music and all works great. If I try to use the wake word when music is playing there is no way. Of course this is in part due to the volume of thew music that might interfere with microphone, but The main error I get is due to resources missing in terms of cpu and I would like to know if it’s something that is doable or not. I mainly get this error: [W][micro_wake_word:257]: Not enough free bytes in ring buffer to store incoming audio data. Resetting the ring buffer. Wake word detection accuracy will temporarily be reduced. right now to reduce cpu usage, since it wasn’t working I disabled the wake word when the music is playing, and it will start detecting again when the music stops. Any idea on how to solve it and if it’s possible at all will be great. Here is the configuration I use for the device. thank you esp32s3 voice and music - Pastebin.com
Its not possible.
The wakeword function record until a period of silence and with music it will record a lot and run out of memory.
If the music speaker and wakeword function is on the same device then it is possible to subtract the music output from the input, but I do not know if the HA parts have that feature.
thank you, I thought it was not possible, was hoping for a solution but I figured it wasn’t easy.thanks anyways
With the default vpe settings this never caused any problems (esp32 s3 n16r8).