I am programming the simplest way of implementing and IIR filter. However, I am struggling with the use of buffers. Do any of you have any simple implementation of an IIR filter implementing manually the convolution? I would like to have something simple, implemented on a function or something like that on C/C++.

thanks in advance.

  • 1
    $\begingroup$ Did you google IIR filter C++ source code? There are dozens of online sources out there. $\endgroup$
    – Hilmar
    Commented Dec 1, 2020 at 16:33
  • $\begingroup$ I did but most of them are outdated or not working properly $\endgroup$ Commented Dec 2, 2020 at 8:41

1 Answer 1


In my opinion, you could use a couple of easiest and more optimized solutions, unless you need only that filter and you want to avoid third party or extra library/files:


  • $\begingroup$ Cool! I will have a look into it! $\endgroup$ Commented Dec 2, 2020 at 8:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.