Can we know if a Cabbage plugin is disabled/bypassed in a DAW?

Hello,

Is there a way to know if a plugin is deactivated in a DAW?

I am working on a delay and, when the audio stops, I want the feedback line to continue playing (that’s what Ableton stock plugins do).

However, when the user deactivates the plugin, I’d like to reset the feedback line and stop it. I searched in the doc but couldn’t find anything, is there a way to do it?

Thank you!

Julien

I did some research, and I’m not sure it is possible: How to detect if plugin is active? - #15 by rcohen - Audio Plugins - JUCE

Looks like there is no universal way to detect this. Some hosts will set a flag, and leave it up to the plugin develop in check if bypassed is enabled - the process function is still called in this instance. Some host will simple stop processing, thus stop calling the process method, and some host will remove the plugin from the audio graph. I must look into it a little more. It’s a usual thing to be able to detect.

1 Like

It looks like it’s a host-specific feature that needs to be developed and I am worried about the complexity of maintaining the code.

I’ll find workarounds or design the plugin in a slightly different way.

Thank you!