编辑
/boot/cmdline.txt
添加一行,强制使用USB1.1,可能会导致键盘鼠标不可用dwc_otg.speed=1
来源:Cheap usb mic for use with voice recognition? - Raspberry Pi Forums
使用48000K采样率和U8格式(默认)
来源:Re: problem recording from USB microphone
- 使用CD格式录音
Try recording at higher quality e.g.:
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v listen-usb.wav
or (which is CD quality)
arecord -D sysdefault:CARD=1 -d 10 -f cd -t wav f2.wav
If you can afford the space always go for the CD quality. It otherwise has very poor quality on the RPI. I’ve tried many USB microphones of varying quality including Blue Snowball and all have this background static sound to some degree unless you use record at CD quality as shown in the Greenonline,FishFace post:(SimonLiu:经过测试还是有很大的底噪)
arecord -D sysdefault:CARD=1 -d 10 -f cd -t wav f2.wav
pi 3 - High background noise with USB microphone - Raspberry Pi Stack Exchange
音频输出噪音问题
想用树莓派3b输出音频时,发现噪音大的嘿人。
以为是硬件问题,但其实树莓派官方已经解决这个问题:
打开树莓派终端
输入:(会用vi的可以不用nano编辑器)
$ sudo nano /boot/config.txt
在文本最末尾加入
audio_pwm_mode = 2
重启即可