I want to show you, how you can calculate IIR filter parameters on the fly during operation. A special thanks to earlevel.com for the good documentation of the formulas: https://www.earlevel.com/main/2011/01/02/biquad-formulas/
Check out my YouTube video where I explained the project: https://youtu.be/Dt07Iwh6evE