I’m quite happy with the formula I found to tune a 1-pole/no-zero digital low-pass filter in the form y ← y + c * (x - y).

https://www.desmos.com/calculator/6bf88f2b35

It can set the cutoff frequency way above Nyquist and matches well the passband response of an ideal continuous-time equivalent filter (black curve). It is slightly shelf-shaped when the cutoff is close to Nyquist, but that’s the limitation of the lack of zero.

It’s a good way to tune the damping filter of a #reverb!

The formula remains fast to compute (a square root and a few mul/add). See Coefficient calculation > c5() and c3().

#dsp #audio #AudioProgramming #DigitalSignalProcessing

1-pole no zero LPF frequency response

Explore math with our beautiful, free online graphing calculator. Graph functions, plot points, visualize algebraic equations, add sliders, animate graphs, and more.

Desmos