Lurker News
Hi HN! I made Beatsync, an open-source browser-based audio player that syncs audio with millisecond-level accuracy across many devices.

Try it live right now: https://www.beatsync.gg/
The idea is that with no additional hardware, you can turn any group of devices into a full surround sound system. MacBook speakers are particularly good.
Inspired by Network Time Protocol (NTP), I do clock synchronization over websockets and use the Web Audio API to keep audio latency under a few ms.
You can also drag devices around a virtual grid to simulate spatial audio — it changes the volume of each device depending on its distance to a virtual listening source!
I've been working on this project for the past couple of weeks. Would love to hear your thoughts and ideas!

Comments (128) 50 threads

Earlier comments
fitsumbelay#
This has been popping up in various feeds of mine since yesterday (Mon 4/28)

Although I know nothing about NTP or networking really I appreciate the use of Boring Old Tech for making this awesome software

h2zizzle#
Glad to see that one scene from Rainbows End/the thing I had to tell every Best Buy customer was impossible FINALLY become a reality. P3 All-Out Attack time. Kudos.
slmkbh#
I did something similar with pulseaudio about 15 years ago, had an old thinkpad running Debian, and then multicast activated on my source. Worked surprisingly well!
alana314#
This works insanely well. What is your intended use for this? Multi room playback? Listening to music with friends?

Load more comments