• 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
Filters in Accelerate Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filters in Accelerate Framework


  • Subject: Filters in Accelerate Framework
  • From: "Support (One Red Dog)" <email@hidden>
  • Date: Wed, 25 Jan 2012 21:36:01 +1100

Hi

I've been experimenting with trying to use the Accelerate framework to optimise a filter. So far I've managed to get vDSP_deq22 working for a 2-pole filter, but I'm stuck at trying to cascade that into 4-poles. My current implementation adds the 2nd biquad for the 4-poles in a sample at a time loop. I figure the vDSP_deq22 is basically doing this but nicely optimised in SSE.

void maybe_vDSP_deq22(float *in, float *coeff, float *out, unsigned int samples)
{
    for (int n = 2; n < samples+2; ++n)
    {
        out[n] = in[(n-0 )] * coeff[0]
               + in[(n-1 )] * coeff[1]
               + in[(n-2 )] * coeff[2]
               - out[(n-3+2)] * coeff[3]
               - out[(n-4+2)] * coeff[4];
    }
}

I was wondering if anyone has tried this and how it can be cascaded?

thanks
peter
 _______________________________________________
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

  • Prev by Date: Re: Slow audio device starting on Lion?
  • Next by Date: AUval '1.2.1b3' fails, but '1.6.1a' is OK!
  • Previous by thread: Re: Audio Units & Airplay & MPVolumeView & Wifi lags (over buffering?)
  • Next by thread: AUval '1.2.1b3' fails, but '1.6.1a' is OK!
  • Index(es):
    • Date
    • Thread