Skip to content

SoundShare is a simple application to allow audio from one PC to be transmitted over a local network and played on another PC.

License

Notifications You must be signed in to change notification settings

LucasDower/SoundShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoundShare

SoundShare is a simple application to allow audio from one PC to be transmitted over a local network and played on another PC.

⚠️ This repo has only been tested in Windows. Differences in sockets and port handling on UNIX may cause errors.

Install

The project uses Python and requires PyAudio which can be installed with

$ pip install pyaudio

If an error occurs, on Windows, try

$ pip install pipwin
$ pipwin install pyaudio

Usage

The host which is sending the audio data is the transmitter and the host which is receiving and playing the audio data is the receiver.

Firstly, the receiver should execute receiver.py

$ python receiver.py

This will describe the local IP and port number which the transmitter will be asked for upon executing transmitter.py

$ python transmitter.py

Additionally, the transmitter will be asked which audio device to record from. Typically, only input devices such as microphones will be supported.

To allow for recording for 'what you hear', on Windows, go to the Sound Control Panel, navigate to the Recording tab, and enable 'Stereo Mix'. This device will now appear in the menu given when executing transmitter.py. If 'Stereo Mix' does not appear, ensure 'Show Disabled Devices' is checked. If that still does not work, install a custom loopback.

About

SoundShare is a simple application to allow audio from one PC to be transmitted over a local network and played on another PC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages