• 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: High Pass Filter example?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: High Pass Filter example?


  • Subject: Re: High Pass Filter example?
  • From: Urs Heckmann <email@hidden>
  • Date: Thu, 5 Jun 2003 09:21:13 +0200

Am Donnerstag, 05.06.03, um 06:31 Uhr (Europe/Berlin) schrieb email@hidden:

Hi,

I'm looking for a basic single pole high pass filter. Does anyone know the
high pass version of this low pass filter?

inline double LowPassFilter(double input, double inCutoff, double& ioPrev)
{
ioPrev = (input * (1.0 - inCutoff)) + (ioPrev * inCutoff);

return ioPrev;
}



What about just subtracting the lowpassed signal from the input?

inline double HighPassFilter(double input, double inCutoff, double& ioPrev)
{
ioPrev = input + inCutoff * (ioPrev - input);

return input - ioPrev;
}

For more sophisticated approaches, check out www.musicdsp.org

Cheers,

;) Urs
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >High Pass Filter example? (From: email@hidden)

  • Prev by Date: Re: Convert to float and more
  • Next by Date: Re: Convert to float and more
  • Previous by thread: High Pass Filter example?
  • Next by thread: Re: High Pass Filter example?
  • Index(es):
    • Date
    • Thread