将播放文件中的音频添加到麦克风流

将播放文件中的音频添加到麦克风流

我需要在麦克风捕获的内容中添加声音,可以吗?我开始于

man aplay

并发现我能做到

aplay -D PCMdevice filepath.wav

然后我列出了 PCM 设备

~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Device
    USB Advanced Audio Device, USB Audio
    Default Audio Device
sysdefault:CARD=Device
    USB Advanced Audio Device, USB Audio
    Default Audio Device
front:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    Front speakers
surround40:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    Direct sample mixing device
dsnoop:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    Direct sample snooping device
hw:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    Direct hardware device without any conversions
plughw:CARD=Device,DEV=0
    USB Advanced Audio Device, USB Audio
    Hardware device with all software conversions

但我找不到任何包含麦克风或捕获或输入名称的 PCM 设备,一切似乎都是输出,所以我认为这是一个糟糕的线索。

有人找到获得结果的方法吗?

相关内容