Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Pro Tools Software > Pro Tools
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-12-2021, 04:17 PM
Thatguitarguy Thatguitarguy is offline
Member
 
Join Date: Mar 2010
Posts: 13
Default Recorded Audio Displaced By ~1000 Samples

Hi all,

This problem has been plaguing me all week and the lack of viable solutions I'm finding online is making me nervous. Hopefully someone on here can help me out.

Just to clarify up top: I've had this problem twice now. The first time, I thought it was brought on by drivers I downloaded for another interface. The only solution that worked was a clean wipe of my whole computer. Now it's randomly back and, like the first time, trashing Pro Tools prefs / reinstalling Pro Tools hasn't helped. In both cases, I was recording with no issues for months prior to the problem cropping up.

I'm running Pro Tools 2021 on a 2020 M1 Macbook Air recording through a Scarlett 2i2. After I record, the audio I track gets bumped backwards by somewhere between 1200 and 2200 samples, depending on the buffer size. Here are the numbers I came up with after bussing a click track to a new track within the DAW and then comparing it to a click track I ran out of (and then back into) the Scarlett:

64 buffer: -2200 samples
256 buffer: -2000 samples
1024 buffer: -1200 samples

This happens in a completely fresh session - no plugins or anything.

I tried different Scarlett interface through a different USB port, and got the same problem but with a smaller margin (-800 samples or so at a 256 buffer). The inconsistency has me very confused. I'm reading that the problem may lie with the way PT is communicating with the Focusrite, some inaccessible compensation value that is being miscalculated. If that's the case I'm at a complete loss for how to proceed here.

Thank you to anyone with some insight! Specs below (let me know if you need more info)

---------

Model Name: MacBook Air
Model Identifier: MacBookAir10,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB

OS: Big Sur v11.5.2
Pro Tools Version: 2021.7.0

Peripherals:

Hiearcool USB C Hub attached to ->
AOC Monitor (via HDMI)
Focusrite Scarlet 2i2
Orico USB 3.0 hub attached to ->
Seagate Barracuda Fast SSD (1tb)
USB Optical Mouse
iLok
HD Web Camera
Reply With Quote
  #2  
Old 11-13-2021, 08:43 AM
Thatguitarguy Thatguitarguy is offline
Member
 
Join Date: Mar 2010
Posts: 13
Default Re: Recorded Audio Displaced By ~1000 Samples

Okay, so I'm not sure how I missed this before, but yes - delay compensation is on and seems to be way overcompensating. I attached screenshots of my mix window and the click experiment run with and without delay comp on at various buffer speeds.

I'm seeing a delay value of 1024 samples on the click track I created. I don't know if that's the root of this problem or just a byproduct of it ~ don't have a super clear understanding of how delay compensation works behind the scenes.

Any insight here is helpful - thank you!
Attached Images
File Type: jpg Screen Shot 2021-11-13 at 11.38.52 AM.jpg (28.8 KB, 0 views)
File Type: jpg Screen Shot 2021-11-13 at 11.31.54 AM.jpg (17.1 KB, 0 views)
Reply With Quote
  #3  
Old 11-13-2021, 02:58 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Recorded Audio Displaced By ~1000 Samples

First thanks for posting screenshots of your mix window. I can just make out the labels, enough to see routing that does not make sense and when done on my system also produced the same 1024 sample latency. And that's independent of the playback engine IO buffer setting since it's on an aux track, and Pro Tools is using a 1024 sample playback buffer for the aux (at least at the sample rate you are using).

None of this makes sense. Why have a click plugin on this aux insert? And more, why do have the insert looping back between Bus 1 and Bus 1&2? Just don't do that.

If you are trying to use a click plugin then just KISS, stuff it on an instrument track, with no input and send it's output to where you need it (headphones, main out etc.).

If you are trying to understand latency and latency comp, you are messing with the wrong plugin as an experiment, and you are running headlong into the split/buffers in Pro Tools, the IO buffer you control in the playback settings and the fixed size playback buffer pro tools is using here for the aux. This stuff has been widely discussed on DUC and now you know some key words you'll be able to find those threads and have a read if you want.
Reply With Quote
  #4  
Old 11-13-2021, 03:01 PM
Top Jimmy's Avatar
Top Jimmy Top Jimmy is offline
Moderator
 
Join Date: Oct 2005
Location: Spokane, WA
Posts: 5,935
Default Re: Recorded Audio Displaced By ~1000 Samples

Delay compensation can be broken and I think that’s what you are seeing. There are two kinds of delay compensation going on under the hood. One is real-time, and the other is post-shift. Real-time happens during playback while post-shift happens after ending a recording.

Serial bussing can break delay compensation. Bussing an audio track in record to another track in record will break delay compensation including via hardware I/O. When you have both stereo and mono busses set up for a pair of paths, bussing mono from the first to the second will break delay compensation.

If you want to make an honest test, print a test click on an audio track. After printing, route that track to another via a bus and run the test. Then route the print track to a hardware output and back in to another audio track and run the test. Last, try the hardware I/O inserted on the print track as a hardware insert and bus to another track and run the test.
__________________
James Cadwallader

Mac Studio, 64GB RAM, 1 TB SSD, Glyph 2TB USB3 HDD, OWC drive dock, Mac OS Monterey 12.6.8

Pro Tools Ultimate 2023.9, HD Native, Focusrite Red 8Pre

Presonus Faderport, Pro Tools | Control
Reply With Quote
  #5  
Old 11-14-2021, 09:01 AM
albee1952's Avatar
albee1952 albee1952 is offline
Member
 
Join Date: May 2004
Location: Norwich, CT
Posts: 39,332
Default Re: Recorded Audio Displaced By ~1000 Samples

One more thing that can mess up Delay Comp is having a send that goes nowhere. Example; you send a guitar track to an AUX with a reverb. Then you change your mind and delete the AUX track. If the send is still on the guitar track, its going to mess things up.
__________________
HP Z4 workstation, Mbox Studio
https://www.facebook.com/search/top/...0sound%20works


The better I drink, the more I mix

BTW, my name is Dave, but most people call me.........................Dave
Reply With Quote
  #6  
Old 01-01-2022, 02:46 PM
Thatguitarguy Thatguitarguy is offline
Member
 
Join Date: Mar 2010
Posts: 13
Default Re: Recorded Audio Displaced By ~1000 Samples

Hey yall, happy new year. Thank you all for your replies - and for pointing out the flaws in my initial test.

I was getting sloppy with my routing by the time I posted to this thread but the whole reason I did these tests in the first place was because there is an intermittent but very audible "bumping" backwards of all recorded audio. I say intermittent because I've been recording for the last few weeks with no problems, but when I fired up Pro Tools yesterday it was back and has not gone away.

I did the test again - hopefully in a more logical way (no tracks routed into themselves, no running the whole test from a click aux insert). You can see that the click from the hardware bounce is significantly earlier than the ones bussed within the daw.

Any thoughts?

Step 1.jpg

Step 2.jpg

Step 3.jpg

Results.jpg
Reply With Quote
  #7  
Old 01-01-2022, 03:03 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Recorded Audio Displaced By ~1000 Samples

Still not sure exactly what you are doing, what IO buffer size?, sample rate, delay comp on, ignore errors on? etc. what are you seeing shown as delay comp latencies etc. Post your test session online somewhere
Reply With Quote
  #8  
Old 01-01-2022, 06:56 PM
Thatguitarguy Thatguitarguy is offline
Member
 
Join Date: Mar 2010
Posts: 13
Default Re: Recorded Audio Displaced By ~1000 Samples

Buffer size: 256
Sample rate: 48k
Delay comp and ignore errors don't seem to make a difference in delay time anymore. Delay comp latency values are zeros across the board.

Here's the session folder: https://we.tl/t-pZLjexXHV8

Seeing a "System Delay" of 1108 samples on the session info screen - could that be the source of problems?

Screen Shot 2022-01-01 at 9.52.22 PM.png
Reply With Quote
  #9  
Old 01-01-2022, 07:02 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Recorded Audio Displaced By ~1000 Samples

Quote:
Originally Posted by Thatguitarguy View Post
Buffer size: 256
Sample rate: 48k
Delay comp and ignore errors don't seem to make a difference in delay time anymore. Delay comp latency values are zeros across the board.
Good! That's expected.

Quote:
Here's the session folder: https://we.tl/t-pZLjexXHV8

Seeing a "System Delay" of 1108 samples on the session info screen - could that be the source of problems?

Attachment 15360
I'll have a play with this since I was just chasing down some MADI problems so have a system in pieces in front of me.

BTW ignore errors will add real-time latency to what you hear while playing, just one reason not to use it unless absolutely needed (by default leave it off).

And to be clear your "hardware IO" is line level out on the 2i2 into a line level input? You are not say playing into a monitor/speaker and recording the audio again with a Mic? Or going through anything else like a mixer or other external box?
Reply With Quote
  #10  
Old 01-01-2022, 07:13 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 19,657
Default Re: Recorded Audio Displaced By ~1000 Samples

"System Delay" being reported is what Pro Tools thinks the longest delay though the DAW is. That number is not likely an error, you should be able to understand the contributions to this/where the number comes from. I want to see what the session is doing.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exported stems play 1000 samples later than the original hybridd macOS 2 10-23-2014 12:11 PM
Displaced Audio in PT LE 7.3.1 Bock 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) 1 10-29-2007 02:37 AM
recorded tracks delayed by about 3k samples?!? theguru 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) 6 03-28-2006 01:27 PM
Recorded Audio late by 3000 samples (MBOX) melat3mg 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) 4 12-08-2004 09:01 AM
Using recorded kick to trigger samples....help! gregory dean 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) 3 03-04-2004 04:18 AM


All times are GMT -7. The time now is 12:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com