Skip to content

2 Mic Hat, 4 Mic Array, 6-Mic Circular Array Kit, and 4-Mic Linear Array Kit for Raspberry Pi

License

Notifications You must be signed in to change notification settings

respeaker/seeed-voicecard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c526066 · Nov 25, 2021
Nov 25, 2021
Oct 9, 2017
Apr 27, 2021
Oct 11, 2018
Dec 25, 2018
Sep 15, 2017
Apr 27, 2021
Aug 20, 2021
Apr 27, 2021
Apr 2, 2018
Apr 27, 2021
Sep 14, 2017
Sep 28, 2020
Sep 29, 2018
Apr 27, 2021
Jul 24, 2018
Jul 24, 2018
Aug 6, 2018
Sep 18, 2020
Sep 8, 2017
Apr 7, 2021
Aug 19, 2021
Aug 20, 2021
Mar 30, 2018
Mar 30, 2018
Sep 14, 2020
Sep 14, 2020
Sep 14, 2020
Sep 14, 2020
Apr 24, 2021
Apr 27, 2021
Feb 1, 2018
Apr 24, 2021
May 27, 2021
Sep 28, 2020
May 31, 2021
Apr 27, 2017
Sep 15, 2017

Repository files navigation

seeed-voicecard

The drivers for ReSpeaker Mic Hat, ReSpeaker 4 Mic Array, 6-Mics Circular Array Kit, and 4-Mics Linear Array Kit for Raspberry Pi.

Install seeed-voicecard

Get the seeed voice card source code and install all linux kernel drivers

git clone https://github.com/respeaker/seeed-voicecard
cd seeed-voicecard
sudo ./install.sh
sudo reboot

Note If you have 64-bit version of Rasperry Pi OS, use install_arm64.sh script for driver installation.

ReSpeaker Documentation

Up to date documentation for reSpeaker products can be found in Seeed Studio Wiki!

Coherence

Estimate the magnitude squared coherence using Welch’s method. 4-mics-linear-array-kit coherence
Note: 'CO 1-2' means the coherence between channel 1 and channel 2.

# How to get the coherence of the captured audio(a.wav for example).
sudo apt install python-numpy python-scipy python-matplotlib
python tools/coherence.py a.wav

# Requirement of the input audio file:
- format: WAV(Microsoft) signed 16-bit PCM
- channels: >=2

uninstall seeed-voicecard

If you want to upgrade the driver , you need uninstall the driver first.

pi@raspberrypi:~/seeed-voicecard $ sudo ./uninstall.sh 
...
------------------------------------------------------
Please reboot your raspberry pi to apply all settings
Thank you!
------------------------------------------------------

Enjoy !

Technical support

For hardware testing purposes we made a Rasperry Pi OS 5.10.17-v7l+ 32-bit image with reSpeaker drivers pre-installed, which you can download by clicking on this link.

We provide official support for using reSpeaker with the following OS:

  • 32-bit Raspberry Pi OS
  • 64-bit Raspberry Pi OS (experimental support)

And following hardware platforms:

  • Raspberry Pi 3 (all models), Raspberry Pi 4 (all models), Raspberry Pi Zero and Zero W

Anything beyond the scope of official support is considered to be community supported. Support for other OS/hardware platforms can be added, provided MOQ requirements can be met.

If you have a technical problem when using reSpeaker with one of the officially supported platforms/OS, feel free to create an issue on Github. For general questions or suggestions, please use Seeed forum.