Beatsync: millisecond-accurate, multi-device audio playback that you can self-host

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Developers building multi-device audio apps get an open-source, self-hosted alternative to ecosystem-locked sync solutions they can clone and run today.

Read this as

Beatsync is a free, open-source project by freeman-jiang that lets you play the same music on many phones, laptops or speakers at exactly the same moment, accurate to a few milliseconds. You run the server yourself, no cloud, accounts or ads, and any device with a web browser joins the group. It's aimed at parties, art installations or developers building sync features.

Beatsync is a self-hosted, open-source alternative to Bluetooth multipoint and cloud-dependent multi-room audio, keeping devices aligned within milliseconds without proprietary hardware. Cost is effectively zero beyond a server, though no deployment scale, community size or license details are given. It suits developers and hobbyists rather than consumers wanting plug-and-play multi-room audio.

Beatsync coordinates browser-based playback via a server in Go and a vanilla JavaScript client, with devices joining at port 8080. It uses a modified NTP-style protocol to estimate per-client clock offsets against the server and compensates in real time over WebSocket, tolerating jitter and drift within a few milliseconds. Docker deployment is documented; no formal latency benchmarks are published.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Beatsync freeman-jiang Web Audio API Go Docker WebSocket

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading