How to Record Speaker Output on Linux with Audacity

To record speaker output on Linux, route Audacity’s recording stream to the monitor source for the output device playing your audio. A monitor captures the digital sound sent to speakers or headphones; it does not record the room through a microphone. Audacity’s Linux computer-playback guide documents this method for PulseAudio. It can also work on PipeWire desktops that provide the PulseAudio compatibility service and support tools such as pavucontrol.

Capture only audio you are allowed to record or distribute. Copyright or service restrictions may apply.

Install Audacity and PulseAudio Volume Control

Install Audacity and pavucontrol (PulseAudio Volume Control) from your distribution’s package repositories. Common package commands are:

Ubuntu or Debian

sudo apt update
sudo apt install audacity pavucontrol

Fedora

sudo dnf install audacity pavucontrol

Arch Linux

sudo pacman -S audacity pavucontrol

Package availability can differ by release. If a command cannot find a package, check your distribution’s official repository or package catalog. Launch both applications after installation.

Linux terminal showing the command sudo apt install audacity pavucontrol
Illustrative terminal view; use the install command for your distribution.

Identify the output device

Open pavucontrol and play audio in the application you want to capture. In Output Devices, find the device whose level responds to that audio. It might be named after your sound card, USB headset, HDMI display, or another output. Remember the name: you will select its matching monitor source. Your PC may list several outputs, so choose the one actually playing the sound.

PulseAudio Volume Control Output Devices tab with an output level slider
The device label and available controls vary with the audio hardware.

Route Audacity to the monitor source

  1. Set Audacity’s recording device. Open Audacity. If needed, show the Audio Setup Toolbar from View > Toolbars. For the PulseAudio method, Audacity’s guide recommends setting the host to ALSA and the recording device to pulse. On systems where PulseAudio is the default, default may also be available. Choose mono or stereo recording channels as needed.
Audacity Audio Setup toolbar with ALSA as the host and pulse as the recording device
Illustrative Audio Setup view; the available device names depend on your Linux audio setup.
  1. Start a short test recording. Click Audacity’s Record button and leave it running briefly. This creates an active recording stream that appears in pavucontrol. Open pavucontrol’s Recording tab and find the Audacity stream. Use its Capture from menu to change the source.
Audacity test recording beside pavucontrol’s Recording tab and capture-source menu
Start a brief test so Audacity’s active stream appears in the Recording tab.
  1. Choose the matching monitor. Select Monitor of [output device] for the output identified in the previous section. For example, if audio plays through a built-in stereo output, choose that output’s monitor. Do not choose the microphone unless you also want room sound. A monitor is a virtual capture of the output stream, not a physical device.
  2. Check the level, then make the real recording. Play a representative part of the audio and watch Audacity’s recording meter. Adjust the Audacity stream’s level in pavucontrol so peaks remain below 0 dB; Audacity suggests aiming around −6 dB. Stop the short test, start a fresh recording, and verify the source still shows the monitor before capturing the full audio. Pause unrelated apps if their alerts or sounds should not be included.
pavucontrol Recording tab with Monitor of Built-in Audio Stereo selected
Select the monitor belonging to the output that is playing your audio.

Leave Audacity’s audible input monitoring off unless you specifically need software playthrough; it can add a delayed copy of the audio. If you want less sound from your speakers while recording, lower playback or output level rather than pressing Mute. Muting the output can make the recording silent. PipeWire’s PulseAudio compatibility service supports common PulseAudio tools, including pavucontrol.

Audacity with an active stereo waveform and recording meters below clipping
Confirm that the waveform and meters respond while audio plays.

Stop and export the recording

Click Stop when the capture is complete. To create a regular audio file, choose File > Export Audio, then select the destination, filename, and a format supported by your Audacity installation. WAV is a useful uncompressed choice for further editing; a compressed format can make a smaller sharing copy. Click Export and play the saved file once to confirm it contains the expected audio. Saving an Audacity project is separate from exporting a playable audio file. See the Audacity Export Audio instructions for format and range options.

Audacity Export Audio dialog with WAV selected
Choose the output format and file location in Export Audio.

Fix a silent or incorrect recording

  • The track is flat: confirm audio is playing through the output you selected, and check that Audacity is recording from pulse or the working default device. In pavucontrol, set the Audacity stream to the output’s monitor source.
  • You hear only the microphone: reopen the Recording tab while Audacity is recording and change Capture from from the microphone to Monitor of the correct output.
  • The monitor or device is missing: verify that the output is enabled in your system’s audio settings. Restart Audacity after connecting a new USB device, or use Transport > Rescan Audio Devices and check the source again. Audacity’s recording troubleshooting guide covers flat tracks and unavailable inputs.
  • The recording clips or includes alerts: reduce the capture level until peaks stay below 0 dB, and pause other applications that send sound to the same output.
Audacity Transport menu showing Rescan Audio Devices above a flat stereo track
Rescan devices if Audacity does not show the expected recording source.

Leave a Comment

How to Record Speaker Output on Linux with Audacity

How to Record Speaker Output on Linux with Audacity

Capture Linux desktop audio in Audacity by routing its recording stream to your output device’s monitor source. Follow PulseAudio and PipeWire steps, export tips, and fixes for silent tracks.

How to Use Dropbox on Linux: Install and Sync Your Files

How to Use Dropbox on Linux: Install and Sync Your Files

Install Dropbox on Linux from the official package, sign in, sync a local folder, manage selective sync, and check status from the command line.

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

Install Inkscape from your Linux distribution’s repositories, the Ubuntu stable PPA, Snap, or Flathub, with current commands and notes for choosing a package source.

How to Find and Remove Duplicate Files on Linux With FSlint

How to Find and Remove Duplicate Files on Linux With FSlint

Use FSlint to scan selected Linux folders, review duplicate groups, and safely delete redundant files or learn when hard-link merging is appropriate.

How to Install SABnzbd on Linux and Configure It

How to Install SABnzbd on Linux and Configure It

Install SABnzbd on Ubuntu or Debian, or run it in Docker on another Linux host. Then open the web interface and configure your provider and download folders.

How to Install the Paper GTK Theme on Linux

How to Install the Paper GTK Theme on Linux

Install the Paper GTK theme from supported Linux repositories, enable it for GTK apps in GNOME Tweaks, and see what the legacy theme can and cannot change.

How to Install and Set Up Plex on OpenMediaVault with Compose

How to Install and Set Up Plex on OpenMediaVault with Compose

The old OpenMediaVault Plex plugin is archived. Set up Plex on OMV 8 with OMV-Extras, the Compose plugin, persistent storage, and Plex’s official container.

How to Clean and Speed Up Ubuntu Safely

How to Clean and Speed Up Ubuntu Safely

Clean and speed up Ubuntu with safe APT cleanup, storage checks, and startup controls that help free space and troubleshoot a sluggish desktop.

How to Install the Hiri Email Client on Linux

How to Install the Hiri Email Client on Linux

Install Hiri on Linux with its Snap package or official tarball, add a desktop launcher, and check supported accounts plus a warning about Hiri’s old Snap release.

How to Get System Specifications for a Linux PC

How to Get System Specifications for a Linux PC

Use Fastfetch and built-in Linux commands to check your distro, kernel, CPU, memory, graphics, storage, and connected devices, then save a clear report.