https://github.com/wzpan/respeaker-switcher
ReSpeaker 2-Mics Pi HAT 麦克风开关
https://github.com/wzpan/respeaker-switcher
Last synced: 4 days ago
JSON representation
ReSpeaker 2-Mics Pi HAT 麦克风开关
- Host: GitHub
- URL: https://github.com/wzpan/respeaker-switcher
- Owner: wzpan
- Created: 2017-08-06T15:25:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-13T07:55:14.000Z (over 7 years ago)
- Last Synced: 2025-04-17T07:17:26.341Z (9 days ago)
- Language: Python
- Size: 61.5 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ReSpeaker-Switcher
ReSpeaker 2-Mic Pi HAT 的麦克风开关。使用开发板上的按钮开关麦克风。
## 安装
``` sh
git clone https://github.com/wzpan/ReSpeaker-Switcher.git
cd ReSpeaker-Switcher
pip install -r requirements.txt
```## 使用
``` sh
python switcher.py
```## 与叮当一同开机启动
要与叮当一同开机启动,可以参考叮当 [设置开机启动](https://github.com/wzpan/dingdang-robot/wiki/configuration#设置开机启动) ,在 dingdang.sh 中添加如下命令:
``` sh
...
sleep 1
sudo python /home/pi/ReSpeaker-Switcher/switcher.py &
```