respeaker / respeaker_python_library

To build voice enabled objects/applications with Python and ReSpeaker
Apache License 2.0
149 stars 74 forks source link

offline - Wake up not working #31

Closed ghost closed 6 years ago

ghost commented 6 years ago

I tried it with 2 different microphones (both usb), but the wake up event hasn't been triggered. My Console stuff:

daniel@daniel-8o23dad:~/respeaker_python_library$ sudo python examples/offline_voice_assistant.py 
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
INFO:mic:Start detecting

So how can I get that offline example working?

KillingJacky commented 6 years ago

Hi, the logs you posted here are not enough to address the problem, they just seem all the way ok. You might take the following steps to check your audio configuration:

KillingJacky commented 6 years ago

Will close this issue, please open a new issue if you have further questions.