Setup respeaker pi-hat 2 on RPI ZW - outputs white noise

I am trying to run snips on my rpi0w, and has mounted the respeaker pi hat on to it.



Installed the driver using

</s> git clone https://github.com/respeaker/seeed-voicecard cd seeed-voicecard sudo ./install.sh sudo reboot <e>
I disabled the cdmi audio setting in the boot/config such that it only finds the respeaker pi hat 2

</s> pi@raspberrypi:~/seeed-voicecard $ 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: 1/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 <e>

and my sound.conf looks like this

[code] pi@raspberrypi:~/seeed-voicecard $ cat /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

# use samplerate to resample as speexdsp resample is bad
defaults.pcm.rate_converter "samplerate"

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:seeed2micvoicec"
    ipc_key 555555 
}

pcm.array {
    type dsnoop
    slave {
        pcm "hw:seeed2micvoicec"
        channels 2
    }
    ipc_key 666666
}<e>[/code]</e></CODE>

problems is that when i test it by simple recording something, and play the same file

</s>`arecord -d 5 /tmp/test-mic.wav && aplay /tmp/test-mic.wav` <e>
The only thing I hear is noise?

Its as if nothing gets recorded, or not played correctly?



do I have some malfunctioning hardware, or is the config wrong?



Why am not able to play audio and record audio using the respeaker pi hat 2?

Hi There

arecord and aplay is not Simultaneously work in rpi0 , and you should separate them to use :smiley:

it still outputs noise…