https://github.com/respeaker/mic_hat
2 Mic Array for Raspberry Pi
https://github.com/respeaker/mic_hat
alexa-voice-service google-assistant microphone raspberry-pi raspberrypi respeaker
Last synced: 7 months ago
JSON representation
2 Mic Array for Raspberry Pi
- Host: GitHub
- URL: https://github.com/respeaker/mic_hat
- Owner: respeaker
- License: gpl-2.0
- Created: 2017-06-01T10:04:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-26T01:42:39.000Z (about 2 years ago)
- Last Synced: 2024-08-06T21:40:34.887Z (10 months ago)
- Topics: alexa-voice-service, google-assistant, microphone, raspberry-pi, raspberrypi, respeaker
- Language: Python
- Homepage: https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT-p-2874.html
- Size: 23.4 KB
- Stars: 102
- Watchers: 14
- Forks: 32
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MIC HAT for Raspberry Pi
========================To build voice enabled projects with Google Assistant, Amazon Alexa Voice service and etc.
[](https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT-p-2874.html)
## Requirements
+ [seeed-voicecard](https://github.com/respeaker/seeed-voicecard), the kernel driver for on-board WM8960 codec
+ [spidev](https://pypi.python.org/pypi/spidev) for on-board SPI interface APA102 LEDs
+ [google-assistant-library](https://github.com/googlesamples/assistant-sdk-python/tree/master/google-assistant-sdk/googlesamples/assistant/library)
+ [avs](https://github.com/respeaker/avs), Alexa Voice Service client python library
+ [voice-engine](https://github.com/voice-engine/voice-engine)## Setup
1. Go to [seeed-voicecard](https://github.com/respeaker/seeed-voicecard) and install it
2. Use `raspi-config` to enable SPI.
3. Install `spidev` (`pip install spidev`).
4. Run `python pixels.py` to test the pixels.## Build a Google Home like device with Google Assistant SDK
1. Setup [google-assistant-library](https://github.com/googlesamples/assistant-sdk-python/tree/master/google-assistant-sdk/googlesamples/assistant/library)
2. Run `python google_assistant.py --device_model_id 'respeaker-xyz'`## Build an Echo like device with Alexa Voice Service
1. `pip install avs voice-engine`
2. Go to [snowboy](https://github.com/Kitt-AI/snowboy) and install its python binding.
3. `python alexa.py`