admin管理员组

文章数量:1516870

录音

实测可用:

sudo arecord --duration=10 --device=plughw:1,0 --format=cd aaa.wav sudo arecord --duration=10 --device=plughw:1,0 --format=S16_LE --rate=44000 --channels 2 aaa.wav sudo arecord --device=plughw:1,0 --file-type=wav --format=S16_LE --rate=8000 --channels 1 aaa.wav 不清楚device为什么指定为plughw:1,0。 暂时只能sudo,把普通用户加到audio组似乎不行,同样不清楚原因。 PC上OK,树莓派上NG: 使用sox rec -d /dev/media0 aaa.wav PS: 1.查看声卡: arecord -l 2.查看声卡驱动驱动安装状况: cat /dev/sndstat

转载于:.html

本文标签: 录音