Page 1 of 1

How to make sure that a plug-in is always processed?

Posted: Fri Sep 09, 2016 6:52 am
by ygrabit
I’m working on a new plugin.
This new plugin is generate noise and hum and we don’t want to go off cpu.
Unfortunately after a few seconds cubase stop to call process method.
What can we do avoid this and be always processed ?
Tx

Re: How to make sure that a plug-in is always processed?

Posted: Fri Sep 09, 2016 6:55 am
by ygrabit
If your plugin always generate sound without needing any input audio, you can add the category "Generator" as subCategories (for example use kFxGenerator)
or you can return kInfiniteTail in the function IAudioProcessor::getTailSamples

Re: How to make sure that a plug-in is always processed?

Posted: Thu Sep 22, 2016 3:10 pm
by howardantares
In addition to Arne's suggestions, Cubase and Nuendo each have an option in the Preferences (plug-Ins section) that tells process calls to VST3 plug-ins to stop when there is no audio. That box is checked by default. If you un-check that box, the process calls will no longer stop after a few seconds as you've described.