Hi,
I am trying to implement some DSP algorithm by using the Audio Sample Project. I have tried FFT/IFFT, FIR Filtering successfully. Now, I am trying to implement some kind of enhancement algorithm. It only includes trigonometric functions, "atan, cos and sin", FFT/IFFT and complex number magnitude/angle calculations. But when I run the code, the audio comes intermittently. If I decrease the sample rate to 8 KHZ, again the audio comes intermittently, but at least it can be understandable. I think the problem is related to buffers. One receive and one transmit buffers are used inside the program. Do I need to increase the number of buffers such that one of the is used for processing and the other one is only used for collecting or transmitting audio data?
How can I speed up the program? Do I need to use double buffers for both receive and transmit buffers? If so, how can I do that? Also the same problem occurs if I use SDRAM instead of IRAM (changing .far inside cmd file) and perform only FFT and IFFT operations in order to hear input audio at output.
I think, I miss some point, because 300 MHZ DSP can not be so slow. Could you please share your comments and recommendations with me?
Thanks&Best Regards,
Fikret Alim