ReSpeaker 4-Mic Array Questions - Newbie

I’m really interested in buying the ReSpeaker 4-Mic Array which I would like to use with my Alexa Device SDK I’ve built from following this github https://github.com/alexa/avs-device-sdk.



However I’m a total newbie to the Raspberry Pi (only had one for 2 weeks), Raspian (never even used Linux before), Alexa and, well, everything and so I’m not too sure whether I can add this to my project or not. I’m hoping someone may be able to answer a few questions I have.


  1. I’m not using the onboard sound of the Raspberry Pi, instead I’m using the HiFiBerry Amp2 HAT https://www.hifiberry.com/shop/boards/hifiberry-amp2/. Can I attach the ReSpeaker 4-Mic Array to the Amp2 board? The Amp2 uses GPIO2-3 for configuration, GPIOs 18-21 for sound interface & GPIO4 for Mute, are any of these GPIO’s used by the ReSpeaker 4-Mic Array?



    2.Looking at the installation instructions for the ReSpeaker it says:


As I’m not using onboard audio, indeed I have disabled it as part of the installation instructions for the Amp2 board, would I skip this step or need to select the Amp2 and the audio output? If so, how?



3. The instructions for getting Alexa set-up say to create a .asoundrc file in /home/pi/ my file currently looks like this:

</s>pcm.!default { type asym capture.pcm "mic" playback.pcm "speaker" } pcm.mic { type plug slave { pcm "hw:1,0" } } pcm.speaker { type plug slave { pcm "hw:0,0" } }<e>

My current mic is a rubbish 3.5mm jack mic connected to a USB Audio Adapter with a mic input and headphone output. It works but you have to be very close to it hence my interest in the ReSpeaker. Would it just be a case of changing the device/card number for the mic to that of the ReSpeaker or would I have to do something else?



</another newbie asking dumb questions again>

Hi there~,



Here is the pinout of the respeaker 4 mics pi hats. The pins in red box are used pins. It uses the I2S pins which is used by your hifi berry as well.



The 4 mics pi hats uses ADC and your hifiberry uses the DAC. It looks possible to configure them from stackexchange’s q/a. But we do not have the solution. thanks.



<LINK_TEXT text=“https://raspberrypi.stackexchange.com/q … rd-on-gpio”>https://raspberrypi.stackexchange.com/questions/63484/is-it-possible-to-use-more-than-one-audio-card-on-gpio</LINK_TEXT>