# Automation firing early in Pro Tools 11

**URL:** <https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444>\
**Category:** Audio Plugins\
**Created:** [March 10, 2015, 7:04pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444 "2015-03-10T19:04:30Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![alanj-ssl](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alanj-ssl/32/556_2.png) [@alanj-ssl](https://forum.juce.com/u/alanj-ssl)\
**Post date:** [March 10, 2015, 7:04pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/1 "2015-03-10T19:04:30Z")

</div>

Hi,

We are developing a new AAX plug-in and have encountered an issue in Pro Tools 11. The automation data is being sent to the plug-in approximately 60ms too early.  
  
If we manually draw in some mutes around, for example, a snare hit, we need to deliberately place the cut 60ms after the snare transient for it to be accurate. This does \*not\* happen in Pro Tools 10.  
  
I have tested the Pro Tools 12 beta and the same problem exists.  
  
The plug-in has a latency of zero as it's doing very little in the way of audio processing, so I doubt there's a problem with delay compensation.  
  
Does anyone have any ideas? We have tried everything we can think of!  
  
Cheers,  
Alan

---

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [March 10, 2015, 10:28pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/2 "2015-03-10T22:28:54Z")

</div>

Hi Alan,

I haven’t tested for automation accuracy recently… but in PT10 automation was never sample accurate and probably won’t be consistent, in PT11 and later it should be. I would test with PT 11 release in case the 12 beta has a bug.

Rail

---

<div class="post-metadata">

**Author:** ![alanj-ssl](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alanj-ssl/32/556_2.png) [@alanj-ssl](https://forum.juce.com/u/alanj-ssl)\
**Post date:** [March 11, 2015, 9:33am UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/3 "2015-03-11T09:33:55Z")

</div>

Thanks Rail, I'll continue testing with PT11 and let you know if we find anything.

Alan

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [April 10, 2015, 4:11pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/4 "2015-04-10T16:11:47Z")

</div>

Is there an AAX plug-in that does this correctly so that I have a good comparison of which accuracy is achievable?

---

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [April 10, 2015, 8:35pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/5 "2015-04-10T20:35:00Z")

</div>

Automation in Pro Tools 11 is time stamped and should be sample accurate. Test using one of the included plugs.

Rail

---

<div class="post-metadata">

**Author:** ![MarkC\_SSL](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/markc_ssl/32/1080_2.png) [@MarkC\_SSL](https://forum.juce.com/u/MarkC_SSL)\
**Post date:** [April 28, 2015, 4:00pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/6 "2015-04-28T16:00:31Z")

</div>

Hi Fabian,

We're still struggling to find a working solution for this here. If something can be done at the Juce end to solve it, that would be great. We've tried a few different schemes but so far have not found one that gives us accurate automation without a performance hit in the plug-in.&nbsp;

Cheers,

Mark

---

<div class="post-metadata">

**Author:** ![alanj-ssl](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alanj-ssl/32/556_2.png) [@alanj-ssl](https://forum.juce.com/u/alanj-ssl)\
**Post date:** [April 28, 2015, 7:52pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/7 "2015-04-28T19:52:00Z")

</div>

The problem we have observed is that PT11/12 can call UpdateParameterNormalizedValue in the AAX wrapper upto 3 buffers early, so data arrives around 60ms ahead at the plug-in setParameter. Previously we hadn't seen this behaviour with Pro Tools, or other hosts, and we have a AAX plug-in that is fine with PT10 with&nbsp;an&nbsp;accuracy within one buffer.

Looking at some of the examples in the PT SDK there are a variety of methods used to update parameters, most of them use GenCoefficients to create a timestamp and PostPacket to add the data to the queue. The algorithm then ensures that the data arrives at the plug-in at the correct time.

Alan

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [April 29, 2015, 9:30am UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/8 "2015-04-29T09:30:19Z")

</div>

Hi Alan,

we have put this issue on our road-map along with properly supporting sample accurate parameter changes for various plug-in formats.&nbsp;This will be available&nbsp;in the next release of JUCE.&nbsp;

Fabian

---

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [April 29, 2015, 10:39am UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/9 "2015-04-29T10:39:25Z")

</div>

well this is not very satisfying, it means that currently all juce based aax-plugins&nbsp;not working right at the moment :-/

@fabian, maybe there is a much simpler solution, please have a look

https://developer.digidesign.com/phpbb/viewtopic.php?f=95&t=1371

&nbsp;

---

<div class="post-metadata">

**Author:** ![alanj-ssl](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alanj-ssl/32/556_2.png) [@alanj-ssl](https://forum.juce.com/u/alanj-ssl)\
**Post date:** [April 12, 2016, 4:04pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/10 "2016-04-12T16:04:59Z")

</div>

Hi Fabian,

Is this issue now resolved in JUCE 4?

Thanks,  
Alan

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [April 20, 2016, 11:32am UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/11 "2016-04-20T11:32:07Z")

</div>

Sorry we haven’t had time to implement this yet.

---

<div class="post-metadata">

**Author:** ![anoesisaudio](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/anoesisaudio/32/1132_2.png) [@anoesisaudio](https://forum.juce.com/u/anoesisaudio)\
**Post date:** [November 26, 2016, 3:47pm UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/12 "2016-11-26T15:47:14Z")

</div>

Was this ever resolved?

---

<div class="post-metadata">

**Author:** ![heavylids](https://avatars.discourse-cdn.com/v4/letter/h/5f9b8f/32.png) [@heavylids](https://forum.juce.com/u/heavylids)\
**Post date:** [November 7, 2019, 11:13am UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/13 "2019-11-07T11:13:07Z")

</div>

Bumping this, I have a plugin that has quite a bit of latency and the automation seems to fire early by that amount of latency. Weird!

---

<div class="post-metadata">

**Author:** ![BinaryCountdown](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/binarycountdown/32/22342_2.png) [@BinaryCountdown](https://forum.juce.com/u/BinaryCountdown)\
**Post date:** [April 14, 2020, 12:47am UTC](https://forum.juce.com/t/automation-firing-early-in-pro-tools-11/14444/14 "2020-04-14T00:47:24Z")

</div>

Also curious if this was ever resolved.
