SoundShare is a simple application to allow audio from one PC to be transmitted over a local network and played on another PC.
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
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.