audiality2 icon indicating copy to clipboard operation
audiality2 copied to clipboard

Fast pitch coefficient approximation for filter12

Open olofson opened this issue 12 years ago • 0 comments

There's powf(), sin() and division going on in filter12 when changing the cutoff frequency. That's not very fast - and if we're going to run this on non-FPU hardware, it's really bad news!

We could probably come up with a polynomial approximation for the whole expression, that's faster (at least without a proper FPU) and still accurate enough for musical pitch tuned filters.

olofson avatar Sep 19 '13 19:09 olofson