[Solved] Alexa Voice SDK

I installed the SDK

and after some issues (I’m using Stretch, so Audio was slow), all is well.

A question though,

Is it OK to install HAL so that we can make and play recordings with the Microphones, or is that not a good idea?

I now no longer have the mic_array files in /tmp.

Thank you,

Kenny

Hi @gapdev,

Glad to hear that it worked!.

This guide uses the MATRIX kernel modules. The Kernel modules are still development and is not compatible with HAL or MALOS, so for now the answer is no. For recording you can just use arecord or if you are from C++ you can record from alsa using a ALSA C++ library.

When using the kernel modules is ok that you dont have the /tmp/mic_xxx files.

-Yoel

I think I tried that and it didn’t work since I don’t have HAL installed.

I’m a C programmer (since the 70’s). Are there guides showing how to use the ALSA C++ library?

Kenny

You have to select the card 2. Please try with:
arecord -D hw:2,0 -r 16000 -f S16_LE test.wav

Works great!

Thank you