• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: low-pass and high-pass filter.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:
  1. Design prototype filters, EG. "8-pole butterworth", made of poles and zeroes.
  2. Transform the filters to the appropriate bandform, EG. high-pass.
  3. Use a bilinear transform to move these filters to the digital domain, still poles and zeroes.
  4. 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.

Alternatively, here's a C++ library that does all of this, if it suits your needs:  https://github.com/vinniefalco/DSPFilters

– Evan Balster
creator of imitone

On Fri, Dec 23, 2016 at 8:32 AM, Nigel Redmon <email@hidden> wrote:
Maybe this will help? Use four biquads, each set to the same frequency, but with Q set as indicated by the calculator:

http://www.earlevel.com/main/2016/09/29/cascading-filters/

Nigel

On Dec 23, 2016, at 8:59 PM, Waverly Edwards <email@hidden> wrote:

I need to apply an eight-pole Butterworth low-pass and later a high-pass filter.  Are there any built-in mechanisms for this?

If there are not, would someone mind providing some algorithmic guidance as to how this could  accomplished?  Why?  I am attempting to reproduce an experiment in which an eight-pole Butterworth filter was used -- a high-pass at 300Hz and a low-pass at 3000Hz. If it matters, this is not for iOS.

 

Thank you kindly,

 

 

W.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >low-pass and high-pass filter. (From: Waverly Edwards <email@hidden>)
 >Re: low-pass and high-pass filter. (From: Nigel Redmon <email@hidden>)

  • Prev by Date: Re: low-pass and high-pass filter.
  • Next by Date: RE: low-pass and high-pass filter.
  • Previous by thread: Re: low-pass and high-pass filter.
  • Next by thread: RE: low-pass and high-pass filter.
  • Index(es):
    • Date
    • Thread