DSPRelated.com
Forums

A really good reference on digital filters

Started by John McDermick November 22, 2011
I am looking for a really good (comprehensive and fairly easy-to-
understand) book on digital filter design and implementation (with
emphasis on implementation). The context (if that helps) is audio
applications.

A book that can act like a "reference manual" so I can look up and
read about how various filters are designed and implemented would be
great.

I like the practical approach so a book with lots of implementation
examples (in MATLAB or C) to ease the understanding, would be great.

Any recommendations from the seasoned engineers in this group?





On 22 Nov, 20:34, John McDermick <johnthedsp...@gmail.com> wrote:
> I am looking for a really good (comprehensive and fairly easy-to- > understand) book on digital filter design and implementation (with > emphasis on implementation). The context (if that helps) is audio > applications. > > A book that can act like a "reference manual" so I can look up and > read about how various filters are designed and implemented would be > great. > > I like the practical approach so a book with lots of implementation > examples (in MATLAB or C) to ease the understanding, would be great. > > Any recommendations from the seasoned engineers in this group?
For filters in general (not necessarily audio), this one comes to mind: http://www.amazon.com/Digital-Signal-Processing-ebook/dp/B0013OOD5U/ref=sr_1_sc_2?ie=UTF8&qid=1321990861&sr=8-2-spell Rune
On 11/22/11 2:34 PM, John McDermick wrote:
> I am looking for a really good (comprehensive and fairly easy-to- > understand) book on digital filter design and implementation (with > emphasis on implementation). The context (if that helps) is audio > applications. > > A book that can act like a "reference manual" so I can look up and > read about how various filters are designed and implemented would be > great. > > I like the practical approach so a book with lots of implementation > examples (in MATLAB or C) to ease the understanding, would be great. > > Any recommendations from the seasoned engineers in this group? >
Oppenheim & Schafer; Discrete-Time Signal Processing Orfanidis; Introduction to Signal Processing Lyons; Understanding Digital Signal Processing Steiglitz; A Digital Signal Processing Primer maybe Pohlmann; Principles of Digital Audio O&S is probably the most mathematically rigorous, i consider O&S to be a sorta. Orfanidis and Steiglitz both have some emphasis with audio. i think that Orfanidis is more EE-like and Steiglitz might appeal more to computer music folks that are dabbling in DSP. do you want some free online references? -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
On Nov 22, 1:34&#4294967295;pm, John McDermick <johnthedsp...@gmail.com> wrote:
> I am looking for a really good (comprehensive and fairly easy-to- > understand) book on digital filter design and implementation (with > emphasis on implementation). The context (if that helps) is audio > applications. > > A book that can act like a "reference manual" so I can look up and > read about how various filters are designed and implemented would be > great. > > I like the practical approach so a book with lots of implementation > examples (in MATLAB or C) to ease the understanding, would be great. > > Any recommendations from the seasoned engineers in this group?
Two of the books I like are: Digital Filters by R. W. Hamming - for theory Digitall Filter Design by T. W. Parks and C. S. Burrus - Heavy on implementation with complete chapters on implementing FIR and IIR filters. (Now here is where I tell my age.) The book has an appendix of nothing but program examples written in (ready for this) FORTRAN. There are assembly language examples for (here we go again) the TMS32010 digital signal processor. If I remember right, Parks and Burrus used to do applications and examples for TI. Maurice Givens
> > do you want some free online references? >
Yes please
On 11/22/11 4:26 PM, John McDermick wrote:
> >> >> do you want some free online references? >> > > Yes please >
http://www.dspguide.com/ https://ccrma.stanford.edu/~jos/pubs.html specifically http://www.dsprelated.com/dspbooks/filters/ and (besides the goldmine that is Julius Smith) a really nice tutorial on sound processing is http://profs.sci.univr.it/~rocchess/SP/sp.pdf and, lastly, a simple quick-and-dirty (or clean) text file that spells out simple equations for determining coefficients for audio EQ (or whatever app) biquad filters is http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt but nearly everything at the music-dsp site could be useful to you. more lastly, i would hang around here at comp.dsp with questions regarding either theory or implementation and i would subscribe to the music-dsp mailing list. and, even more lastly, i would recommend joining the Audio Engineering Society if you plan to do a bunch of audio DSP for a living (or for a hobby). -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
oh, and i forgot

    http://www.dspdimension.com/

and http://bores.com/ used to have some online tutorials, but it doesn't 
look like they're free anymore.

anyone else i forgot?  Tim, do you have any stuff at

   http://www.wescottdesign.com/articles.html

that might be useful to the OP?


-- 

r b-j                  rbj@audioimagination.com

"Imagination is more important than knowledge."


The Steiglitz book is a really good place to start. He's not as math-
y, but tries to give you more intuition. His stuff is really easy to
implement too. I'd check out the Orfanidis book after that.

There's so many different ways to design filters for audio
applications, you might want to narrow your scope even a little more
than "audio". Do you want basic EQ type filters? Or some type of
filter for analysis (where the output won't be heard)? EQ type filters
generally start from a "canned equation" approach that has its history
in analog filters, whereas analysis filterbanks derive from certain
mathematical constraints (i.e. perfect reconstruction, critical
sampling, etc). Then there's filters for sample rate conversion, which
is a whole other thing. There's just so much out there on the topic,
you really have to narrow in on a specific application if you don't
want to be overwhelmed.

Also, if it's EQ type filters you want and you just want to get
something going in Matlab to get a "feel" for filters, google "RBJ
Cookbook." Robert is being humble by not mentioning it, so I'll do it
for him. :)



On Nov 22, 3:46&#4294967295;pm, maury <maury...@core.com> wrote:
> On Nov 22, 1:34&#4294967295;pm, John McDermick <johnthedsp...@gmail.com> wrote: > > > I am looking for a really good (comprehensive and fairly easy-to- > > understand) book on digital filter design and implementation (with > > emphasis on implementation). The context (if that helps) is audio > > applications. > > > A book that can act like a "reference manual" so I can look up and > > read about how various filters are designed and implemented would be > > great. > > > I like the practical approach so a book with lots of implementation > > examples (in MATLAB or C) to ease the understanding, would be great. > > > Any recommendations from the seasoned engineers in this group? > > Two of the books I like are: > Digital Filters by R. W. Hamming - &#4294967295;for theory > > Digitall Filter Design by T. W. Parks and C. S. Burrus - Heavy on > implementation with complete chapters on implementing FIR and IIR > filters. (Now here is where I tell my age.) The book has an appendix > of nothing but program examples written in (ready for this) FORTRAN. > There are assembly language examples for (here we go again) the > TMS32010 digital signal processor. > > If I remember right, Parks and Burrus used to do applications and > examples for TI. > > Maurice Givens
On 11/23/11 11:25 AM, Chris wrote:
> > Also, if it's EQ type filters you want and you just want to get > something going in Matlab to get a "feel" for filters, google "RBJ > Cookbook." Robert is being humble by not mentioning it, so I'll do it > for him. :) >
On 11/22/11 6:00 PM, robert bristow-johnson wrote: > > and, lastly, a simple quick-and-dirty (or clean) text file that spells > out simple equations for determining coefficients for audio EQ (or > whatever app) biquad filters is > http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt > but nearly everything at the music-dsp site could be useful to you. so much for any notion of humility. -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
Oops! Guess I missed that post. RTFA, as they say.

On Nov 23, 12:06&#4294967295;pm, robert bristow-johnson
<r...@audioimagination.com> wrote:
> On 11/23/11 11:25 AM, Chris wrote: > > > > > Also, if it's EQ type filters you want and you just want to get > > something going in Matlab to get a "feel" for filters, google "RBJ > > Cookbook." Robert is being humble by not mentioning it, so I'll do it > > for him. :) > > On 11/22/11 6:00 PM, robert bristow-johnson wrote: > &#4294967295;> > &#4294967295;> and, lastly, a simple quick-and-dirty (or clean) text file that spells > &#4294967295;> out simple equations for determining coefficients for audio EQ (or > &#4294967295;> whatever app) biquad filters is > &#4294967295;>http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt > &#4294967295;> but nearly everything at the music-dsp site could be useful to you. > > so much for any notion of humility. > > -- > > r b-j &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295; &#4294967295;r...@audioimagination.com > > "Imagination is more important than knowledge."