The de facto Linux sound-mixing system
Doing the Routing
To record the output of Firefox into Audacity, start by making sure that both applications are running.
One problem that you might run into is that, regardless of your chosen backend, Audacity only adds itself to the audio system when it is recording or playing. For this reason, press the Record button and then press Pause to be able to find it within qpwgraph. It was called PipeWire ALSA [audacity]/ALSA Capture [audacity] [ALSA Capture] on my setup.
As soon as you open a website that can play back sound in Firefox, it should appear on the graph, and each tab has its own node on the graph. In qpwgraph, drag from the green output connectors on the appropriate output node to the input connectors on the Audacity node (Figure 5). In all likelihood, the inputs of your sound device will already be connected to the inputs of Audacity. There's a chance that these might introduce some unwanted background noise. For this reason, disconnect them (left-click on the connection wire, and the right-click and select disconnect).
You should now be ready to start recording Firefox's audio output. In Audacity, press the Pause button to recommence the recording. In Firefox, press the Play button to begin playback. Switch back to Audacity and you should see the waveform filling up the window. Thankfully, this panel resizes itself in real time. When the audio that you wanted to capture has concluded, press the Stop button in Audacity.
Because I had to start the recording before I started playback in Firefox, there is a gap at the beginning (see Figure 6) that you'll probably want to erase. Zoom in to the beginning of the recording (Ctrl+mouse wheel) and use the scrollbar at the bottom of the screen to make sure you're at the beginning, drag over the silent part at the beginning of the waveform, and press Delete to remove it.
Conclusion
Hopefully, this article has provided an overview of PipeWire's abilities and how you can use it. PipeWire even has facilities for routing video, but I didn't cover that subject this time around because I don't feel there are as many essential use cases for video and PipeWire at this stage of its evolution.
Years ago, PulseAudio caused a bit of turbulence when it was added to popular distros like Ubuntu. The inclusion of PipeWire seems to have gone much more smoothly, to the extent that most users probably don't even know they're using it. That's the strength of PipeWire: It transparently handles the routing for ALSA, PulseAudio, and JACK-based applications, plus it has the configuration complexity and advanced features professional users require.
Michael Reed
Little did Michael Reed know where purchasing those "Winter 1996" Linux CD-ROMs would lead. He's been knocking about in computer publications since the mid-2000s. In his spare time, he's out on his bicycle, doing some DIY, dancing in clubs, and singing and guitar slinging, though not all at once.
Infos
- PipeWire: https://pipewire.org
- cpupower-gui: https://github.com/vagnum08/cpupower-gui
- Ardour: https://ardour.org/
- Qtractor: https://www.qtractor.org/
- Audacity: https://www.audacityteam.org/
« Previous 1 2 3 4
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Two New Distros Adopt Enlightenment
MX Moksha and AV Linux 25 join ranks with Bodhi Linux and embrace the Enlightenment desktop.
-
Solus Linux 4.8 Removes Python 2
Solus Linux 4.8 has been released with the latest Linux kernel, updated desktops, and a key removal.
-
Zorin OS 18 Hits over a Million Downloads
If you doubt Linux isn't gaining popularity, you only have to look at Zorin OS's download numbers.
-
TUXEDO Computers Scraps Snapdragon X1E-Based Laptop
Due to issues with a Snapdragon CPU, TUXEDO Computers has cancelled its plans to release a laptop based on this elite hardware.
-
Debian Unleashes Debian Libre Live
Debian Libre Live keeps your machine free of proprietary software.
-
Valve Announces Pending Release of Steam Machine
Shout it to the heavens: Steam Machine, powered by Linux, is set to arrive in 2026.
-
Happy Birthday, ADMIN Magazine!
ADMIN is celebrating its 15th anniversary with issue #90.
-
Another Linux Malware Discovered
Russian hackers use Hyper-V to hide malware within Linux virtual machines.
-
TUXEDO Computers Announces a New InfinityBook
TUXEDO Computers is at it again with a new InfinityBook that will meet your professional and gaming needs.
-
SUSE Dives into the Agentic AI Pool
SUSE becomes the first open source company to adopt agentic AI with SUSE Enterprise Linux 16.

