Plugin Delay Compensation (How does it work?)

Author
paultucci
Max Output Level: -90 dBFS
  • Total Posts : 13
  • Joined: 2012/11/26 20:35:27
  • Status: offline
2012/12/24 23:26:16 (permalink)

Plugin Delay Compensation (How does it work?)

The plugin delay compensation that X2 automatically adds has bit me in the ass. Its "invisible latency meant i could no longer record in time sync, too much delay between playing the KB and hearing the KB. You guys sorted that out for me but I have another question. How smart is PDC? If subgroup one has a plugin that creates more latency than the plugin in subgroup two, I'll guess subgroup two is delayed back to meet up with subgroup ones timing so that the master bus sees them at the same time. What about an input that goes directly to the master? Is every pathway delayed back to the latest arriving one? PT
#1

2 Replies Related Threads

    The Maillard Reaction
    Max Output Level: 0 dBFS
    • Total Posts : 31918
    • Joined: 2004/07/09 20:02:20
    • Status: offline
    Re:Plugin Delay Compensation (How does it work?) 2012/12/25 08:41:52 (permalink)


    "If subgroup one has a plugin that creates more latency than the plugin in subgroup two, I'll guess subgroup two is delayed back to meet up with subgroup ones timing so that the master bus sees them at the same time. What about an input that goes directly to the master? Is every pathway delayed back to the latest arriving one?"


    This is a practical way to think about it. The actual details are under the hood so only the coders know what's going on in there.

    The scenario you describe is actually sort of simplistic... An average mix setup probably has a more complicated set of circumstances that need to be synced.

    Consider one further aspect; Some latency inducing plugins vary the amount of latency they require as you vary the settings. So if you touch a "knob" and make a move the PDC has to figure out something on the fly.

    That's one reason some plugins seem glitch-y sometimes. Some seemingly minor adjustments initiate a really complicated series of corrections.

    When you consider it all... it seems kinda amazing to think about the precision traffic control stuff that is going on inside the audio engine.


    Merry Christmas.


    best regards,
    mike


    #2
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:Plugin Delay Compensation (How does it work?) 2012/12/25 10:31:28 (permalink)
    PDC is one of the unsung strengths of SONAR, which was one of the first DAWs to implement it. It's quite complex under the hood, and it took years to get it right, especially with regard to external inserts. AFAIK they'd nailed by version 8.5.3 and I've seen no issues since then. 

    The main weakness that remains is beyond SONAR's control, and that is that the scheme depends on the plugins themselves to accurately report their own internal latencies back to SONAR. Sometimes they don't, or as Mike noted, sometimes the latencies change abruptly and can throw the synchronization off. But yes, the mechanism is "smart" and readily adapts to whatever signal chain you throw at it.

    Where users most often get caught by surprise is when they insert a high-latency plugin before they're done tracking and suddenly there's too much lag between hitting a key or plucking a string and hearing a sound. 

    Some plugins have inescapably-high latency due to the way they work internally, because they work on large chunks of data rather than sample-by-sample. This is why Ozone adds so much latency once you've inserted it. Other plugins introduce latency just because of the amount of processing they do, such as convolution-based processors. Consequently, it's best to hold off inserting things like PerfectSpace or the LP-64 linear-phase mastering equalizer until you've finished all tracking.

    To answer the original question: yes, every pathway is delayed to match the longest signal path. Be glad you don't have to calculate it all manually and use a delay plugin, like Pro Tools LE users had to do for so long!


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #3
    Jump to:
    © 2025 APG vNext Commercial Version 5.1