Would you mind adding the following feature: getting plugin tails? There’s currently no support for this, afaict…
May be worth noting that there is somewhat of a caveat: Audio Units give this value as a double (Float64), while VST gives this value as a platform-dependent integer (VstIntPtr)…
juce_AudioProcessor:
/** Tells the host that this plugin has a tail, and what its length is (in seconds)
For VSTs, 0 is default, 1 means 'no tail', any other value is a tail length. (This is as mostly stated in the VST SDK documentation online)
For AUs, you simply return a tail length
*/
virtual double getTailSize() { return 0.0; }
Just noticed the Introjucer is setup to add this functionality…
I personally don’t think it’s a good idea to have it setup through the Introjucer since, for example, a reverb plugin can have varying tail lengths. Instead, when creating a plugin via the Introjucer, the getTailSize() method (as I’ve called it) should be generated for the user, returning 0.
I’ve begun implementing this in my fork (see my signature). I’ve no idea if the AudioUnit code is correct - I wrote it by deduction. Also, I do not have the means of writing the AAX/RTAS code to support this feature.
If anyone can take a look and let me know if it’s right, I’d appreciate it!
Alright so when creating a dummy/test VST plugin with JUCE; I specify 10 seconds for tail, and receive 0 in the PluginHost when running it. I guess it’s not being truly implemented?