Record

on debian

parec -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor --file-format=wav audio1.wav &
parec -d alsa_input.pci-0000_00_1b.0.analog-stereo --file-format=wav audio2.wav &