Skip to content

ReSpeaker 4 Mic Array for Raspberry Pi

Get One

The ReSpeaker 4 Mic Array for Raspberry Pi is a Pi hat with a 12 RGB LEDs ring. It is designed to build voice enabled applications such as Google Assistant and Alexa.

There are several algorithms such as DOA, VAD, NS and KWS we can use with the 4 mic array.

If you need other shape of mic array or need audio output, you may take a look of the Hexagon 6 Mic Array for Pi, the Linear 4 Mic Array and 2 mic hat for pi. If you want a custom shape mic array, you may try Seeed's Fusion service to design a new one. It should be easy.

Sound Source Localization & Tracking

ODAS is a very cool project to perform sound source localization, tracking, separation and post-filtering. Let's have a try!

  1. get ODAS and build it

    sudo apt-get install libfftw3-dev libconfig-dev libasound2-dev
    git clone https://github.com/introlab/odas.git
    mkdir odas/build
    cd odas/build
    cmake ..
    make
    
  2. get ODAS Studio from https://github.com/introlab/odas_web/releases and open it. You can run ODAS Studio on a computer or the Raspberry Pi.

    The odascore will be at odas/bin/odascore, the config file is at odas/config/respeaker_4_mic_array.cfg. Change odas.cfg based on your sound card number.

    interface: {
        type = "soundcard";
        card = 1;
        device = 0;
    }
    

    If you run the ODAS Studio on a computer, you should also need to change IP address from 127.0.0.1 to the IP of the computer.

Resources

Wiki

http://wiki.seeedstudio.com/ReSpeaker_4_Mic_Array_for_Raspberry_Pi