Inverse FFT - how to synchronize the phase in each buffer block

You have to rotate the phase of that frequency bin to match the sinusoid’s phase at the end of the buffer.

The equation for your phase offset after one block (hopsize) should be the following
dPhi = frequency / sampleRate * hopsize * 2*pi

1 Like