Re:Show HN: Beatsync – perfect audio sync across multiple de...
by raisedbyninjas on Tuesday April 29, 2025 @07:20PM
(#43839216)
For devices with mics, can you have them play a test chirp to measure the latency of Bluetooth or other laggy sound stack?
Re:Show HN: Beatsync – perfect audio sync across multiple de...
by hn8726 on Wednesday April 30, 2025 @04:31AM
(#43842575)
Bluetooth audio devices that I use tend to change the protocol as soon as it switches to headset mode (with microphone enabled), which works terribly for music. I imagine the protocol used when the microphone is enabled might have completely different latency characteristics than the one used purely for audio, so a chirp might be measuring completely different thing
Re:Show HN: Beatsync – perfect audio sync across multiple de...
by sokka_h2otribe on Wednesday April 30, 2025 @07:53AM
(#43843916)
You could use a different device in the swarm for measurement, but yeah it seems pretty quickly complicated! I have no idea as well how stable the latency is
Re:Show HN: Beatsync – perfect audio sync across multiple de...
by apitman on Wednesday April 30, 2025 @08:58PM
(#43852531)
BTLE has built-in features for latency detection right?
Re:Show HN: Beatsync – perfect audio sync across multiple de...
by WhtWsThtAgn on Wednesday April 30, 2025 @11:13AM
(#43846426)
Awesome project!
If you support mic input, you can allow the user to select a device as the "nexus" with mic recording on. Then you tell each device in your setup to "chirp" at the same exact time, but at different frequencies. Then you can derive the individual device's "local delay" and compensate.
This allows you to tune the surround setup to full accuracy for a given point in space, and it will take care of ring buffer differences, wireless transfers of non-teathered speakers, etc.
The instant you start having wireless speakers (eg. bluetooth) or any sort of significant delay between commanding playback and the actual sound coming out, the latency becomes audible.