ac108_plugin | ||
patches | ||
pulseaudio | ||
tools | ||
ac10x.h | ||
ac101.c | ||
ac101_regs.h | ||
ac108.c | ||
ac108.h | ||
ac108_6mic.state | ||
ac108_asound.state | ||
asound_2mic.conf | ||
asound_4mic.conf | ||
asound_6mic.conf | ||
builddtbo.sh | ||
default.pa | ||
dkms.conf | ||
install.sh | ||
LICENSE | ||
Makefile | ||
README.md | ||
seeed-2mic-voicecard-overlay.dts | ||
seeed-2mic-voicecard.dtbo | ||
seeed-4mic-voicecard-overlay.dts | ||
seeed-4mic-voicecard.dtbo | ||
seeed-8mic-voicecard-overlay.dts | ||
seeed-8mic-voicecard.dtbo | ||
seeed-voicecard | ||
seeed-voicecard.c | ||
seeed-voicecard.service | ||
sound-compatible-4.18.h | ||
ubuntu-prerequisite.sh | ||
uninstall.sh | ||
wm8960.c | ||
wm8960.h | ||
wm8960_asound.state |
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
It may probably happen that the driver won't compile with the latest kernel when raspbian rolls out new patches to the kernel. If so, please try sudo ./install.sh --compat-kernel
which uses an older kernel but ensures that the driver can work.
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.
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 !
FAQ
When you encounter any installation and use problems when you start your ReSpeaker Pi hat, please use the following image for testing. We have installed seeed-voicecard based on the latest PI image, which can be used by burning it directly on SD. If this still cannot solve your problem, you can ask in the issue. We will try our best to solve your problem.