Recording audio from browser or music streaming software into Audacity

I would like to record the audio coming out from my browser or any software into Audacity.

I am using pipewire and ALSA for sound.


➜  ~ hwinfo | grep audio
snd_hda_codec_conexant: /devices/pci0000:00/0000:00:08.1/0000:04:00.6/hdaudioC1D0
snd_hda_codec_hdmi: /devices/pci0000:00/0000:00:08.1/0000:04:00.1/hdaudioC0D0
Can play audio:	
  P: /devices/pci0000:00/0000:00:08.1/0000:04:00.1/hdaudioC0D0
  E: DEVPATH=/devices/pci0000:00/0000:00:08.1/0000:04:00.1/hdaudioC0D0
  E: SUBSYSTEM=hdaudio
  E: MODALIAS=hdaudio:v1002AA01r00100700a01
  P: /devices/pci0000:00/0000:00:08.1/0000:04:00.6/hdaudioC1D0
  E: DEVPATH=/devices/pci0000:00/0000:00:08.1/0000:04:00.6/hdaudioC1D0
  E: SUBSYSTEM=hdaudio
  E: MODALIAS=hdaudio:v14F11F86r00100100a01
  <6>[    4.164771] snd_pci_acp3x 0000:04:00.5: ACP audio mode : 1
  <6>[    4.431401] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
  <6>[    4.524169] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
  <6>[    4.560805] snd_hda_codec_conexant hdaudioC1D0: CX8070: BIOS auto-probing.
  <6>[    4.561394] snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX8070: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
  <6>[    4.561401] snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
  <6>[    4.561404] snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1 (0x16/0x0/0x0/0x0/0x0)
  <6>[    4.561407] snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
  <6>[    4.561409] snd_hda_codec_conexant hdaudioC1D0:    inputs:
  <6>[    4.561410] snd_hda_codec_conexant hdaudioC1D0:      Internal Mic=0x1a
  <6>[    4.561413] snd_hda_codec_conexant hdaudioC1D0:      Mic=0x19
  ledtrig_audio 16384 1 snd_hda_codec_generic, Live 0x0000000000000000

From your screenshot, you could try to change “Devices” → “Recording” → “Device” to Pipewire too.


Just in case above still not works, you could install “pavucontrol” . Open pavucontrol then on very bottom right window make sure “Show: All Streams” selected. Open Browser and Audacity then click the record button. Back to pavucontrol and go to tab “Recording”. There should show device with [audacity] name. Select from the drop down to “Monitor …” of any current sound card that currently playing the sound.

After that, next time we record using Audacity, it should remember the selection.