{"by":"freemanjiang","descendants":128,"id":43835584,"kids":[43836877,43836969,43836874,43838020,43845569,43836717,43841309,43839097,43838414,43838479,43837691,43846398,43837994,43843012,43836762,43839009,43837511,43846643,43836955,43841281,43843424,43842964,43845519,43841507,43844556,43841630,43856548,43840281,43839797,43844229,43842423,43861070,43843305,43843419,43840960,43842979,43837817,43836680,43851700,43841394,43837884,43838489,43837821,43839613,43836868,43838540,43836513,43838175,43836931,43842459],"score":439,"text":"Hi HN! I made Beatsync, an open-source browser-based audio player that syncs audio with millisecond-level accuracy across many devices.<p>Try it live right now: <a href=\"https:&#x2F;&#x2F;www.beatsync.gg&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;www.beatsync.gg&#x2F;</a><p>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.<p>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.<p>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!<p>I&#x27;ve been working on this project for the past couple of weeks. Would love to hear your thoughts and ideas!","time":1745947945,"title":"Show HN: Beatsync – perfect audio sync across multiple devices","type":"story","url":"https://github.com/freeman-jiang/beatsync"}