wzpan / dingdang-robot

🤖 叮当是一款可以工作在 Raspberry Pi 上的中文语音对话机器人/智能音箱项目。
http://dingdang.hahack.com
Other
1.86k stars 535 forks source link

录音问题 #134

Closed JasonIonke closed 6 years ago

JasonIonke commented 6 years ago

请教一下各位,测试录音功能时使用 arecord -d 20 -f S16_LE temp.wav 可以录音 但使用 arecord -d 20 temp.wav 录下的都是噪音,是否需要在dingdang里把 -f S16_LE也设置进去?如何设置呢?

因为现在启动python dingdang.py会显示如下错误,感觉是录音没设置好。 谢谢!

image

wzpan commented 6 years ago

先看下 troubleshooting:https://github.com/wzpan/dingdang-robot/wiki/troubleshooting

JasonIonke commented 6 years ago

去看了,我先去解决overflow的问题试试,谢谢wzpan!