DSPRelated.com
Ten Little Algorithms, Part 2: The Single-Pole Low-Pass Filter

Ten Little Algorithms, Part 2: The Single-Pole Low-Pass Filter

Jason Sachs
TimelessIntermediate

Other articles in this series: Part 1: Russian Peasant Multiplication Part 2: The Single-Pole Low-Pass Filter Part 3: Welford’s Method (And Friends) Part 4: Topological Sort I’m writing this article in a room with a bunch of...


Summary

This blog presents the single-pole low-pass filter (one-pole IIR), deriving the discrete coefficient from an analog time constant and sampling rate, and explaining its time- and frequency-domain behavior. It shows efficient implementations, discusses numerical and initialization issues, and gives practical usage examples for audio and real-time DSP.

Key Takeaways

  • Compute the filter coefficient (alpha) from cutoff frequency or time constant and sampling rate to match analog behavior.
  • Implement the single-pole IIR efficiently in code (floating- and fixed-point) for low-latency real-time use.
  • Analyze the filter's frequency response and time-domain step response to choose appropriate cutoff and time-constant tradeoffs.
  • Identify numerical issues (initial conditions, stability, quantization) and apply pragmatic fixes for embedded and audio systems.

Who Should Read This

Intermediate DSP engineers, embedded audio or real-time systems developers, and signal-processing hobbyists who want a concise, practical reference for implementing and tuning a single-pole low-pass filter.

TimelessIntermediate

Topics

Filter DesignAudio ProcessingReal-Time DSP

Related Documents