News for hackers. Stuff that matters.
Re:Show HN: Beatsync – perfect audio sync across multiple de... by chaosprint on Wednesday April 30, 2025 @11:30AM (#43846643)
have you considered using webtransport?

When I was developing Glicol (https://glicol.org/) sync, the main challenge is network jitter. Had to give it up eventually.

Furthermore, have you factored in the synchronization as perceived by the listener?

Also, it seems system-level differences, particularly in audio output latency across various OS and hardware setups, would need to be considered.

What I mean is, the variation in inherent audio output latency between different systems (e.g., Mac vs. Windows, different hardware) could easily exceed 10ms in itself.

Re:Show HN: Beatsync – perfect audio sync across multiple de... by freemanjiang on Wednesday April 30, 2025 @12:13PM (#43847270)
Practically, the network jitter is averaged out in the clock synchronization calculations, and even output latency is remarkably well-behaved. Have you tried it on different devices? It is only noticeable when there's an external device connected to the computer.