AV Latency.com Toolkit

Index

Overview

The AV Latency.com Toolkit is a software suite that makes use of inexpensive, commonly available consumer electronics to accurately measure audio latency of sink devices.

You can download the latest version of the AV Latency.com Toolkit on the GitHub releases page:

Capabilities and Limitations

Supported Interfaces and Audio Formats

  • HDMI 2.0 (18 gbps TMDS)1
    • LPCM
    • 44.1 kHz, 48 kHz, 96 kHz, 192 kHz
    • 16-bit or 24-bit2
    • 2 to 8 channels, any speaker configuration
  • S/PDIF
    • LPCM
    • 44.1 kHz, 48 kHz, 96 kHz, 192 kHz
    • 16-bit or 24-bit3
    • 2 channels

Features

  • Automatically measures any number of different audio formats and records detailed results to a spreadsheet (CSV) file on your computer. No manual audio format switching required.
  • Highly accurate and consistent, verified with an oscilloscope. Supporting research published on the GitHub wiki.
  • Also supports measuring HDMI Audio Passthrough Latency.
  • Fully open source under the MIT license; you can copy it, make private changes, and even sell it if you wanted.

Limitations

  • No Dolby or DTS format support
  • Not an all-in-one package: you must use your own computer and purchase audio cables and devices individually

Future Updates

Some of the above limitations may be addressed in future updates. See the Future Features for a list of features that may be introduced later.

Instructions for Use

Video transcript

This toolkit works by using the Mic port of your computer to record the analog output of a dual-output reference audio device, such as an HDMI audio extractor, and the audio output of the device under test. It then measures the time offset between the two recordings.

This raw time offset doesn’t guarantee any sort of accuracy to the measurements, even though it may be very consistent. To correct this, the offset between analog audio output and the digital audio output for each reference audio device has been measured using an oscilloscope to produce a profile that is used by the toolkit to calculate accurate measurements.

AV Latency.com Toolkit cable diagram and example for HDMI Audio Latency tool. HDMI audio passthrough latency measurements require similar cables and devices.

The apps are designed to walk you through the process of measuring latency, so I recommend simply downloading the toolkit and giving it a try once you meet the hardware requirements!

Hardware Requirements

✨ The AV Latency.com Toolkit is designed to work with average computers and common audio equipment that you may already have. Besides the reference devices, you can use your existing hardware to reduce cost and waste.

  1. Dual-Out Reference Device (~USD $35)
  2. Computer with Windows 7 or Higher4 and HDMI Output5
  3. Stereo Analog Audio Input (Built into computer or ~USD $15)
  4. Analog Audio Cables (~USD $8)
  5. Analog Microphone (~USD $20)

Total cost (excluding computer) = ~USD $63 to $78

Optional Hardware:

  1. Reference DAC for HDMI Audio Passthrough to ARC Latency (~USD $30)
  2. Reference DAC for HDMI Audio Passthrough to eARC Latency (USD $188.006)
  3. Cable for Direct Speaker Connection

Dual-Out Reference Device

HDV-MB01 HDMI Audio Extractor

HDV-MB01 HDMI Audio Extractor

A supported dual-output reference device, such as this specific HDMI audio extractor, is required for accurate measurements. This OEM device sold under the following names:

Stereo Analog Audio Input

Stereo analog mic audio port
Plugable USB Audio Adapter

Stereo analog audio input (44.1 kHz or higher)

A “mic” port, rather than a “line in” port, is required for some microphones such as the one listed below.7

If you do not have a stereo mic port built into your computer, you can use professional audio equipment or this simple USB audio adapter instead:

  • Plugable USB Audio Adapter

Analog Audio Cables

3.5mm Stereo Male to Dual 3.5mm Mono Male Audio Cable

3.5mm Stereo Male to Dual 3.5mm Mono Male Audio Cable

This cable breaks out the left and right channels of your computer’s Mic input port. You may need different cables if using professional audio equipment.

Analog Microphone

Analog Mono Microphone and Coupler

I’ve tested this configuration and found it to work very well with a stereo mic input port and the above analog audio cables. You may need a different microphone for use with professional audio equipment.

Optional Hardware

Reference DAC for HDMI Audio Passthrough to ARC Latency

CV121AD DAC

CV121AD DAC

A supported ARC or S/PDIF DAC, such as this specific one, is required for accurate measurements of HDMI Audio Passthrough Latency. This OEM device sold under the following names:

Reference DAC for HDMI Audio Passthrough to eARC Latency

Thenaudio SHARC v1 DAC

A supported eARC DAC, such as this specific one, is required for accurate measurements of HDMI Audio Passthrough Latency.

Cable for Direct Speaker Connection

3.5 mm female to exposed wire

This cable, or one that you construct yourself by cutting open a spare cable, can optionally be used to directly connect to a receiver’s speaker output instead of using a speaker and microphone.

⚠️ Warning: Speaker outputs are capable of high voltage signals that could damage a connected computer. Make sure to start with the receiver’s volume level at minimum and slowly increase when adjusting volume levels. To be safe, simply use a speaker and microphone instead.

Calculating HDMI ARC or eARC Receiver Latency

Although none of the tools in this toolkit directly measure HDMI ARC or eARC Receiver Latency, it can be easily calculated by measuring the total HDMI audio latency of a setup that involves the ARC or eARC receiver and then subtracting the HDMI Audio Passthrough Latency.

Known Issues

A list of known issues can be found on the GitHub issues page. If you encounter any problems or confusion when using this toolkit, you can post your issues there or contact me directly.

Troubleshooting

  1. Follow the instructions found in the app
  2. Restart your computer
  3. Update your graphics and audio drivers

If you’re still having trouble after following those steps, don’t hesitate to contact me!

Windows 7 Troubleshooting

The AV Latency.com Toolkit requires Direct X 11 and the Microsoft Visual C++ 2015 Redistributable. Make sure you both of these installed, along with the latest graphics drivers and Windows Updates. I have tested the toolkit on three Windows 7 computers, and found that one worked fine, while the other two were not able to find the prerequisite software libraries.

Source Code

All source code and research documents can be found on the AV Latency.com Toolkit GitHub repository.

Last updated on July 28th, 2023.


  1. FRL is supported through more expensive HDMI Audio Extractors, but the accuracy has not yet been verified with an oscilloscope.
  2. 24-bit audio is not supported by some HDMI audio drivers.
  3. 16-bit audio may be transmitted as 20-bit audio. 24-bit audio is not supported by some HDMI audio drivers.
  4. Windows 8.1 or higher recommended.
  5. NVIDIA, AMD, and Intel HDMI audio drivers have been tested with an HDMI analyzer and found to work correctly with this tool.
  6. As of February, 2022
  7. A stereo analog “line in” audio input can be used when measuring a direct connection to the DUT, such as a headphone output, but headphone output can have a very different audio latency than speaker output, so it is important to measure both. For this reason, a mic input is recommended.