From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 16 Oct 2022 21:35:58 +0000 (+0100) Subject: Update AdjustingSync.md X-Git-Tag: 4.1-rc3~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aa860ff9869ffcea4747cfdd3a5e69569a57b80;p=thirdparty%2Fshairport-sync.git Update AdjustingSync.md --- diff --git a/ADVANCED TOPICS/AdjustingSync.md b/ADVANCED TOPICS/AdjustingSync.md index cc4627f8..26c2cae9 100644 --- a/ADVANCED TOPICS/AdjustingSync.md +++ b/ADVANCED TOPICS/AdjustingSync.md @@ -2,13 +2,13 @@ Sometimes, a timing difference can be heard, where the audio coming from the SPS-powered device is slightly ahead or slightly behind another device playing in synchrony. This can sometimes be heard as an irritating "echo". -This is usually due to audio amplifier delays. +This is usually due to audio amplifier delays: * If your audio output device (including the amplifier in a TV) includes any digital processing component, it probably delays audio while amplifying it. * If your output device is a HDMI-connected device such as a TV or an AV Receiver (AVR), it will almost certainly delay audio by anything up to several hundred milliseconds. -In these circumstances, if the output from the SPS device is amplified by a conventional analog-only HiFi amplifier – which has almost no delay – it will be early by comparison with audio coming the other device. +In these circumstances, if the output from the SPS device is amplified by a conventional analog-only HiFi amplifier – which has almost no delay – it will be early by comparison with audio coming from the other device. Conversely, if the output from the SPS device is passed through an AVR, then it could be late by comparison with audio amplified by a conventional audio amplifier. @@ -16,7 +16,7 @@ The fix for this is to get Shairport Sync to compensate for delays by providing The setting to look for is in the `general` section of the Shairport Sync configuration file and is called `audio_backend_latency_offset_in_seconds`. By default it is `0.0` seconds. -To delay the output from the SPS device by 100 milliseconds (0.1 seconds), set the `audio_backend_latency_offset_in_seconds` to `0.1`, so that audio is provided to your output device 100 milliseconds later than nominal synchronisation time. +For example, to delay the output from the SPS device by 100 milliseconds (0.1 seconds), set the `audio_backend_latency_offset_in_seconds` to `0.1`, so that audio is provided to your output device 100 milliseconds later than nominal synchronisation time. Similarly, to get the output from the SPS device 50 milliseconds (0.05 seconds) early, set the `audio_backend_latency_offset_in_seconds` to `-0.05`, so that audio is provided to your output device 50 milliseconds earlier than nominal synchronisation time.