Re: low-pass and high-pass filter.
Re: low-pass and high-pass filter.
- Subject: Re: low-pass and high-pass filter.
- From: Evan Balster <email@hidden>
- Date: Fri, 23 Dec 2016 11:47:22 -0600
It took me a while to get my head around digital filter design algorithms. You'll need to do the following steps, which I recommend you research individually:
- Design prototype filters, EG. "8-pole butterworth", made of poles and zeroes.
- Transform the filters to the appropriate bandform, EG. high-pass.
- Use a bilinear transform to move these filters to the digital domain, still poles and zeroes.
- Compute the coefficients of the filter from the poles and zeroes. I recommend using biquad filters, each of which uses two poles and two zeroes.
Step 2 or step 3 will need to involve some kind of "prewarping" to get the filter cutoff in the right location. If you don't prewarp, the filter's cutoff won't end up where you expect it to.