---
title: 'Broadcast sound from a computer over a network to a smartphone using the SoundWire server'
url: 'https://ra1ahq.blog/en/translyaciya-zvuka-soundwire'
markdown: 'https://ra1ahq.blog/en/translyaciya-zvuka-soundwire.md'
lang: en
date: '2024-11-26'
description: 'For transmission to wireless headphones, Bluetooth is usually used, the radius of which is several meters. Using SoundWire, you can expand the availability of sound to an apartment or office where there is a Wi-Fi network. Descri'
taxonomy:
  category:
    - blog
  tag:
    - Linux
    - управление
  archives_month:
    - nov_2024
  archives_year:
    - '2024'
---

# Broadcast sound from a computer over a network to a smartphone using the SoundWire server

26 

 November 

 2024 

 ![Broadcast sound from a computer over a network to a smartphone using the SoundWire server](https://ra1ahq.blog/images/b/b/8/6/0/bb860072c97a560f5be42b50a7e2838a44b89399-soundwiretitle.webp)16:46

### Broadcast sound from a computer over a network to a smartphone using the SoundWire server

 [Linux](https://ra1ahq.blog/en/tag:Linux), [управление](https://ra1ahq.blog/en/tag:%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5) 

26 November 2024 16:46

For transmission to wireless headphones, Bluetooth is usually used, the radius of which is several meters. Using SoundWire, you can expand the availability of sound to an apartment or office where there is a Wi-Fi network.

### Description of the task

The task consists of three parts:

1)**sound source**- webcam with microphone, sound card input or Shortwave or WebSDR program in the browser
2)**server for digitizing and transmitting sound over the network** soundWire (free) for Linux
3)**sound client for playing on a smartphone speaker**- SoundWireFree for Android OS

### Why SoundWire?

I didn't want to use other servers and clients, such as Shoutcast or Tizonia, since the SoundWire option seemed simpler.

### About the SoundWire server

There are versions of the SoundWire server for various operating systems:

\*Windows 7/8/10/11

- Linux 64-bit (3.0 Qt5)
- Linux 32-bit (2.1.2 Qt4)
- Raspberry Pi 32/64-bit (3.1 & 2.1.2)
    \*WinXP
- Linux (all)

The distribution download is available from the home page <https://georgielabs.net/>. Since I have Linux Green x64 and Linux Mint x64 OS, so I downloaded the version [Linux x64 QT5](https://georgielabs.net/SoundWire_Server_linux64.tar.gz)(tar.gz archive).

### SoundWire Server Installation

Server (PC):

- File **SoundWire\_Server\_linux64.tar.gz** unpacked to ~/Downloads/SoundWireServer folder
- Started the SoundWireServer server:

To work, you need a library - the libportaudio2 dependency.

```
sudo apt install libportaudio2
```

To work, you need to open two UDP ports to the outside on the PC firewall:

```
sudo ufw allow 59010/udp
sudo ufw allow 59011/udp
```

Starting the server.

```
cd ~/Загрузки/SoundWireServer/
./SoundWireServer
```

The server begins to “record” sound in the system and broadcast it to the network. More precisely, the server starts transmitting data when connecting to port 59010 of the client. The second port 59011 is used to locate the server.

You can set the sound source in the "Volume Control" PulseAudio `pavucontrol`, which is launched by the "Open Pulseaudio Volume Control" button or in another way.
In the "Volume Control" we change the sound source, for example, to a webcam, which will be located next to the radio station being received.

**Setting up pavucontrol for a webcam:**
[ ![webcam](https://ra1ahq.blog/images/7/3/8/b/f/738bffeea587cbdb7f3ad4f713d0a2c3a849d77d-webcam.png "webcam")](https://ra1ahq.blog/images/5/1/6/f/c/516fc8d30ec82f7b64a3bdf7bde8882b528edfae-webcam.png)

**Webcam with microphone:**
[ ![mic](https://ra1ahq.blog/images/8/6/7/e/0/867e059725b284146712b86c9db5f007851b6eb9-mic.webp "mic")](https://ra1ahq.blog/images/0/2/8/c/7/028c78f1f9ea366d9ba2488f5144c1bc3eeff039-mic.webp)

If the goal is to broadcast sound from an application, for example, Shortwave (Internet radio station), we start playback in it. The sound source in this case is **Easy Effects sink**(removal of sound from the program)

[ ![shortwave_radio](https://ra1ahq.blog/images/e/d/f/7/0/edf70d1e4e02aa8b72e2cac8f58faf5462ce395e-shortwaveradio.png "shortwave_radio")](https://ra1ahq.blog/images/3/8/2/f/6/382f630526cdc6c528479af467b504640d32ccbe-shortwaveradio.png)

**Setting up pavucontrol for Shortwave:**
[ ![easyeffects](https://ra1ahq.blog/images/9/3/8/6/b/9386b73dbcc9199a5aa120b714f70c1fb178c8d3-easyeffects.png "easyeffects")](https://ra1ahq.blog/images/d/2/d/4/8/d2d48f43cd2cabc60f11d727e405825f3ad2ea95-easyeffects.png)

**Permanent server IP address**

It is necessary to fix the IP address - instead of dynamic IP, make it static (on the router).
Then, write down the IP address of the computer running the SoundWire server

```
ip addr
```

**Upsampling frequency from 44100 to 48000 Hz**

Terminated the SoundWire server and set the sample rate variable and started the server:

```
export SOUNDWIRE_SERVER_SAMPLE_RATE=48000
./SoundWireServer
```

### Installing and configuring the Android client

The client application can be installed from the store **Google Play**:

\*[I recommend "SoundWire - Audio Streaming"](https://play.google.com/store/apps/details)

We launch the server on the PC.
On the client in the application, you need to specify the server IP address and press "Enter",
when connected, the spiral symbol in the window will light up more brightly.
[ ![client](https://ra1ahq.blog/images/b/e/2/0/5/be205de9c39cea92cc7ab8b1b95784e35a84fa90-client.png "client")](https://ra1ahq.blog/images/6/b/e/4/f/6be4fa1263ed43a177a48924b81d6d0e7ccdfedd-client.png)

### Problems and solutions

1\) The free version displays the message “Free version” once every 30 minutes. You can buy [full version of SoundWire](http://play.google.com/store/apps/details), but you can do nothing.

2\) No sound - set the sound source in pavucontrol to "*Monitor of Build-In Audio Analog Stereo*" or webcam.

3\) Sometimes the sound is interrupted. - if you view pages in a web browser, the processor performance is not enough. Also, in the Android client settings, check the buffer size - I recommend 64 or 128 kB.

[ ![buffer](https://ra1ahq.blog/images/2/4/e/e/a/24eeaf84f30c28bd7b1e325d651f8f29513cc4af-buffer.png "buffer")](https://ra1ahq.blog/images/5/d/c/a/a/5dcaa08fd7a88ebe05ac4478d5294c80ca9a7929-buffer.png)

### Network speed requirements

Download speed 250 kbit/s, upload speed 120 kbit/s.
[ ![sysmon](https://ra1ahq.blog/images/1/3/3/d/9/133d971b77d621b7f377a6df2b4e2335be3b61e7-sysmon.png "sysmon")](https://ra1ahq.blog/images/2/a/0/0/7/2a007803d9b2a32dfb19b5ae742226ad21b47278-sysmon.png)

### Accessing the server on your home network from the Internet

See previous articles:
*[setting up L2TP on the router](https://ra1ahq.blog/vpn-po-protokolu-l2tp-za-5-minut)* [setting up PPTP on the router](https://ra1ahq.blog/vpn-po-protokolu-pptp-za-5-minut)
\*[setting up SSTP on the router](https://ra1ahq.blog/en/nastroika-sstp-servera-na-routere-zyxel)

### Related publications

 [ ![](https://ra1ahq.blog/images/f/3/a/2/c/f3a2c07ef5b32c0308ab703405a5a5ca87b75283-archer-ac600-728.webp) Installing the kernel driver for the TP-Link Wi-Fi adapter after updating the Debian OS ](https://ra1ahq.blog/en/ustanovka-draivera-yadra-dlya-wi-fi-adaptera-tp-link-posle-obnovleniya-os-debian) 

 [ ![](https://ra1ahq.blog/images/d/2/5/c/7/d25c7282750b398f71041fb8b90640b692e7e4b8-decibelfmtitle.png) Linux Cinnamon Desktop Applets for Listening to Internet Radio Stations ](https://ra1ahq.blog/en/applety-dlya-rabochego-stola-linux-cinnamon-dlya-proslushivaniya-internet-radiostancii) 

 [ ![No picture](https://ra1ahq.blog/user/themes/mytheme/images/no-image.png) Passing a parameter to a Linux module/driver ](https://ra1ahq.blog/en/peredacha-parametra-modulyu-draiveru-linux) 

 [ ![](https://ra1ahq.blog/images/5/c/4/e/a/5c4ea9c8c3f0b4dd890116d8fe7cbadfdb9814ba-archer-ac600.webp) Installing the TP-Link Archer T600U Nano Wi-Fi adapter driver in Debian 13 "Trixie" ](https://ra1ahq.blog/en/ustanovka-draivera-wi-fi-adaptera-tp-link-archer-t600u-nano-v-debian-13-trixie) 

 [ ![](https://ra1ahq.blog/images/b/f/f/0/f/bff0f99f5897e0420fac9a6eef7254247f39c29d-pulseaudio-equalizer.png) Installing the audio equalizer pulseaudio-equalizer-ladspa on Linux ](https://ra1ahq.blog/en/ustanovka-v-linux-ekvalaizera-zvuka-pulseaudio-equalizer-ladspa) 

[ Backward](https://ra1ahq.blog/en/ispolzovanie-smartfona-dlya-dostupa-v-internet-iz-os-linux "Previuous page")

[ Forward ](https://ra1ahq.blog/en/96-4-mgc-fm-novaya-radiostanciya-jazz-v-spb "Next page")

## Languages

- [Русский](https://ra1ahq.blog/posts/translyaciya-zvuka-soundwire)
- [English](https://ra1ahq.blog/en/translyaciya-zvuka-soundwire)
- [Deutsch](https://ra1ahq.blog/de/posts/translyaciya-zvuka-soundwire)
- [Français](https://ra1ahq.blog/fr/posts/translyaciya-zvuka-soundwire)
- [中文 (简体) (cn)](https://ra1ahq.blog/zh-cn/posts/translyaciya-zvuka-soundwire)

## Theme

## RSS feeds

 [ Atom 1.0](https://ra1ahq.blog/en/.atom) [ RSS](https://ra1ahq.blog/en/.rss) 

## Popular tags

 [APRS](https://ra1ahq.blog/en/tag:APRS) [CW](https://ra1ahq.blog/en/tag:CW) [DX](https://ra1ahq.blog/en/tag:DX) [FM](https://ra1ahq.blog/en/tag:FM) [Linux](https://ra1ahq.blog/en/tag:Linux) [VHF](https://ra1ahq.blog/en/tag:VHF) [antennas](https://ra1ahq.blog/en/tag:antennas) [firefox](https://ra1ahq.blog/en/tag:firefox) [morse](https://ra1ahq.blog/en/tag:morse) [soundtrack](https://ra1ahq.blog/en/tag:soundtrack) [video](https://ra1ahq.blog/en/tag:video) [windows](https://ra1ahq.blog/en/tag:windows) [youtube](https://ra1ahq.blog/en/tag:youtube) [КВ](https://ra1ahq.blog/en/tag:%D0%9A%D0%92) [ТВ](https://ra1ahq.blog/en/tag:%D0%A2%D0%92) [УКВ](https://ra1ahq.blog/en/tag:%D0%A3%D0%9A%D0%92) [антенны](https://ra1ahq.blog/en/tag:%D0%B0%D0%BD%D1%82%D0%B5%D0%BD%D0%BD%D1%8B) [безопасность](https://ra1ahq.blog/en/tag:%D0%B1%D0%B5%D0%B7%D0%BE%D0%BF%D0%B0%D1%81%D0%BD%D0%BE%D1%81%D1%82%D1%8C) [длинные волны](https://ra1ahq.blog/en/tag:%D0%B4%D0%BB%D0%B8%D0%BD%D0%BD%D1%8B%D0%B5%20%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B) [путешествия](https://ra1ahq.blog/en/tag:%D0%BF%D1%83%D1%82%D0%B5%D1%88%D0%B5%D1%81%D1%82%D0%B2%D0%B8%D1%8F) [религия](https://ra1ahq.blog/en/tag:%D1%80%D0%B5%D0%BB%D0%B8%D0%B3%D0%B8%D1%8F) [соревнования](https://ra1ahq.blog/en/tag:%D1%81%D0%BE%D1%80%D0%B5%D0%B2%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F) [спутники](https://ra1ahq.blog/en/tag:%D1%81%D0%BF%D1%83%D1%82%D0%BD%D0%B8%D0%BA%D0%B8) [средние волны](https://ra1ahq.blog/en/tag:%D1%81%D1%80%D0%B5%D0%B4%D0%BD%D0%B8%D0%B5%20%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B) [схемы](https://ra1ahq.blog/en/tag:%D1%81%D1%85%D0%B5%D0%BC%D1%8B) [тесты](https://ra1ahq.blog/en/tag:%D1%82%D0%B5%D1%81%D1%82%D1%8B) [трансивер](https://ra1ahq.blog/en/tag:%D1%82%D1%80%D0%B0%D0%BD%D1%81%D0%B8%D0%B2%D0%B5%D1%80) [управление](https://ra1ahq.blog/en/tag:%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5) [фотографии](https://ra1ahq.blog/en/tag:%D1%84%D0%BE%D1%82%D0%BE%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%B8) 

## Random post

 [ I'll be lucky!](https://ra1ahq.blog/en/random) 

## Archive of posts

- [ October 2026 ✒ 4 ](https://ra1ahq.blog/en/archives_month:oct_2026)
- [ September 2026 ✒ 9 ](https://ra1ahq.blog/en/archives_month:sep_2026)
- [ August 2026 ✒ 6 ](https://ra1ahq.blog/en/archives_month:aug_2026)
- [ July 2026 ✒ 13 ](https://ra1ahq.blog/en/archives_month:jul_2026)
- [ June 2026 ✒ 8 ](https://ra1ahq.blog/en/archives_month:jun_2026)
- [ May 2026 ✒ 2 ](https://ra1ahq.blog/en/archives_month:may_2026)
- [ April 2026 ✒ 6 ](https://ra1ahq.blog/en/archives_month:apr_2026)
- [ March 2026 ✒ 3 ](https://ra1ahq.blog/en/archives_month:mar_2026)
- [ February 2026 ✒ 7 ](https://ra1ahq.blog/en/archives_month:feb_2026)
- [ January 2026 ✒ 8 ](https://ra1ahq.blog/en/archives_month:jan_2026)
- [ December 2025 ✒ 12 ](https://ra1ahq.blog/en/archives_month:dec_2025)
- [ November 2025 ✒ 9 ](https://ra1ahq.blog/en/archives_month:nov_2025)
- [ October 2025 ✒ 8 ](https://ra1ahq.blog/en/archives_month:oct_2025)
- [ September 2025 ✒ 5 ](https://ra1ahq.blog/en/archives_month:sep_2025)
- [ August 2025 ✒ 8 ](https://ra1ahq.blog/en/archives_month:aug_2025)
- [ July 2025 ✒ 6 ](https://ra1ahq.blog/en/archives_month:jul_2025)
- [ June 2025 ✒ 10 ](https://ra1ahq.blog/en/archives_month:jun_2025)
- [ May 2025 ✒ 4 ](https://ra1ahq.blog/en/archives_month:may_2025)
- [ April 2025 ✒ 4 ](https://ra1ahq.blog/en/archives_month:apr_2025)
- [ March 2025 ✒ 4 ](https://ra1ahq.blog/en/archives_month:mar_2025)
- [ February 2025 ✒ 11 ](https://ra1ahq.blog/en/archives_month:feb_2025)
- [ December 2024 ✒ 8 ](https://ra1ahq.blog/en/archives_month:dec_2024)
- [ November 2024 ✒ 2 ](https://ra1ahq.blog/en/archives_month:nov_2024)
- [ October 2024 ✒ 8 ](https://ra1ahq.blog/en/archives_month:oct_2024)
- [ September 2024 ✒ 3 ](https://ra1ahq.blog/en/archives_month:sep_2024)
- [ August 2024 ✒ 5 ](https://ra1ahq.blog/en/archives_month:aug_2024)
- [ July 2024 ✒ 9 ](https://ra1ahq.blog/en/archives_month:jul_2024)
- [ June 2024 ✒ 6 ](https://ra1ahq.blog/en/archives_month:jun_2024)
- [ May 2024 ✒ 7 ](https://ra1ahq.blog/en/archives_month:may_2024)
- [ April 2024 ✒ 5 ](https://ra1ahq.blog/en/archives_month:apr_2024)
- [ March 2024 ✒ 5 ](https://ra1ahq.blog/en/archives_month:mar_2024)
- [ February 2024 ✒ 5 ](https://ra1ahq.blog/en/archives_month:feb_2024)
- [ January 2024 ✒ 6 ](https://ra1ahq.blog/en/archives_month:jan_2024)
- [ December 2023 ✒ 7 ](https://ra1ahq.blog/en/archives_month:dec_2023)
- [ November 2023 ✒ 4 ](https://ra1ahq.blog/en/archives_month:nov_2023)
- [ October 2023 ✒ 8 ](https://ra1ahq.blog/en/archives_month:oct_2023)
- [ September 2023 ✒ 7 ](https://ra1ahq.blog/en/archives_month:sep_2023)
- [ August 2023 ✒ 4 ](https://ra1ahq.blog/en/archives_month:aug_2023)
- [ July 2023 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jul_2023)
- [ June 2023 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jun_2023)
- [ May 2023 ✒ 5 ](https://ra1ahq.blog/en/archives_month:may_2023)
- [ April 2023 ✒ 6 ](https://ra1ahq.blog/en/archives_month:apr_2023)
- [ March 2023 ✒ 5 ](https://ra1ahq.blog/en/archives_month:mar_2023)
- [ February 2023 ✒ 2 ](https://ra1ahq.blog/en/archives_month:feb_2023)
- [ January 2023 ✒ 5 ](https://ra1ahq.blog/en/archives_month:jan_2023)
- [ December 2022 ✒ 7 ](https://ra1ahq.blog/en/archives_month:dec_2022)
- [ November 2022 ✒ 8 ](https://ra1ahq.blog/en/archives_month:nov_2022)
- [ October 2022 ✒ 6 ](https://ra1ahq.blog/en/archives_month:oct_2022)
- [ September 2022 ✒ 9 ](https://ra1ahq.blog/en/archives_month:sep_2022)
- [ August 2022 ✒ 8 ](https://ra1ahq.blog/en/archives_month:aug_2022)
- [ July 2022 ✒ 4 ](https://ra1ahq.blog/en/archives_month:jul_2022)
- [ June 2022 ✒ 9 ](https://ra1ahq.blog/en/archives_month:jun_2022)
- [ May 2022 ✒ 7 ](https://ra1ahq.blog/en/archives_month:may_2022)
- [ April 2022 ✒ 3 ](https://ra1ahq.blog/en/archives_month:apr_2022)
- [ March 2022 ✒ 4 ](https://ra1ahq.blog/en/archives_month:mar_2022)
- [ February 2022 ✒ 6 ](https://ra1ahq.blog/en/archives_month:feb_2022)
- [ January 2022 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jan_2022)
- [ December 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:dec_2021)
- [ November 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:nov_2021)
- [ October 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:oct_2021)
- [ September 2021 ✒ 10 ](https://ra1ahq.blog/en/archives_month:sep_2021)
- [ August 2021 ✒ 6 ](https://ra1ahq.blog/en/archives_month:aug_2021)
- [ July 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jul_2021)
- [ June 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jun_2021)
- [ May 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:may_2021)
- [ April 2021 ✒ 4 ](https://ra1ahq.blog/en/archives_month:apr_2021)
- [ March 2021 ✒ 4 ](https://ra1ahq.blog/en/archives_month:mar_2021)
- [ February 2021 ✒ 3 ](https://ra1ahq.blog/en/archives_month:feb_2021)
- [ January 2021 ✒ 4 ](https://ra1ahq.blog/en/archives_month:jan_2021)
- [ December 2020 ✒ 8 ](https://ra1ahq.blog/en/archives_month:dec_2020)
- [ November 2020 ✒ 2 ](https://ra1ahq.blog/en/archives_month:nov_2020)
- [ October 2020 ✒ 3 ](https://ra1ahq.blog/en/archives_month:oct_2020)
- [ September 2020 ✒ 3 ](https://ra1ahq.blog/en/archives_month:sep_2020)
- [ August 2020 ✒ 5 ](https://ra1ahq.blog/en/archives_month:aug_2020)
- [ July 2020 ✒ 5 ](https://ra1ahq.blog/en/archives_month:jul_2020)
- [ June 2020 ✒ 8 ](https://ra1ahq.blog/en/archives_month:jun_2020)
- [ May 2020 ✒ 10 ](https://ra1ahq.blog/en/archives_month:may_2020)
- [ April 2020 ✒ 4 ](https://ra1ahq.blog/en/archives_month:apr_2020)
- [ March 2020 ✒ 2 ](https://ra1ahq.blog/en/archives_month:mar_2020)
- [ January 2020 ✒ 1 ](https://ra1ahq.blog/en/archives_month:jan_2020)
- [ December 2019 ✒ 2 ](https://ra1ahq.blog/en/archives_month:dec_2019)

## Search

## Weather forecast

[На 14 дней](https://world-weather.ru/pogoda/russia/saint_petersburg/14days/)
[world-weather.ru](https://world-weather.ru/)

---

## Navigation

- Parent: [RA1AHQ](https://ra1ahq.blog/en/index.md)
- Previous: [96 .4 MHz FM - new Jazz radio station in St. Petersburg](https://ra1ahq.blog/en/96-4-mgc-fm-novaya-radiostanciya-jazz-v-spb.md)
- Next: [Using a smartphone to access the Internet from Linux OS](https://ra1ahq.blog/en/ispolzovanie-smartfona-dlya-dostupa-v-internet-iz-os-linux.md)
