Given a real time stream of audio samples (for example from cpal), and a static impulse response buffer, how would you perform the convolution and emit in real time?
I’m relatively new to this. My strategy would be to buffer the audio chunks into sizes equals to the impulse response, then FFT them, multiple with impulse response buffer, iFFT and emit the chunks back, introducing some latency.
Does this sound right? Any suggestions for crates or other algorithms?