Lua dsp_params()

I noticed that the ACE High/Low Pass Filter Lua script has a “bypass = true” in the dsp_params function. This appears to link the Enable switch to the plugin bypass. Is there a similar way to link delay/latency compensation? I’ve looked through the Lua bridge code, but haven’t yet located where this functionality exists.

The reason I ask is because I am putting the finishing touches on a fader rider and a non-level-based de-esser (both implemented as Lua DSP scripts). Would the community be interested in such plugins being added to the project?

Thank you,
Bryan

You can declare a function dsp_latency which returns the plugin’s latency in samples.
When the function is present in the DSP script, it is called after each process cycle.

An example can be seen:

Great! Thanks. I missed that example.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.