
我的麥克風插孔插入了音訊輸入。在 中alsamixer
,當我取消靜音並放大mic
輸入時,我可以從揚聲器中聽到此音訊。然而,運行arecord -d 5 foo.wav
並aplay foo.wav
會產生一個空文件;通過大膽記錄時也是如此 - 空。
為什麼會出現這種情況?我該如何記錄這個輸入?
arecord -L
產生以下內容(如果有幫助的話):
default
Playback/recording through the PulseAudio sound server
pulse
Playback/recording through the PulseAudio sound server
front:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
Front speakers
surround40:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
4.0 Surround output to Front and Rear speakers
surround41:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
Direct sample mixing device
dmix:CARD=nForce2,DEV=1
NVidia nForce2, NVidia nForce2 - MIC ADC
Direct sample mixing device
dsnoop:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
Direct sample snooping device
dsnoop:CARD=nForce2,DEV=1
NVidia nForce2, NVidia nForce2 - MIC ADC
Direct sample snooping device
hw:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
Direct hardware device without any conversions
hw:CARD=nForce2,DEV=1
NVidia nForce2, NVidia nForce2 - MIC ADC
Direct hardware device without any conversions
plughw:CARD=nForce2,DEV=0
NVidia nForce2, NVidia nForce2
Hardware device with all software conversions
plughw:CARD=nForce2,DEV=1
NVidia nForce2, NVidia nForce2 - MIC ADC
Hardware device with all software conversions
Input
在對話方塊標籤上所做的更改System Settings -> Sound
根本沒有任何區別。由於它們,我的揚聲器沒有聲音,而且 Audacity 因更改任何設定(連接器或輸入音量)而沒有記錄任何內容。只有一種「聲音輸入設備」—— Internal Audio Analog Stereo
.
奇怪的是,在 Audacity 中,變更記錄來源(例如從default:Line:0
到default:Mic:0
,甚至Mono
到Stereo
)會mute
在上述對話方塊中設定複選框。
答案1
答案2
您可能必須選擇正確的設備。嘗試類似的東西arecord -d 5 -D plughw foo.wav
。您可以使用 列出所有有效的設備名稱arecord -L
。
答案3
開啟“系統設定”>“聲音”>“輸入”,選擇您的設備,然後錄製您想要的內容。建議使用 Audacity。
答案4
我設法使用指南解決了我的問題錄製電腦上播放的音訊。在 alsamixer 中啟用捕獲設備。我仍然不知道如何使用圖形介面解決這個問題。