Linux Applications

Bootstrap Example

Install SoundWire in Ubuntu 18.10 (Cosmic Cuttlefish)

Play the audio from pc/laptop and listen the audio on your android Mobile

What is SoundWire ?

SoundWire is an application that plays the audio of your PC/Laptop and can streame it on Android mobile
Use your old Android mobile as wireless speaker for your Desktop...

How SoundWire Works ?

SoundWire works on your Local Area Network (LAN) /Wireless Local Area Network (WLAN)
Uses the UDP protocol to transfer data the from PC to Mobile when both are connected in same Network.

How to use SoundWire?

This Application run as Client-Server Model,the SoundWire should be run as Server on PC/Laptop.Client app installed in mobile.
Make Sure that the Pc and Mobile must be connected to same network with same Wlan.
 

Install SoundWire on Ubuntu 18.10

 
Download the Sound Wire Application from the Official Website Click here
  • Download the latest Linux 32/64-bit (2.1.2)
  • Extract the .tar.gz file to any location in pc
  • Now you will see SoundWire Directory with some files inside.
 

Packages Need to install before run the Sound wire Application.

 
  • Install Gufw Package its a python package
  •  
    Install using this command:
  • sudo apt-get install gufw
  •  
  • Now you will see Firewall Configuration app in the GNOME apps menu.Icon as shown:

    • Open the Firewall Configuration app
    • Now we have to configure the ports 59011 and 59010 as UDP

    Configuration:


    • Create a Firewall profile.Ex:Home,Personal
    • Allow the Status.
    • Deny the Incoming
    • Allow the Outgoing, because the data stream should send as outgoing
    • Configuration as shown:


    • Click on Rules,Add a new Rules by clicking on the +
    • Navigate to Simple tab and add protocol UDP and ports 59010 and 59011 both.
    • Now status looks like this i,e ports are in listening mode


  • Install Pulse Audio Volume Control (pavucontrol) Package
  •  
    Install using this command:
  • sudo apt-get install pavucontrol
  •  
  • Install portaudio Package
  •  
    Install using this command:
  • sudo apt-get install libportaudio2
  •  
  • Install libcurl Package
  •  
    Install using this command:
  • sudo apt-get install libcurl4-gnutls-dev
  •  

    (or)

  • sudo apt-get install libcurl4-openssl-dev
  •  

    After installation any errors in libcurl.Try this

  • sudo apt-get install libqtgui4:amd64
  •  

    We are almost completed the SoundWire Server Setup!!!

     
    • Now lauch the application from the SoundWire Directory
    • Run the SoundWire Server directly from the Directory (or) by command line as : ./SoundWireServer
    • Once Application runs.It looks like this :
     
    • Here green status line : Audio capture running at 44.1 KHz .This means everythings is working.
    • If not Check the Pavu Controls as shown:


    Installing the Client app on Mobile phone:


    • Download the SoundWireFree app from Google play store. Click here
    • Once installed open the app and enter the Server IP Address which is displayed on pc.Ex:Local IP (192.168.1.1)
    • Here we go once ip added it will automatically submitted.The status on pc shows Connected.
    • Now You can stream the Audio from Pc to your Android mobile.
    • There are plenty of options/settings in mobile select any as per your requirement.