Category Archives: Biquads

About coefficient conventions

It’s been asked many times, so it’s worth an article explaining the conventions used on this site for transfer functions, and why they may differ from what you see elsewhere. People run into this most often with biquads: I use … Continue reading

Posted in Biquads, IIR Filters, Uncategorized | 4 Comments

Filter frequency response grapher

Here’s a tool that plots frequency response from filter coefficients. Hz linearlog 10log 2 Plot auto40 dB30 dB20 dB10 dB0 dB-10 dB-20 dB-30 dB-40 dB Max 60 dB80 dB100 dB120 dB140 dB160 dB180 dB Range a coefficients (zeros) b coefficients … Continue reading

Posted in Biquads, Filters, FIR Filters, IIR Filters, Uncategorized, Widgets | 7 Comments

Evaluating filter frequency response

A question that pops up for many DSP-ers working with IIR and FIR filters, I think, is how to look at a filter’s frequency and phase response. For many, maybe they’ve calculated filter coefficients with something like the biquad calculator … Continue reading

Posted in Biquads, FFT, Filters, FIR Filters, IIR Filters | 18 Comments

Cascading filters

Sometimes we’d like to cascade biquads to get a higher filter order. This calculator gives the Q values for each filter to achieve Butterworth response for lowpass and highpass filters. Order: 234567891011121314151617181920 Q values: You can calculate coefficients for all biquad … Continue reading

Posted in Biquads, Filters, IIR Filters, Widgets | 9 Comments

Pole-Zero placement v2

Pair Pole mag Pole angle Pair Zero mag Zero angle Sample rate (Hz) linearlog Plot A new pole-zero calculator An JavaScript remake of the old Java-based pole-zero placement applet—visit that page for tips on pole-zero locations for standard biquads. The … Continue reading

Posted in Biquads, Digital Audio, Filters, IIR Filters, Widgets | 11 Comments

Biquad calculator v2

Type:lowpasshighpassbandpassnotchpeaklow shelfhigh shelfone-pole lpone-pole hp Plot:linearlog Sample rate (Hz) Fc (Hz) Q Gain (dB) Here’s an update of the biquad calculator. It adds one-pole highpass and lowpass filters, and frequency, Q, and gain sliders. The sliders cover the range of … Continue reading

Posted in Biquads, Digital Audio, Filters, IIR Filters, Widgets | 59 Comments

Biquad C++ source code

I don’t want to get into the business of teaching people how to code—there are a huge number of free resources available on the internet to that do that. But I’ll give a small taste for those trying to get … Continue reading

Posted in Biquads, Digital Audio, Filters, IIR Filters, Source Code | 57 Comments

Biquad formulas

For fixed filters, we can plug biquad coefficients into our programs. But often, we need to calculate them on the fly, to user settings or changes in sample rate. As a companion to the biquad calculator, here are the formulas … Continue reading

Posted in Biquads, Digital Audio, Filters, IIR Filters | 38 Comments

A biquad calculator

Something useful: a biquad filter coefficient calculator… Continue reading

Posted in Biquads, Digital Audio, Filters, IIR Filters, Widgets | 34 Comments

Biquads

One of the most-used filter forms is the biquad. A biquad is a second order (two poles and two zeros) IIR filter. It is high enough order to be useful on its own, and—because of coefficient sensitivities in higher order … Continue reading

Posted in Biquads, Digital Audio, Filters, IIR Filters | 26 Comments