Altera_Forum
Honored Contributor
16 years agoFFT IFFT Unity gain output
Hello,
I am using the DE2 board (cyclone II fpga) for my project. I took sound input using the internal audio codec (in 16 bit mode) then I pass it through FFT and then IFFT block. Finally i use the audio codec again to output the sound and hear it in the speaker. My problem is that, when i make the FFT IFFT pair unity gain, using a scalar block, always there is a audiable noise in the output. The fft window size i have used is 128. for scaling I followed the fft manual's procedure. I scale the output with the factor, exp_out = exp_fft + exp_ifft + 7; // 7 is for the window size. Should there always be a noise, when i scale? How to minimize it? Please help...