talkiepi respeaker alsarespeaker

TalkiePi with ReSpeaker 2-Mic HAT

I'm trying to create a TalkiPi with a Raspberry Pi Zero and SeeedStudio ReSpeaker 2-Mic HAT.

The ReSpeaker works with ALSA utilities like these:

    $ speaker-test
    $ arecord -v -f S16_LE -r 48000 -c 2 test.wav
    $ aplay test.wav

The ReSpeaker speaker and microphone do not work with the TalkiePi application (no capture, no playback).

The TalkiePi application uses the defaultcapture and playback devices. Specific hardware cannot be defined.

After running the TalkiePi application the above ALSA utility commands do not work. Only after restarting the RPi does it recover.

In my /usr/share/alsa/alsa.conf file I have the following settings.

    defaults.ctl.card 1
    defaults.pcm.card 1

In my ~.asoundrcfile I have the following settings.

    pcm.!default {
        type asym
    pcm.mic {
        type plug
        slave {
    pcm.speaker {
        type plug
        slave {

I have the TalkiePi application working with another brand speaker and microphone.
I am running the latest Raspbian Stretch (2017-11-29).

Do I have the correct ALSA configuration for the ReSpeaker?
What troubleshooting steps can I take to identify the source of this problem?

Regards, Ben

benlewis003Dec 21,2017 12:45 PMAdd Comment


Popular Topics