Pocketsphinx not working with matrix voice


I´m trying the demo found at https://github.com/matrix-io/matrix-creator-pocketsphinx

Once I have built the demo and try executing it with:

./pocketsphinx_demo -keyphrase "MATRIX" -kws_threshold 1e-20 -dict assets/6706.dic -lm assets/6706.lm -inmic yes -adcdev mic_channel8

I receive the error:

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM mic_channel8
Error opening audio device mic_channel8 for capture: No such file or directory
FATAL: "pocketsphinx_demo.cpp", line 158: Failed to open audio device

I realise that the project is originally meant for a matrix creator could there be differences in between the creator and the voice that is causing the error, or could it be something else like the mic is busy because some other program is using it?

Any insights would be greatly appreciated.


Ok Thanks I will take a look and get back to you.

  • Yoel

Hello @twl,

We already fix that bug and update the README file.


Kevin Patino

Hey Kevin,

Thanks for that,

Has matrix-malos-wakeword:

been updated to use Kernal modules?

Hello @twl

I answered in this thread :slight_smile:


Kevin Patino

1 Like