An open API service indexing awesome lists of open source software.

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 麦克风开关

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 &
```