I just wrote a biquad article with source code. I wanted to keep it simple for clarity (no templates to handle different sample sizes, for instance), but it's efficient and easy to use:camsr wrote:Yes this is good for testing purposes. I started out writing a class but knew the implementation was going to be difficult for me, so I skipped it and put it in a function. Now I have to make a component.
http://www.earlevel.com/main/2012/11/26 ... urce-code/