Hey DSP Jucers
I’ve been diving more into spectral processing, & my latest little project consists of two signals, A & B. What I’d like to do is:
- Take FFT of A & B (same FFT size)
- Use magnitude values of B (via
dsp::FFT::performFrequencyOnlyForwardTransform) to scale magnitudes of A (via
- use the IFFT on A, and then use the output as audio output
Basically I’d like to use the magnitude “contour” of B to create a filter-like effect on A. My main question is if there’s an optimized way to scale the magnitudes of A without converting to polar form and then back to rectangular (thus using expensive trig functions)?
Right now I’m considering using an overlap-add method with a hanning window for the processing, in case anybody has suggestions for that system.