What's the easiest way to capture audio that is being played over the PC's speakers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I'm trying to figure out the easiest way to capture the audio that my Ubuntu Linux PC is
> playing and save it to a file.  I don't want to capture from a URL.  I also don't want
> to capture through the microphone, or analog capture device.  I simply want to
> capture the bits that are being sent to the sound card.  My system uses pulseaudio.

try to record from the monitor device of the output

pactl list | grep monitor
shows which monitor devices are available, e.g.
	Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor

then record for the monitor using
parec -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor --file-format=wav > rec.wav

p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux