Quantcast
Viewing all articles
Browse latest Browse all 4936

DSP and Plugin Development • Re: Calculating delay tail

It's very difficult to predetermine a tail length for any effect where the user can alter the feedback (I mean the tail could be very short, or almost infinite).

Perhaps a better approach is "silence flags".

The idea is that the plugin doesn't have any fixed tail length, but simply informs the DAW once it's output is silent. However long that might take.

This feature is supported by VST3 already, I'm not sure about CLAP, but CLAP is extendible. So it silence flags/events might be a better option for CLAP in the long term
In CLAP there are quite a few options for a plug-in to tell the host about its tail and resulting process needs, by returning any of these result constants when finishing to process:

Code:

enum {   // Processing failed. The output buffer must be discarded.   CLAP_PROCESS_ERROR = 0,   // Processing succeeded, keep processing.   CLAP_PROCESS_CONTINUE = 1,   // Processing succeeded, keep processing if the output is not quiet.   CLAP_PROCESS_CONTINUE_IF_NOT_QUIET = 2,   // Rely upon the plugin's tail to determine if the plugin should continue to process.   // see clap_plugin_tail   CLAP_PROCESS_TAIL = 3,   // Processing succeeded, but no more processing is required,   // until the next event or variation in audio input.   CLAP_PROCESS_SLEEP = 4,};

Statistics: Posted by Urs — Fri Aug 02, 2024 11:30 am



Viewing all articles
Browse latest Browse all 4936

Trending Articles