What's new

Delay Compensation Automation

Hisham

New Member
Hello all,
Just thinking: wouldn't it be really nice if the track delay could be automated?
Just imagine one track of each instrument and you can automate the amount of delay compensation needed for each articulation, instead of having three tracks of the same instrument, simply because different articulations have different delays? why did nobody think of this?
or maybe someone did?
 
its hard to do that kind of thing because a plugin can't really go forward in time. it gets its data at the last minute. the only way you can make it do otherwise is to use look ahead latency, then it can be done.
 
its hard to do that kind of thing because a plugin can't really go forward in time. it gets its data at the last minute. the only way you can make it do otherwise is to use look ahead latency, then it can be done.
Yes, But I am talking about the DAW itself, there is a control of how much delay compensation you want for this track, that's what I would like to be automatable :)
 

Attachments

  • Screen Shot 2024-01-10 at 9.04.19 AM.png
    Screen Shot 2024-01-10 at 9.04.19 AM.png
    10.8 KB · Views: 12
I don't think you can in cubase, but could be wrong. Let us know if you figure out a way.

DP can do it in the articulation manager by the way
 
No, you are absolutely right, Cubase can't do it, I am suggesting that this will be a nice feature to consider :)
 
Of course, you can get an automatable negative delay by (a) setting your track to a large, fixed negative delay; and (b) adding a Sample Delay plugin - as it's called in Logic; I assume similar in other DAWs - to "undo" whatever you don't need.

So, you could set -250ms on the track, then use automation to set the sample delay to +200ms for string staccatos (-250 + 200 = -50ms), or to +50ms for legato (-250 + 50 = -200ms).

Edit: using a MIDI delay plugin for the positive component would be more robust than using audio delay, and that's what I would do in Logic. I'm just not sure how well other DAWs support that. Changing audio delay while there's still audio playing can sound pretty bad - depending on how your plugin handles it - so it wouldn't be ideal for changing articulations during a passage, for example.
 
Last edited:
If you weren't already aware, there are scripts out there that attempt to tackle this like CSS Control Panel (Kontakt multi script), Foresight (VST3 MIDI effect), and my own Variable Delay Compensator (multi script). They work by listening to your keyswitch activity to determine which delays to apply.

Obviously the multi scripts can only delay, so you'd set you track's negative delay to the max required for things to line up as intended. But the VST3 one can report its latency so that's done automatically (via PDC).

Configuration's always the trickiest part, but it is generally possible to achieve. To my knowledge, only DP (already mentioned) and Dorico can do this on their own per articulation.
 
yep. thanks for pointing out Foresight, I had not heard of that one before I will definitely check it out. I have written some LogicPro Scripter scripts in the past that did exactly as mentioned, and they do work as intended. In other hosts, I would have resorted to using blueCatAudio's plugN'Script to do it, but I ended up moving more towards DP, which has it built into the articulation Manager. But anyway, this foresight looks like it might be exactly what I would have used say in Cubase. I will have to check it out. thanks for that reference.

I notice its only downloadable in VST3 form. Kind of a shame but anyway the source is there I will try to build AU and VST2. Looks like its only built for windows too, no OSX. Well its juice, I will try to see if I can get Mac version going, don't have time today.
 
Last edited:
yep. thanks for pointing out Foresight, I had not heard of that one before I will definitely check it out. I have written some LogicPro Scripter scripts in the past that did exactly as mentioned, and they do work as intended. In other hosts, I would have resorted to using blueCatAudio's plugN'Script to do it, but I ended up moving more towards DP, which has it built into the articulation Manager. But anyway, this foresight looks like it might be exactly what I would have used say in Cubase. I will have to check it out. thanks for that reference.

I notice its only downloadable in VST3 form. Kind of a shame but anyway the source is there I will try to build AU and VST2. Looks like its only built for windows too, no OSX. Well its juice, I will try to see if I can get Mac version going, don't have time today.
There is a mac version ( AU and VST3 )
You can find it here :

Best
 
I did download that fork from capnspacehook. It works fine in cubase. note that he chose to build the VST3 as audiofx rather then instrument, which is more the norm for midi plugins. It works in cubase but not in DP, DP needs to see instrument plugin version of it. The AUmfx version he built also does work in LogicPro. I also note that there are specific problems with VST3 and some midi activity especially related to very tight timing of key switches and CC switches, etc...where VST2 would be a better choice, VST3 has problems. so it would be nice to see VST2 build, but probably he doesn't have license for that.
 
Top Bottom