Categories: TutorialsUbuntu

How to manage Audio using PulseAudio on Ubuntu 24.04

PulseAudio manages the audio output from your Linux programs. It acts as a sound server, or a middleman, that can adjust the audio before it reaches your speakers.

PulseAudio can combine audio from multiple programs (mixing), change the audio format, adjust the number of channels, and even send audio from one computer to another.

This guide explains how to manage sound on Ubuntu 24.04 using PulseAudio.

Enabling different Software Sources

First, make sure that the ‘main’, ‘universe’, ‘multiverse’, and ‘restricted’ software sources are enabled on your Ubuntu 24.04 system. This is important because some packages you’ll need to install will be downloaded from these sources.

Sponsored

To do this using the graphical interface, search for the “Software & Updates” application by typing ‘software’ in the activities overview, as shown below.

Read: How to use Bluetooth Headset on Ubuntu 20.04

When the application opens, confirm that the checkboxes are selected as shown in the image below.

Now, close the “Software & Updates” application and run the following command in the terminal to refresh the list of available packages:

sudo apt update

Read: How to display your sound card details using the terminal on Ubuntu 22.04

PulseAudio Installation

Install PulseAudio using this command:

sudo apt install pulseaudio

You will need to restart your computer afterward.

Read: How to troubleshoot sound issues in Ubuntu 22.04

PulseAudio Volume Control: Pavucontrol

To configure sound volume with a graphical interface, you’ll need to install the PulseAudio Volume Control (Pavucontrol). Run this command to install it:

sudo apt install pavucontrol

Type ‘y’ and press Enter to proceed.

To launch Pavucontrol, go to the activities overview and type ‘pulse’ in the search box, as shown below:

Click on the Pavucontrol icon. The following window will appear:

Sponsored

In the “Output Devices” tab, you can adjust the sound output by moving the slider left or right.

To mute or unmute the audio, click the toggle button, as shown below, in the “Output Devices” tab.

PulseAudio lets you manage your speakers independently. Clicking the lock button in the “Output Devices” tab will reveal two sliders, as seen in the image below:

In the “Input Devices” tab, you can manage the audio from your input sources using the slider, as shown here:

You can choose different input devices (like Microphone, Line In, Analog Input, or Video) from the “Port” dropdown menu in the “Input Devices” tab.

Just like with output, clicking the Lock button will display two separate sliders:

If you have multiple input devices, you can choose which ones to display using the “Show” dropdown menu in the “Input Devices” tab.

You can also select different sound profiles in the “Configuration” tab. By default, “Analog Stereo Duplex” is selected.

The “Playback” tab allows you to manage the audio for specific applications. Any running media player will appear here, and you can adjust its volume using the slider.

Read: How to download YouTube video or audio

For example, if you’re using VLC Media Player, it will be listed in the “Playback” tab:

You can also manage audio during recording. Recording controls are located in the “Recording” tab. Here’s an example using GNOME Recorder:

 

The post How to manage Audio using PulseAudio on Ubuntu 24.04 appeared first on net2.

Ubuntu Server Admin

Recent Posts

Ubuntu Weekly Newsletter Issue 881

Welcome to the Ubuntu Weekly Newsletter, Issue 881 for the week of February 23 –…

6 hours ago

Experiment Tracking with MLFlow in Canonical’s Data Science Stack

Welcome back, data scientists! In my previous post, we explored how easy it is to…

13 hours ago

How to Install vLLM on Linux Using 4 Easy Steps

In this article, we will see how to install vLLM on Linux using 4 easy…

17 hours ago

Ubuntu Weekly Newsletter Issue 880

Welcome to the Ubuntu Weekly Newsletter, Issue 880 for the week of February 16 –…

2 days ago

Ubuntu Weekly Newsletter Issue 880

Welcome to the Ubuntu Weekly Newsletter, Issue 880 for the week of February 16 –…

2 days ago

Ubuntu 24.04.2 LTS released

The Ubuntu team is pleased to announce the release of Ubuntu 24.04.2 LTS (Long-Term Support)…

2 days ago