Latency plugin

Hi, I’d like to create a plugin Whose only purpose is to add some latency in milliseconds, someone can suggest me a start point?

Look into the JUCE dsp modules (check out the tutorials to get familiar with the format). There’s a delay class that should do the trick

2 Likes

Unless the original poster means how to do a plugin that simply reports latency to the host for some reason. In that case, the plugin could attempt simply calling AudioProcessor::setLatencySamples with the desired amount of latency reported in samples. The caveat is that not all hosts will respond to that on the fly while playing back audio.

1 Like

We have one in Tracktion Engine: tracktion_engine/modules/tracktion_engine/plugins/effects/tracktion_LatencyPlugin.h at master · Tracktion/tracktion_engine · GitHub

1 Like

Really thank you to all :pray: you’re so kind ! :pray: