MATLAB Answers

Audio Plugin Oversampling delay behaviour

9 views (last 30 days)
Pablo Panitta
Pablo Panitta on 25 Feb 2020
Commented: Egebjerg on 13 Mar 2020
Hi
I was developing a new plugin based on multibandParametricEQ algorithm engine, when I came across with the following behaviour: when oversampling option is activated, the signal is delayed with respect to the original, making a comb filter effect if we place the EQ in a parallel chnl in a DAW. The amount of delay ia around 4.3ms (as can be seen in the attached). Spectral component is not heavily impacted.
This behaviours is not present in any other well known EQ commertial plugins, wich also use oversampling process.
So, is it possible to overcome this? Why DAW does not correct this evenwhen Delay compensation feature is activated?
Thanks
Pablo

  0 Comments

Sign in to comment.

Accepted Answer

Charlie DeVane
Charlie DeVane on 28 Feb 2020
Hi Pablo,
Oversampling adds latency to the processing. Most DAWs can compensate for latency if the plugin reports it to the DAW. Unfortunately, MATLAB audio plugins do not supprt latency reporting.
I have heard of plugins that might solve this problem for you, such as www.voxengo.com/product/latencydelay, but I have not tried any of them myself.
hope this helps,
Charlie

  4 Comments

Show 1 older comment
Egebjerg
Egebjerg on 7 Mar 2020
It would be so nice if it was possible to set the VST 2.4 variable “setInitialDELAY()” from Matlab. It don’t need to be dynamic, a fixed parameter in “audioPluginInterface()” would be fine.
The problem is, that A/B comparison with and without a plugin is difficult when using the DAW’s build in latency compensation or for instance voxengo latencydelay, because you need to bypass both at the same time.
A not very elegant workaround is to implement a dedicated bypass within the plugin, that maintain the latency without the effect.
Egebjerg
Charlie DeVane
Charlie DeVane on 9 Mar 2020
Thanks for your feedback! I will pass it along to the development team.

Sign in to comment.

More Answers (0)

Sign in to answer this question.