VST Effects 8192 samples delay

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
TheRoofInhabitant
Posts: 26
Joined: Wed Oct 31, 2012 8:43 pm
Operating System: Please select

VST Effects 8192 samples delay

Post by TheRoofInhabitant » Wed Oct 31, 2012 8:48 pm

Hello, everybody.
I use very often VST effects in Audacity, and each time I use them I notice that after applying an effect the first 8192 samples are zero, the audio is delayed by this value while the last 8192 samples are cutted out. Is there a way to prevent this?

steve
Site Admin
Posts: 80751
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: VST Effects 8192 samples delay

Post by steve » Wed Oct 31, 2012 9:02 pm

2 choices come to mind:
1) Find another effect that does not do that.
2) Add some padding (just a bit of silence would do) before applying the effect, then trim the track to the correct size after applying the effect.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

TheRoofInhabitant
Posts: 26
Joined: Wed Oct 31, 2012 8:43 pm
Operating System: Please select

Re: VST Effects 8192 samples delay

Post by TheRoofInhabitant » Wed Oct 31, 2012 9:47 pm

I already do that but I use the effect several times for few seconds, so it's really annoying.

steve
Site Admin
Posts: 80751
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: VST Effects 8192 samples delay

Post by steve » Wed Oct 31, 2012 10:33 pm

Is this with all VST effects, or just with some VST effects?

Which version of Audacity are you using? (Look in "Help > About Audacity")
Which version of Windows?
Which VST effects are you using?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

TheRoofInhabitant
Posts: 26
Joined: Wed Oct 31, 2012 8:43 pm
Operating System: Please select

Re: VST Effects 8192 samples delay

Post by TheRoofInhabitant » Wed Oct 31, 2012 10:49 pm

This is with all VST Effects, and not just with this version of Audacity, it always did it.
Anyway I'm using Audacity 2.0.1 on Windows XP Professional (x64), and I'm using several VST effects, the ones I use the most are Antares Audio ones (Autotune and all the tools) and some freeware VST as kn0ck0ut, it depends on what i have to do.

steve
Site Admin
Posts: 80751
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: VST Effects 8192 samples delay

Post by steve » Wed Oct 31, 2012 11:06 pm

I have just tried several VST effects on a Windows XP SP3 (32 bit) machine and I don't see this problem. One effect was out by 1 sample. The rest produced the exact correct result.

Try some of these (free) VST plug-ins and see if they have the same problem: http://antress.blogspot.co.uk/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

TheRoofInhabitant
Posts: 26
Joined: Wed Oct 31, 2012 8:43 pm
Operating System: Please select

Re: VST Effects 8192 samples delay

Post by TheRoofInhabitant » Thu Nov 01, 2012 10:17 am

They work fine, I don't understand why this is happening, then...

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: VST Effects 8192 samples delay

Post by Gale Andrews » Fri Nov 02, 2012 3:43 am

TheRoofInhabitant wrote:This is with all VST Effects, and not just with this version of Audacity, it always did it.
Anyway I'm using Audacity 2.0.1 on Windows XP Professional (x64), and I'm using several VST effects, the ones I use the most are Antares Audio ones (Autotune and all the tools) and some freeware VST as kn0ck0ut, it depends on what i have to do.
AutoTune isn't fully supported by Audacity in my opinion (Audacity has no MIDI control).

I tested kn0ck0ut on Windows 7 and it has the same output delay in Wavosaur and Goldwave (using a DX wrapper) as in Audacity - but only when "extract centre" is OFF (the "vocal removal" option). The only difference is that in Audacity the right-hand (unprocessed) channel is silenced but is left "as is" in Wavosaur and Goldwave. The README with the plug-in has nothing to say about this, but I assume it is not what the author intended.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 80751
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: VST Effects 8192 samples delay

Post by steve » Fri Nov 02, 2012 4:06 am

I'm not an expert on VST effects, but as I understand it the issue is to do with how the effects handle audio buffers. To provide smooth real-time output the plug-in needs to pre-load data into an audio buffer (typically between 512 and 8192 samples). In the absence of the host program reporting its real time latency capability it is not surprising that an effect may default to the largest buffer size. The buffer provides "look ahead" for the real-time processing at the expense of output latency. Audacity does not support real time processing so it probably does not have any mechanism for dealing with buffer delay, relying instead on the plug-in to return bit-for-bit data to write to disk. It would seem that the Antress "Modern" plug-ins do this, but AutoTune and kn0ck0ut don't.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: VST Effects 8192 samples delay

Post by Gale Andrews » Fri Nov 02, 2012 4:33 am

steve wrote:I'm not an expert on VST effects, but as I understand it the issue is to do with how the effects handle audio buffers. To provide smooth real-time output the plug-in needs to pre-load data into an audio buffer (typically between 512 and 8192 samples). In the absence of the host program reporting its real time latency capability it is not surprising that an effect may default to the largest buffer size. The buffer provides "look ahead" for the real-time processing at the expense of output latency. Audacity does not support real time processing so it probably does not have any mechanism for dealing with buffer delay, relying instead on the plug-in to return bit-for-bit data to write to disk. It would seem that the Antress "Modern" plug-ins do this, but AutoTune and kn0ck0ut don't.
Thanks, Steve. This could be the reason, as indeed I don't think Audacity has delay compensation. See here:
http://audacity.238276.n2.nabble.com/Fw ... 67652.html .

Goldwave and Wavosaur both have real-time effect preview (but AFAIK cannot for example apply effects while recording). If absence of delay compensation is the cause of the Kn0ck0ut issue, I am a bit surprised Wavosaur does not have this.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply