Number of taps vs. frequency resolution for fir filters - diyAudio
 Number of taps vs. frequency resolution for fir filters
 User Name Stay logged in? Password
 Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read Search

 Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

 Please consider donating to help us continue to serve you. Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
 19th June 2008, 01:36 PM #1 diyAudio Member   Join Date: May 2007 Number of taps vs. frequency resolution for fir filters Apologies in advance if this has been covered before, but I couldn't find anything clearing up this question. I'm attempting to get Ubuntu up and running with BruteFIR to do active crossovers digitally. In thinking about filter design and I'm trying to understand the number of taps required. I've seen the equation for frequency resolution: Fres = Fs/Ntaps. I'm trying to understand, does this determine the limit on the resolution of the filter frequency response that can be specified only(slope, width of peaks dips that can be equalized out, etc.)? Or does it determine some kind limit on the frequency resolution of the signal that is output from the filter? For example let's say my sample rate is 44100kHz and I use 441 taps to give a resolution of 100 Hz. If I have a signal feeding the filter that is two sine waves of frequency 325 Hz and 375 Hz, are the frequencies blurred together or distorted in some sense? thanks, Dan
 19th June 2008, 03:04 PM #2 diyAudio Member     Join Date: Jan 2002 Location: Kuopio, Finland Dan, more taps you'll have, sharper and steeper the frequency response can be. That formula probably derives from the Fourier transform method, where you "draw" the frequency response of the filter, and inverse Fourier transform is then performed to calculate the filter impulse response. Or, the frequency domain specification is directly used for filtering the input data using FFT. Frequency resolution in this sense affects only frequency response, it does not distort the signal by any way. So feeding those 325 and 375 Hz signals to filter with 100 Hz frequency resolution outputs same frequencies. Regards, Janne
 19th June 2008, 03:40 PM #3 diyAudio Member   Join Date: Feb 2005 Location: south of lower saxon Have a look at http://www.dspguide.com/ and download chapters 14 to 21 (or even the whole book). FIR filter can be found in chapter 17. It's a great book, written easily, with a bunch of examples. I can really recommend it for beginners, students and everybody else who's involved in this numeric audio stuff.
 20th June 2008, 08:09 PM #4 diyAudio Member   Join Date: May 2007 Thanks for the responses. That makes sense. The DSP guide looks very useful. Dan

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are Off Refbacks are Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post peranders Parts 41 19th February 2011 06:23 PM junktl Everything Else 0 23rd January 2009 06:36 PM Nordic Everything Else 16 9th June 2007 06:30 PM Magura Swap Meet 47 12th April 2004 11:29 PM

 New To Site? Need Help?

All times are GMT. The time now is 12:02 PM.