Audio Plugin Oversampling delay behaviour

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

 Accepted Answer

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

Super Clear Charlie!
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
Thanks for your feedback! I will pass it along to the development team.

Sign in to comment.

More Answers (0)

Categories

Find more on Audio Plugin Creation and Hosting in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!