Recording desktop audio
Audacity can record computer audio (including sound from YouTube, Spotify and more).

1. Select the loopback device

  1. 1.
    Use the Audio Setup toolbar to select Windows WASAPI as the Host and then select the output you want to use (the device you're using to listen) as the input. It will be marked with a (loopback) after it's name.
Select the loopback device to record desktop audio
When using the (default) MME device, you may find a virtual microphone called Stereo Mix, What you hear or similar in it. This also will record your desktop audio.
Selecting Stereo Mix as an alternative to record desktop audio
Caution: Soundflower is not compatible with Apple Silicon-based machines
When using PulseAudio (default for Ubuntu, Linux Mint, and others):
  1. 1.
    Install PulseAudio Volume Control (pavucontrol). This should be in your repository already.
  2. 2.
    Set the audio host to ALSA, the recording device to pulse.
    If your system uses Pulse by default, the pulse device may be called default.
  3. 3.
    Enable the recording meter by selecting "Click to start monitoring".
  4. 4.
    Open PulseAudio Volume Control and choose the "Recording" tab.
  5. 5.
    In the "Capture from" dropdown, select the "Monitor" option of the playback device used by the application you want to record from
  6. 6.
    Launch the application that you wish to record and begin playback.
  7. 7.
    In the "Recording" tab of PulseAudio Volume Control, drag the volume sliders so that the recording level in Audacity's Recording Meter is to left of 0 dB (-6 dB is a good level to aim for).

2. Check if everything is set up correctly

Recording the desktop audio will record all desktop audio, including notification-pings, games, and Audacity itself (for example, other tracks in the timeline if you're using overdub) . So unless you specifically want these noises, make sure to turn them off.
DON'T use software playthrough when recording desktop audio. Make sure it's off in the menu: Transport > Transport Options > Software playthrough (on/off) - The
checkmark next to it must be turned off. You can turn off overdub here as well.

3. Record

Hit the record button to record your desktop audio.
Note: Using WASAPI, Audacity will only record when sound is playing and automatically pause the recording when the desktop audio sound stops. You can circumvent this by having adding a second, empty track to your project via Tracks > Add New... > Stereo Track
When using the loopback device Audacity will record only when audio is being played
Export as PDF
Copy link
Edit on GitHub
On this page
1. Select the loopback device
2. Check if everything is set up correctly
3. Record