seeed-voicecard/README.md

65 lines
2.7 KiB
Markdown
Raw Normal View History

# seeed-voicecard
2017-09-14 14:22:02 +02:00
The drivers for [ReSpeaker Mic Hat](https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT-p-2874.html), [ReSpeaker 4 Mic Array](https://www.seeedstudio.com/ReSpeaker-4-Mic-Array-for-Raspberry-Pi-p-2941.html), [6-Mics Circular Array Kit](), and [4-Mics Linear Array Kit]() for Raspberry Pi.
2017-09-29 04:21:47 +02:00
2018-02-01 09:07:26 +01:00
### Install seeed-voicecard
Get the seeed voice card source code and install all linux kernel drivers
2017-09-18 08:31:53 +02:00
```bash
git clone https://github.com/HinTak/seeed-voicecard.git
2017-04-27 11:28:29 +02:00
cd seeed-voicecard
sudo ./install.sh
2017-09-29 04:21:47 +02:00
sudo reboot
2017-04-27 12:00:49 +02:00
```
## ReSpeaker Documentation
2017-09-29 04:21:47 +02:00
Up to date documentation for reSpeaker products can be found in [Seeed Studio Wiki](https://wiki.seeedstudio.com/ReSpeaker/)!
![](https://files.seeedstudio.com/wiki/ReSpeakerProductGuide/img/Raspberry_Pi_Mic_Array_Solutions.png)
2017-09-29 04:21:47 +02:00
2018-03-12 07:39:43 +01:00
### Coherence
Estimate the magnitude squared coherence using Welchs method.
2018-03-12 11:05:37 +01:00
![4-mics-linear-array-kit coherence](https://user-images.githubusercontent.com/3901856/37277486-beb1dd96-261f-11e8-898b-84405bfc7cea.png)
2018-03-12 07:39:43 +01:00
Note: 'CO 1-2' means the coherence between channel 1 and channel 2.
```bash
# 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
2018-03-12 11:05:37 +01:00
# Requirement of the input audio file:
- format: WAV(Microsoft) signed 16-bit PCM
2018-03-12 07:39:43 +01:00
- channels: >=2
```
2017-09-27 05:18:27 +02:00
### uninstall seeed-voicecard
If you want to upgrade the driver , you need uninstall the driver first.
```
2018-02-01 09:07:26 +01:00
pi@raspberrypi:~/seeed-voicecard $ sudo ./uninstall.sh
2018-02-01 09:52:35 +01:00
...
2017-09-27 05:18:27 +02:00
------------------------------------------------------
Please reboot your raspberry pi to apply all settings
Thank you!
------------------------------------------------------
```
2017-09-07 03:40:34 +02:00
2017-05-22 05:59:22 +02:00
Enjoy !
2018-07-30 09:44:47 +02:00
### 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](https://files.seeedstudio.com/linux/Raspberry%20Pi%204%20reSpeaker/2021-05-07-raspios-buster-armhf-lite-respeaker.img.xz).
We provide official support for using reSpeaker with the following OS:
- 32-bit Raspberry Pi OS
- 64-bit Raspberry Pi OS
And following hardware platforms:
- Raspberry Pi 3 (all models), Raspberry Pi 4 (all models)
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](https://forum.seeedstudio.com/c/products/respeaker/15).
2018-07-30 09:44:47 +02:00