Limiter, (dynamics or scriptnode) causes delay when rendering audio
-
Anyone know why, or have a solution?
when I turn limiter off the rendered audio is fine. -
@BWSounds The (design of the) limiter introduces latency. Not really a HISE issue, it's just the nature of the algorithm (even though the latency is absurdly large).
There is a way to test latenct in HISE: Tools > Check Latency of Signal.
You can use Engine.setLatency to report this to the DAW and correct the latency introduced.
-
@BWSounds Yes, as @HISEnberg said, this is inherent in the limiter itself. This is because it's a lookahead limiter. If I remember correctly, as the attack value changes, the latency also changes.
-
I think I posted a c++ scriptnode limiter on the forum a while ago which has less latency. Although the latency changes for longer attack settings, so you will not get perfect compensation I'm afraid.
Maybe I'll fix it later
-
@BWSounds This was my go to alternative for a while (if you have Faust enabled):
https://faustlibraries.grame.fr/libs/compressors/#colimiter_1176_r4_stereo