Command-line podcasts
Revision as of 17:28, 9 April 2019 by Michael Murtaugh (talk | contribs)
Links
Found out the device name of the "monitor"... using the pactl command...
pactl list | grep .monitor
Now you have a device called pulse_monitor that you can use with arecord
Then added this to the file / create this file: /etc/asound.conf
pcm.pulse_monitor { type pulse device alsa_output.pci-0000_00_1b.0.analog-stereo.monitor } ctl.pulse_monitor { type pulse device alsa_output.pci-0000_00_1b.0.analog-stereo.monitor }
podcast.sh
#!/bin/bash
output=${1:-podcast}
arecord -Dpulse_monitor -f cd ${output}_sc.wav &
arecord -Dpulse -f cd ${output}_mic.wav