Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » DSP and Plug-in Development
Thread Read
Delay compensation when bypassed (VST3/AU)
hibrasil
KVRist
- profile
- pm
- www
PostPosted: Fri Jun 01, 2012 11:42 pm reply with quote
does anyone know if VST3 and AU plugins that have processing latency should delay the incoming audio when they are bypassed to match the processing latency when they are not bypassed? I know this is true for RTAS/AAX but not sure about VST3 and AU.

thanks,

oli
^ Joined: 23 Jun 2002  Member: #3139  Location: York, UK
hivkorn
KVRian
- profile
- pm
- e-mail
- www
PostPosted: Fri Jun 01, 2012 11:58 pm reply with quote
i think it should depend of the dev , I use waves plugin and when i bypass it , no more latency delay....
^ Joined: 06 Sep 2007  Member: #159272  Location: Chateauneuf sur Loire / France
mahaya
KVRist
- profile
- pm
PostPosted: Sat Jun 02, 2012 12:10 am reply with quote
Not sure about AU but with VST3 you should do that. Otherwise you get clicks (or the playback position jumps) when toggling the bypass.


Chris
^ Joined: 20 Nov 2009  Member: #219955  
Borogove
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Sat Jun 02, 2012 2:22 pm reply with quote
mahaya wrote:
Not sure about AU but with VST3 you should do that. Otherwise you get clicks (or the playback position jumps) when toggling the bypass.


If the effect is doing anything at all interesting, you're likely to get some click on bypass anyway.

I think the best possible answer would be to switch between the wet and bypassed versions of the output signal with a short (~10-50ms?) crossfade to eliminate any click, and in that case going to a no-delay bypass would be beneficial. That's a lot of work though.
----

Don't do it my way.
^ Joined: 03 Oct 2002  Member: #3996  Location: SF CA USA NA Earth
hibrasil
KVRist
- profile
- pm
- www
PostPosted: Sat Jun 02, 2012 3:07 pm reply with quote
so it seems you are expected to delay the bypassed signal in VST3, from the FAQ:

"Q: How does Audio Processing Bypass work?"

... The Plug-in must take care of artifact-free switching (ramping, parallel processing or algorithm changes) and must also provide a delayed action if your Plug-in has a latency"
^ Joined: 23 Jun 2002  Member: #3139  Location: York, UK
camsr
KVRAF
- profile
- pm
PostPosted: Sat Jun 02, 2012 10:45 pm reply with quote
I am not familiar with VST3, but how does not delaying the bypassed signal mean anything? If anything it makes things easier using PDC, but is the spec inforcing this or just sternly recommending it?
----
^ Joined: 16 Feb 2005  Member: #58183  
mahaya
KVRist
- profile
- pm
PostPosted: Sun Jun 03, 2012 12:40 am reply with quote
Borogove wrote:
If the effect is doing anything at all interesting, you're likely to get some click on bypass anyway.

That is correct, but I think there is a difference between a click in between two samples and jumping several hundred samples back and forward. At least I find it quite annoying when I try to compare dry/wet (and that is one of the main applications for a bypass, I would say).

camsr wrote:
I am not familiar with VST3, but how does not delaying the bypassed signal mean anything?

If the plugin doesn't add the latency in bypass mode either the track's audio is ahead of the other tracks (which are delayed to compensate for the latency) or the host would need to update it's PDC.
In the latter case the host would need to recalculate the PDC each time the plugin's bypass gets toggled (which might introduce other problems like the latency being bigger than the block size) or add the needed latency itself.


Chris
^ Joined: 20 Nov 2009  Member: #219955  
Borogove
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Mon Jun 04, 2012 1:25 pm reply with quote
mahaya wrote:
Borogove wrote:
If the effect is doing anything at all interesting, you're likely to get some click on bypass anyway.

That is correct, but I think there is a difference between a click in between two samples and jumping several hundred samples back and forward. At least I find it quite annoying when I try to compare dry/wet (and that is one of the main applications for a bypass, I would say).


That's entirely dependent on the signal and the function of the plugin. Consider a phase inverter.
----

Don't do it my way.
^ Joined: 03 Oct 2002  Member: #3996  Location: SF CA USA NA Earth
stratum
KVRist
- profile
- pm
PostPosted: Mon Jun 04, 2012 10:39 pm reply with quote
I've incorrectly posted a message to this thread instead of posting it to another (the antialiasing thread), and then I couldn't delete it, thus for that reason this message is here.
----
~stratum~
^ Joined: 29 May 2012  Member: #281392  
mahaya
KVRist
- profile
- pm
PostPosted: Tue Jun 05, 2012 7:24 am reply with quote
Borogove wrote:
That's entirely dependent on the signal and the function of the plugin. Consider a phase inverter.

I'm not sure I can follow. A phase inverter usually doesn't introduce a latency.


Chris
^ Joined: 20 Nov 2009  Member: #219955  
All times are GMT - 8 Hours

Printable version
Page 1 of 1
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012