Convolution/ IR-Loader from Scratch
Hello!
What I'd like to do is build a simple (as possible) impulse response loader, which can then convolve the loaded IR in the frequency domain with an incoming audio signal.
I'm alright using pfft~ to do really simple convolution. See below:
But what I want to do is feed in an impulse response from a wav file. I've tried a few things like loading the IR into a buffer, but even when the IR is looping, it doesn't seem to actually convolve in the way I'd expect.
Can anyone steer me in the right direction of how to do this? I just want a simple DIY way of loading and IR and convolving it with an input signal.
Thank you!
IR is a different job than what is possible within an FFT.
the buffir~ object does this kind of thing (for very short filters), and you could chain many of them for reverb responses.
however it is so computationally intensive that you do not want to create your own in max, there are third party externals (such as hiss tools) which do it far better.
Max > File > Show Package Manager > HISSTools Impulse Response ToolBox