Yihui Xiong
Yihui Xiong
Is it an error produced by mopidy? run `/etc/init.d/mopidy stop` to disable it. Could you be able to run arecord or aplay?
If arecord works but alexa does't, it may be a compiling issue of portaudio. We can test it with pyaudio example code ``` """PyAudio example: Record a few seconds of...
You should rename `pyaudio.py`, `pyaudio` is library name and should not be used as your script name.
It seems you include oss module support for portaudio, you should disable oss in your portaudio's makefile
The log is normal pyaudio log, as pyaudio will check all ALSA devices. Can you provide more information?
Maybe the pocketsphinx did not recognize the word "Respeaker". You can use the following code to check if it's the case. The code will wait for the "Enter" key, instead...
The reason of `Device or resource busy` should be that `pulseaudio` is using the audio device. Are you able to run `arecord -v -f S16_LE -c 8 -r 16000` ?...
For the respeaker core v2, you can use https://github.com/voice-engine/voice-engine/blob/master/examples/kws_doa_alexa_respeaker_v2.py The `test_8mic()` is for respeaker usb 6+1 mic array.
MIC2 is the reference angle. The green LED (default pattern) indicates the direction. It seems the DOA is not accurate, will check it.
It seems bing speech recognizer didn't recognize any voice. Maybe, the volume is too low. You can use alsamixer to adjust the volume.