VST plugin : using FFT on audio input buffer with arbitrary size, how ?

Posted by Led on Stack Overflow See other posts from Stack Overflow or by Led
Published on 2010-04-19T21:48:20Z Indexed on 2010/04/19 21:53 UTC
Read the original article Hit count: 186

Filed under:
|
|
|

I'm getting interested in programming a VST plugin, and I have a basic knowledge of audio dsp's and FFT's.

I'd like to use VST.Net, and I'm wondering how to implement an FFT-based effect. The process-code looks like

public override void Process(VstAudioBuffer[] inChannels, VstAudioBuffer[] outChannels)

If I'm correct, normally the FFT would be applied on the input, some processing would be done on the FFT'd data, and then an inverse-FFT would create the processed soundbuffer.

But since the FFT works on a specified buffersize that will most probably be different then the (arbitrary) amount of input/output-samples, how would you handle this ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about vst