Ensure that “Stereo Mix” or “What U Hear” is enabled in the Sounds window, then open your recording application and select “What U Hear” or “Stereo Mix” for the source. If you don’t have Stereo Mix, use Windows WASAPI to record your PC’s audio in an application like Audacity.
You can record the sound coming from your PC in numerous ways, and we’re going to show you some of the best we’ve found. The first three options use only software, and the third relies on an old trick that connects your computer’s audio output to its audio input with an audio cable.
Record Audio from Computer with Stereo Mix or What U Hear
Stereo Mix is sometimes called “What U Hear.” It’s a special recording option that your sound drivers might provide. If it is included with your drivers, you can select Stereo Mix (instead of a microphone or audio line-in input), and then force any application to record the same sound that your computer is outputting from its speakers or headphones.
On modern versions of Windows, Stereo Mix is generally disabled by default — even if your sound drivers support it, though you can reenable the Stereo Mix audio source on Windows. After enabling Stereo Mix, you can use any audio-recording program, and just select “Stereo Mix” as the input device instead of the usual “line-in” or “microphone” option.
On some devices, you may not have this option at all. There may be a way to enable it with different audio drivers, but not every piece of sound hardware supports Stereo Mix. It’s unfortunately become less and less common.
Use Audacity’s WASAPI Loopback to Record Computer Audio
Don’t have a Stereo Mix option? No problem. Audacity has a useful feature that can record the audio coming out of your computer — even without Stereo Mix. In fact, Audacity’s feature may be even better than Stereo Mix, assuming you’re willing to use Audacity to record the audio. This method takes advantage of a feature that Microsoft added in Windows Vista named the Windows Audio Session API (WASAPI). The feature also functions in Windows 7, Windows 8, Windows 10, and Windows 11, and it helps make up for the lack of a Stereo Mix option on modern Windows PCs.
In Audacity, choose the “Windows WASAPI” audio host.
Then choose an appropriate loopback device, such as “Speakers (loopback)” or “Headphones (loopback).”
Click the Record button to start recording the audio in Audacity, and then click Stop when you’re done. Because you’re using Audacity, you can easily trim and edit the sound file when you’re done.
If this doesn’t work, you may also need to select the correct number of recording channels to match your device using the dropdown box to the right of the device selection box. For example, If you have a 7.1 channel headset, select “8.”
Audacity’s tutorial website explains why this feature is actually better than Stereo Mix:
“WASAPI loopback has a big advantage over stereo mix or similar inputs provided by the audio interface. The capture is entirely digital (rather than converting to analog for playback, then back to digital when Audacity receives it).”
In other words, your recorded sound file will be higher-quality when using Audacity’s WASAPI loopback option.
Record Audio with Open Broadcast Software
Open Broadcast Software (OBS), usually pronounced “Oh-bee-ess,” is most popular with streamers on Twitch or Youtube. It isn’t just good for that, though — it is a very capable screen or audio recorder, too. OBS records video and audio by default, so you’ll have files in MP4 or MKV formats rather than a pure audio file, but it is simple enough to convert a video file to an audio-only file with VLC.
This is the main OBS window when you first launch the program. Note that the “Audio Mixer” section at the bottom of the window has a “Desktop Audio” input.
Make sure the microphone audio volume is turned down all the way if you have one connected to your system, so you don’t have to worry about separating the audio tracks later. The sound icon will turn bright red and display an “X” next to it when it is muted.
Then click “Start Recording” and capture all of your system’s audio output. When you’re done, click the “Stop Recording” button that replaces the “Start Recording” button. Your file will save to “C:Users(YourUserName)Videos” by default.
If you want to convert the file into an audio-only format, like MP3, you can do it with VLC.
Record Sound with the Xbox Game Bar
The Xbox Game Bar is mostly for recording video, but if you don’t mind a little bit of processing to remove the video, you can also use it to capture audio from a specific application. You cannot use the Game Bar to record your just desktop. However, seeing as the desktop doesn’t make sound by itself anyway, that isn’t a problem.
Open up the Game Bar by pressing Windows + G, then click the Audio button at the top to open the audio mixer settings.
You can adjust volume options on an app-by-app basis, which is extremely convenient if you know exactly which program you want to capture audio from. You can mute your microphone entirely in the “Voice” tab, too. Once you have your audio settings configured how you want them, click the Record button in the capture Window.
Once you’ve made your recording, you can find the video file in “C:Users(USERNAME)VideosCaptures” by default. Like with OBS, you’ll need to use a program like VLC to convert the video file into an audio-only file.
Record Sound with an Audio Cable
If neither of the first three options suit your needs, there’s always the low-tech solution — although it’s pretty janky. Just get an audio cable with a male 3.5mm connector on both ends. Plug one end into the line-out (or headphone) jack on your PC, and the other end into the line-in (or microphone) jack. You’ll stop hearing the sound your computer produces, but you can use any audio-recording program to record the “line in” or “microphone” input. To actually hear the sound, you could get a splitter, and then output the audio to headphones or speakers at the same time you direct it back into your computer.
Sure, this is inconvenient and silly compared to the software-only options we talked about. But, if you desperately need to capture the audio coming out of your computer in an application that isn’t Audacity or OBS, and you don’t have Stereo Mix, the cable trick allows you to do this.
Obviously, copyright laws may prevent you from distributing whatever recordings you make in this way, so don’t use these tricks for piracy!