Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Sensory Wake Word engine #284
When I type:
I got this:
I tryed to google it to find some answers but didnt found nothing that could help me, if anyone have something to say please share.
I have the same issue as OP on wakeWordAgent: pcm.c:1046: snd_pcm_prepare: Assertion `pcm' failed.
I noticed that something is overwriting my .asoundrc. I have the configuration below that seems to work now. However, when I set .asoundrc to Read Only, the desktop no longer appears and other functions seem to be disabled. Setting .asoundrc back to Read/Write; my .asoundrc is appended and my configuration no longer works.
What is appended on reboot is the following, which breaks functionality.
Following up: USB Microphone and a HiFiBerry Digi+ DAC on my Raspberry Pi 3. I was able to get this working by installing PulseAudio.
I concur. This resolved my issue as well.
Now here's the strange thing. I stopped the wakeWordAgent, and reran it a couple of times and it kept working. I fiddled with the sound/volume settings from the tray at the top right, and after a couple minutes, it stopped working with the PCM error. After I RECOPIED the config as above it launched straight away.
I'm not savvy enough with Linux to be able to debug how or what is getting jiggered... but something is, apparently in the background swizzling something and breaking the wakeWordEngine.
We're closing this Issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 22 days ago. We therefore assume that the user has lost interest or resolved the problem on their own.