Filter using DFT

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Mac OS X
GNU/Linux and Unix-like
Post Reply
Posts: 11
Joined: Sun Jan 09, 2011 12:54 pm
Operating System: Please select

Filter using DFT

Post by milasudril » Thu Jul 07, 2011 3:32 pm

I want to apply a filter using fft in small blocks. All I find on www is just to say fft on the entire data sequence. Is this the best way to do it.

Code: Select all

 y(n:N+n-1)=real(ifft( fft( x(n:N+n-1) ).*spectrum_mirror ));
, where spectrum_mirror contains all frequencies including "mirror" frequencies

Before any complaint: I realize that it is wrong to ask someone about correcting code.

Post Reply