Testing 4.0-dev-154, audio sync & dsp with multi room #1224
Replies: 4 comments 19 replies
-
If I had to guess the sync issue is coming from the AVR. I have a few Roku TVs (Which have AirPlay 2 built in) and one is using HDMI ARC to connect to my AVR and it is always out of sync (behind) the other Roku TV which is using the built in speakers. |
Beta Was this translation helpful? Give feedback.
-
Do you have subwoofers attached to your Marantz 5009? I found that my Denon (Marantz cousin) X4400H needs to be in "unprocessed stereo" mode to avoid ~500ms of latency, and that even Stereo + Subs (2.1) introduced notable lag. You can always hook up a cheap analog amp to check this. Not very likely, but the other thing is to look at the As a last resort: I haven't yet test it, but @mikebrady did explore negative sync offsets and made some improvements there. There is less leeway for negative offset apparently in AP2, but some modest amount may be possible. I think this is still the operational config:
|
Beta Was this translation helpful? Give feedback.
-
In terms of "what constitutes good sync", it's helpful to know that sound travels about one foot per millisecond, so a 30ms lag would occur if you were 30 ft closer to one set of speakers than the other. Probably can't aim for anything much better than this. From your description I bet you have 500ms of lag, and I'd guess the Marantz is to blame. |
Beta Was this translation helpful? Give feedback.
-
Thanks for looking into this, @PaulWieland. Like @noelhibbard and @jdtsmith, I'd be suspicious that any amplifiers or headphones with a digital aspect to them would introduce some delay. As @jdtsmith suggests, an analog-only amp would not introduce a delay. Analog-only headphones are good too -- I can't tell you how many times I geeked out wearing two sets of headphones, one on each ear, checking for good sync. 🙂 |
Beta Was this translation helpful? Give feedback.
-
TLDR - digital signal processing works, but there are some multi room output sync issues that I'm trying to work out.
I'm currently testing with two endpoints, an Raspi 4 running Shairport Sync have a Raspi 4 and an Apple TV as end points. The aTV is plugged into a Marantz SR8001 via HDMI, driving KLF 20 speakers. The Raspi 4 is plugged into a Marantz SR5009 using analog audio and is driving a set of Bose 901s.
Of interest is that I am using Shairpoint-sync's built in DSP capability instead of the Bose 901 equalizer.
Build Version:
4.0-dev-154-g87c5888-AirPlay2-OpenSSL-Avahi-ALSA-soxr-convolution-metadata-dbus-sysconfdir:/etc
Digital Signal Processing always introduces lag, so I was expecting to hear additional lag with DSP enabled compared to when it is disabled, however the results aren't so clear.
I have tested stream from iOS, macos Music.app and from my aTV to the raspi.
No matter which client I use, or whether DSP is enabled or disabled the results are similar.
The Raspi lags slightly behind the the aTV in varying amounts. Stopping or starting, disconnecting and reconnecting affect the amount of sync that is lost. Sometimes the sync is very close, other times its too far off to listen to.
I am looking into ways I can objectively test the audio latency between the two endpoints, as its really hard to quantify the results just by listening.
Beta Was this translation helpful? Give feedback.
All reactions