Raspberry Pi,USB声卡和3.5毫米麦克风

时间:2019-07-31 06:16:50

标签: raspberry-pi raspberry-pi3 raspbian

我一直在尝试使用以下USB音频卡:https://http2.mlstatic.com/tarjeta-de-sonido-usb-71-con-control-de-volumen-D_NQ_NP_904044-MCO31004989404_062019-F.webp作为声音输出和输入。

我遵循了本教程:https://www.raspberrypi-spy.co.uk/2019/06/using-a-usb-audio-device-with-the-raspberry-pi/,并且输出按预期工作,但是当我尝试在另一个插槽中使用3.5mm麦克风录制内容时,(https://www.importacioneswest.com/wp-content/uploads/2014/11/61jp2CwmoqL.SL1300-1024x1024.jpg)只会创建空白文件。 / p>

我还需要配置其他内容吗?

我使用以下命令进行记录:

arecord --device=hw:1,0 --format S16_LE --rate 44100 -c1 -V mono test.wav

以下是Pi确认的卡片:

 0 [ALSA           ]: bcm2835_alsa - bcm2835 ALSA
                      bcm2835 ALSA
 1 [Device         ]: USB-Audio - USB PnP Sound Device
                      C-Media Electronics Inc. USB PnP Sound Device at usb-3f980000.usb-1.4, full spe

捕获设备:

**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

以及调音台信息:

Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 151
  Mono:
  Front Left: Playback 64 [42%] [-16.38dB] [on]
  Front Right: Playback 64 [42%] [-16.38dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 127 Capture 0 - 16
  Mono: Playback 75 [59%] [14.06dB] [off] Capture 16 [100%] [23.81dB] [on]
Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

0 个答案:

没有答案