How to forward all your computer’s audio to a remote computer using PulseAudio

Thursday, December 2nd, 2010 by (See all posts by )

In some cases, you might find yourself wanting to forward all of your computer’s audio to another machine. This can be useful in a variety of situations. Maybe you want to play a quick song using your desktop PC’s powerful speakers rather than on your sub-par laptopĀ  speakers, or maybe you want to wirelessly setup and control your music playlist from afar, without having to move and hook up additional speakers. Whatever the reason, forwarding your audio to another machine over the network is a simple and easy process with PulseAudio.

PulseAudio is a cross-platform sound server that provides significant functionality. In this article, I am going to show you how you can use PulseAudio in Ubuntu to forward all of your computer’s audio to a remote computer. Since PulseAudio is cross-platform, this process can also be accomplished on Windows, so these steps should also be possible on Windows.

Instructions

Step 1

Install the PulseAudio preferences application on the remote computer you would like to forward the sound to using your distribution’s package manager.

Ubuntu / Debian

sudo apt-get install paprefs

Step 2

Launch the PulseAudio preferences by running paprefs.

Under the “Network Access” tab, select the checkbox to make it available on the network.

Under the “Network Server” tab, select the checkboxes to enable network access to local sound devices.

Note: Because we are assuming access will be on the local network, we have disabled authentication for the sake of simplicity. You will not want to do this if you are trying to forward audio over an unsecure network.

Step 3

On the local computer, install the PulseAudio device chooser:

Ubuntu / Debian

sudo apt-get install padevchooser

Step 4

Run the PulseAudio device chooser by running padevchooser. Then select the tray icon and select “Default Server”-> “Other…”

Step 5

In the prompt, type in the hostname or IP address of the remote server.

That’s it! Now all system sounds from your local machine will be forwarded to the remote speakers!

5 Responses to “How to forward all your computer’s audio to a remote computer using PulseAudio”

  1. Worldwidejay says:

    Thank you! My wife just got the soundsystem connected to her desktop computer, and I have been dying to hear some of my old tunes, that I had stored on my laptop. Thank godness it was cross-platform though, due to me still running on Windows Xp.

  2. Orrymain says:

    Goodness, yes, this is something I have needed to have going for a long time now. There are so many ways in which this is going to be extremely helpful to me and co-workers as well. Thank you for the post!

  3. dipbunny says:

    Thank you! Now I can forward the songs and albums which my friend has. Some of his songs are really rare to find that’s why this can help me.

  4. zrimax says:

    all those check buttons are disabled on my ubuntu 11.10 PC. can you tell me how to enable those. (results are same even run as root)

  5. saz says:

    How can I forward the sound from my Ubuntu laptop to a Windows PC?

Leave a Reply