|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#171
|
|||
|
|||
DAW Audio Latency Measurement Procedure
DAW Audio Latency Measurement Procedure Here’s a simple procedure that should enable the accurate measurement of audio latencies for any DAW System with an audio interface. Pro Tools 12 (PT) with a Windows 8.1 Desktop PC and a Roland Studio Capture (SC) audio interface were used to demonstrate and validate it. For audio interfaces that have at least 3 audio inputs and two audio outputs (as in this demonstration), only one recording cycle and three loopback cables are required. The upper configuration in the following diagram was used to measure the entire DAW System’s round trip latency (RTL) as well as its RTL compensation error (RTL error). The lower was used to measure the audio interface direct monitoring latency (DML). If only two inputs or cables are available, two recordings will be necessary. The loopback configuration will then have to be adjusted accordingly to use the available output channels. With PT, “Low Latency Monitoring” has to be turned OFF to connect Track 2 to Output 2. “Delay Compensation (ADC)” can be either ON or OFF because it only affects plugins and inserts – none which are used in this procedure. If they were used, the effectiveness/accuracy of ADC when ON should show up as the RTL Error and the actual delay should show up as RTL. Since apparently there is no way to shut off RTL correction during recording/tracking, it’s not a concern. Note that although this procedure uses 4+ cycles of a 1 KHz square wave for a test signal, many other options exist like the "Click" used at http://duc.avid.com/showpost.php?p=2269524&postcount=85. Note that if speakers and mics are used for the loopback(s), the sound travel time needs to be compensated for (it's ~ 1000 ft/s). Page 1 of the attachment provides more detail on the test configuration. Page 2 shows how the SC outputs were configured and Page 3 provides additional SC configuration details. Page 4 shows the results of the demonstration. The 1st track on page 4 shows the playback signal used. Unlike other DAWs, PT does not display the Input and output latencies reported by audio interfaces. However PT’s “System Delay”, without any inserts (as in this demo), does show the reported output latency minus the buffer size after the 1st track is assigned to an output. As shown in the comments field for the 1st track, the output latency was 267 samples (2.78 ms). The 2nd track shows that PT correctly compensated for the round trip latency experienced by the first loop. The 3rd track shows that the system round trip latency (RTL) measured 391 Samples (4.06 ms), which means that the input latency was 124 Samples (1.29 ms). The 4th track shows that the interface’s direct monitoring latency measured 81 Samples (0.84 ms). Page 5 of the attachment shows that Ableton Live 9 Lite’s display of the interface’s reported input and output latencies matched the delay measurements with 0 “Driver [RTL] Error Compensation”. That error compensation feature, which can be used to compensate for inaccuracies in interface latency reporting (which seems to be quite common), is not available in PT. Page 6 of the attachment shows the measured and reported RTLs for all available sample rates and buffer settings available for PT and the SC. The shaded cells show the results of Microsoft Excel formulas based on the data manually entered into the un-shaded cells. The last two columns show the differences between the measured and reported values. The measured results were virtually identical to those reported by the SC to Ableton except for the 44.1 kHz sample rates and the 32 sample buffers. In all but the 5 instances indicated by blue text, the RTL compensation error was 0 samples. The 4 lower blue ones had a +1 sample and the upper had a -1 sample error. The SC’s direct monitor latency measured 81 samples in all cases. Pages 7 and 8 contain a copy of this write-up. Last edited by Amack; 06-18-2015 at 03:06 PM. Reason: Fix picture and add link |
#172
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
propower,
Maybe, I'll have to give that some thought, thanks! I figured out a way to measure interface direct monitoring latency without a scope and started a new thread to show how to do it in addition to the RTL and RTL compensation error measurements addressed in this post. (http://duc.avid.com/showthread.php?p...21#post2268821) I also added additional information that might help more people understand how and why the procedures documented in both threads work. I'd greatly appreciate it if you'd look it over to see if I made any typos, other errors, or omitted something that might help folks understand it. Thanks Again, Amack Quote:
Last edited by Amack; 06-15-2015 at 01:27 PM. |
#173
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
Quote:
A quick glance at the direct monitoring latency test looks like it might work. The DAW compensation is cancelled out as in the first test. I will run it tomorrow to see if it agrees with scope and Function Generator.
__________________
2017 27" iMac 3.8GHz i5, 1TB SSD Logic ProX, Studio One V4, PT current version, Apogee Ensemble TB Musician: http://www.ivanlee.net/ Design Engineer: http://www.propowerinc.com/resume.html |
#174
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
Fixed it - thanks!
Quote:
|
#175
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
HDX apparently is supposed to work with other DAWs, at least for I/O (http://akmedia.digidesign.com/suppor...uide_75269.pdf). Are you saying that it really doesn't, or that just its plugins/effects don't?
Quote:
|
#176
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
Quote:
__________________
2017 27" iMac 3.8GHz i5, 1TB SSD Logic ProX, Studio One V4, PT current version, Apogee Ensemble TB Musician: http://www.ivanlee.net/ Design Engineer: http://www.propowerinc.com/resume.html |
#177
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
propower,
At 96 kHz, your native HD IO and Omni direct monitoring measurements (LLMs) were 0.47 ms. There is apparently 2 buffers in series for the RTL measurements. With 64 bit buffers, that adds another 2*64/96 ms = 1.33 ms of latency for a total RTL of 0.47 + 1.33 ms = 1.8 ms (you measured 1.78 ms). From what you said about HDX (which explains a lot!), it sounds like that 0.7 ms “Analog to Analog Throughput Latency” is actually the latency through the HD interface (0.47 ms) + the added HDX latency - which apparently is 0.7 ms – 0.47 ms = 0.23 ms. The PT/HDX overall system RTL (from PT track to PT track) will add additional latency because of the 2 64 bit buffers likely required. So, the actual PT/HDX RTL is probably 0.7 + 2*64/96 ms = 2.03 ms. Make sense? It sure would be nice if someone would measure it – it’s really easy! (http://duc.avid.com/showthread.php?p...21#post2268821) Amack Quote:
|
#178
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
Sorry for the confusion - I was addressing mesaone's comment suggesting that HDX systems with AVID HD interfaces couldn't be used with DAWs other than PTHD. (That's covered near the end of the linked pdf.)
Quote:
|
#179
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
Quote:
Here's what I wrote, bolded text to emphasize what you skipped over.
__________________
Pro Tools HD 12.4, Pro Tools "Vanilla" 12.4, Artist Transport, 2x Artist Mix Studio Blue: RME UCX, Win7 Pro, i7 960, 16GB || Studio Green: RME Babyface, Win10, i7 7700HQ, 16GB |
#180
|
|||
|
|||
Re: Measuring Latency & Scarlett 6i6 Beta Results
Quote:
Quote:
Quote:
__________________
2017 27" iMac 3.8GHz i5, 1TB SSD Logic ProX, Studio One V4, PT current version, Apogee Ensemble TB Musician: http://www.ivanlee.net/ Design Engineer: http://www.propowerinc.com/resume.html Last edited by propower; 06-15-2015 at 03:18 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DigiGrid IOS 8IO+ DSP | simon.a.billington | AAX Plug-ins | 0 | 12-04-2014 07:10 PM |
Measuring Analog Distortion? | SuperReverb | Pro Tools TDM Systems (Mac) | 2 | 10-18-2010 07:02 AM |
Correctly measuring input db | PTGuy | Pro Tools TDM Systems (Mac) | 4 | 05-12-2006 12:36 AM |
Measuring Midi Latency | JPS | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) | 15 | 07-01-2002 10:24 PM |
Measuring the latency (experiments) | jnash | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 2 | 04-16-2000 10:15 PM |