What do you consider a good sync? #18
Replies: 2 comments 9 replies
-
Just some thoughts, without much background knowledge on my side: |
Beta Was this translation helpful? Give feedback.
-
@luar123 alright I think I got it now! changed some parts regarding latency measurement and time sync message sending. Also changed task priorities and pinned to core 1 and now the sync stays below +-500µs, often even below 200µs for quite a long time. I am very pleased with these results :)) |
Beta Was this translation helpful? Give feedback.
-
I have been fiddling around with syncing algorithm a lot but found that I can't do much better than around +-2ms. Sometimes it's perfectly synced, but then it drifts apart again, but mostly stays within +-2ms margin. This is also the case if I use two raspberry PI or put an ubuntu notebook client into the picture. If comparing two different hardware platforms against each other the deviation gets even "worse" up to 10ms or so, but that's to be expected I guess. So comparing two esp32 clients I get around +-2ms which also depends on which platform the server is running.
While doing some research I read that for multi room systems such offset of clients is good enough and I feel the same way when using the system at home.
But now I was thinking about using two clients to make a stereo system. I read client offset should be in the µs range. Is that really the case and what's considered a good sync in both cases?
Beta Was this translation helpful? Give feedback.
All reactions