Closed kha84 closed 1 year ago
This is probably due to the main process exiting before the subprocess, which isn't supposed to happen but I haven't got it down perfect just yet.
For now, I updated the silero wrapper to catch BrokenPipeError
and just silently exit (since it means it's time to stop anyways).
Hello there,
I was following your tutorial, up to the point of testing the Silero VAD - "Voice Activity Detection" chapter.
I noticed that sometimes (in my case like in 30% of cases) it throws an exception while recording sound activity like this:
However when it happens it still manages to capture something to sample.wav
If it matters, I'm playing with Rhasspy3 in a ubuntu:latest docker container (22.04.2), for sound inside of the container I'm using ALSA emulation of pipewire client installed in the container. The Pipewire client is connected to my host Pipewire server via socket file. All ALSA native utilities inside of the container (aplay / arecord) are working just fine - I'm pretty sure the sound setup is a solid one.