How do you configure the sound output for multiple processes to record at the same time


#1

Hi,

I have a Raspberry Pi 3B with a Matrix Voice connected, I would like to run multiple processes that both listen for wake words - (I want to run Alexa and Snips.AI on the same Raspberry Pi) That is, I need to configure the microphones in ALSA to allow multiple processes to access the them. I have read that ALSA has a dsnoop that allows this, but I cannot work out how to configure the ALSA config.

Thanks for your help

Peter


#2

I think you are on the correct path. I haven’t try it myself. Have you already read these examples here https://alsa.opensrc.org/Dsnoop ?