ReSpeaker_2_Mics_Pi_HAT ALSA Configuration..!

Hi all ! This is my first post !

I’ve purchased the ReSpeaker 2-Mics HAT for the Raspberry PI and would love to use it !

I’ve followed the instructions on the wiki -

but no sound in the headphone port of 2mics hat. i have 3 audio outputs in my pi. built in audio, HDMI and 2-mics hat. then i disable builtin sound device via boot config file.

[code]aplay -l && arecord -l

**** List of PLAYBACK Hardware Devices ****
card 0: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
**** List of CAPTURE Hardware Devices ****
card 0: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

[code]sudo nano /boot/config.txt

Enable audio (loads snd_bcm2835)


then i copy asound.conf and asound.state files from the source dist of the re-speaker driver on github and installing them according to the instructions (put asound.conf in /etc, use alsactl command to install asound.state)

[code]sudo nano /etc/asound.conf

The IPC key of dmix or dsnoop plugin must be unique

If 555555 or 666666 is used by other processes, use another one

pcm.!default {
type asym
playback.pcm “playback”
capture.pcm “capture”

pcm.playback {
type plug
slave.pcm “dmixed”

pcm.capture {
type plug
slave.pcm “array”

pcm.dmixed {
type dmix
slave.pcm “hw:0,0”
ipc_key 555555

pcm.array {
type dsnoop
slave {
pcm “hw:0,0”
channels 2
ipc_key 666666

still no sound in 2-mics hat. alsa.conf also not changed.

[code]sudo nano /usr/share/alsa/alsa.conf

defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0
defaults.pcm.subdevice -0
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000 # in us
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format “unchanged”
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card

this is my .asoundrc file
[code]sudo nano ~/.asoundrc

pcm.!default {
type asym
type hw
card 0
device 0
type hw
card 0
device 0

when i use omxplayer command without conditions, i can listen the song via TV HDMI interface. [code] omxplayer vaa.mp3 [/code]

if i force omxplayer with alsa… theirs no sound in HDMI or 2-mics hat headphone port.
</s>omxplayer vaa.mp3 -o alsa<e>
</s>omxplayer vaa.mp3 -o alsa:hw:0,0 Audio codec mp3 channels 2 samplerate 44100 bitspersample 16 Subtitle count: 0, state: off, index: 1, delay: 0<e>

when i check speaker by…
[code]arecord -f cd -Dhw:0 | aplay -Dhw:0
Recording WAVE ‘stdin’ : Signed 16 bit Little Endian, Rate 44100

Hz, Stereo
Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
please, try the plug plugin
aplay: main:788: audio open error: Device or resource busy[/code]


  • Raspberry pi 3b
  • seeedstudio 2-mics Hat
  • 22" HDMI TV
  • usb powerd speakers connected to 3.5mm jack of 2-mics Hat


    Raspian Stretch Latest





    Note: PulseAudio not installed.

    Please save my life…

Dear Customer, Please download the raspberry latest image and then follow below instructions. We tested it works well. we can hear the voice from the audio port. We already updated wiki to remove 2mics from sudo ./ 2mics. please let us know if any issue. thanks.

sudo apt-get update

sudo apt-get upgrade

git clone

cd seeed-voicecard

sudo ./


Seeed Techsupport Team