Linuxの音声制御
Linuxアプリケーションは、サウンドサーバであるPulse Audioを介し、サウンドAPIであるALSA(Advanced Linux Sound Architecture)を制御することで、サウンドデバイス(Microphone、Speaker)にアクセスできる。
Microphoneのモニタ
GNURadioでもMicrophoneから音声を取り込める[1]
Device Nameは、 arecord -Lで該当するAudio Deviceを選択する。
arecord -Lの実行結果
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC269VB Analog
Direct hardware device without any conversions
Audio Sourceには hw:CARD=PCH,DEV=0 を入力すれば良い。
Speaker出力のモニタ
尚、ALSA Pseudodeviceを作成すれば、Speaker出力をモニタすることもできる。
詳細は ALSAPulseAudio - GNU Radio の"Monitoring the output of your system"を参照されたい。