I actually have a Snowboy Addon to work with Snips, see my repo here:
I want to implement the hermes protocol from Snips, so this Matrix add on will need to function as the Audio Server. The HotWord add-on (already working), will then hopefully be able to light up the leds if the hotword is detected.
At this point, all the addon play nice together, I use the Snips Audio Server for now. This works with the alsa drivers (usb mic).
I do not know if you are familiar with HassIO, but that is based on a resin image, but with spi enabled.
You can not install any software on it (well, you can but that kinda blows the whole hassio idea)
I tried to get things going on docker with the matrix malos (and the kernel modules), but could not (yet) get things running when I saw this post. The kernel modules was my first point, so that the different apps using SPI would not clash (in theory)
So I tried to get your example running and was happy it worked! After that I saw no options to access the mic_array.
While I would really like to have it, at this point I am one step further being able to access the Matrix Voice on a docker container, in the form HassIO Addon
My next step will probably be to see if I can get the kernel models running in a container and hopefully as an addon after that.