I recently acquired two computers because the university bought new ones. I connected them to my two sound system (I managed to acquire two old sound systems some time ago) using a jack 3.5 output. I've put them on opposite sides of my room (yes it's just the one room) and I would like to sync the sound output of both pc's using wifi.
Normally I would just use vlc, correct for the delay and be done with it but unfortunately I'm not streaming mp3 files but actual sound from the internet.
I do not care if there is a delay between receiving the sound and actual playing the sound I just want these two pc's sound systems synced.
The distance between the two computers and sound systems is to long to be able to cheaply run a jack cable between them without sound quality loss.
Does anyone know how to do this?
Since I do not have 2 PCs readily available, I'm not sure that this works. But by experimenting around this solution you should be able to get it to work.
Let's say you want to work from PC1 and play sounds on both PC1 and PC2.
On both PC1 and PC2:
Install PulseAudio Preferences:
On PC1 only:
Network Access
tab enableMake discoverable PulseAudio network...
. This will make the sound device in PC2 accessible from PC1, if allowed by PC2.On PC2 only:
Network Server
tab checkEnable network access to local sound devices
andAllow other machines on LAN to discover local sound devices
. This makes the sound device in PC2 visible to PC1.Don't require authentication
- that will allow others on the LAN to spam your sound system.Providing authentication:
Copy
~/.pulse-cookie
file from one of the PCs to the other, so that that file is identical in both PCs. It doesn't matter which PC's file is copied to the other.At this point (possibly after rebooting the two PCs), you should be able to play sounds from PC1 on PC2's sound system:
On PC1
Output
tab change to PC2's sound device (Under the list "Play sound through").Now you want the sound server on PC1 to forward sounds to both sound devices (available locally to it). For this you have to create a virtual sound device whose slaves are the two available devices. An easy of doing this is
On PC1:
Simultaneous Output
tab, enableAdd virtual...
.Notes:
pacmd
'smodule-combine
option to combine only select sinks.Sources:
Since the two systems are in the same room, and assuming playing the same audio track.Is it possible for you to just run long cables from one computer? So you can take one computer and attach a 3.5 jack splitter (if there is only one) attach one set of speakers to one of the outputs and the other set of speakers to the second output (you should be able to find 3.5jack extension cables if the one provided is not long enough). Or is the key to this set up to be strictly wireless?