Skip to content
CoreSource checked

Band-Pass Filter

Passes frequencies inside a chosen band while attenuating lower and higher frequencies.

Quick Facts

Compact metadata for implementation and discovery.

Category
Signal Processing
Difficulty
Intermediate
Family
Filter Design
Tier
Core
Status
Verified
Review
Source Checked
Sources
1
Formulas
1
Relationships
3
Code example
Ready
Visualization
Ready

Overview

A band-pass filter combines low-frequency rejection with high-frequency rejection so a signal component in a selected frequency range remains prominent.

Core Concepts

pass bandcutoff frequencyfrequency selectionfilter response

Quick facts

Complexity

Runtime and memory behavior at a glance.

Best

O(k)

Average

O(n k)

Worst

O(n k)

Space

O(k)

When to Use

  • Use when the desired signal occupies a known frequency band.
  • Use when both low-frequency drift and high-frequency noise should be reduced.

When Not to Use

  • Avoid when the signal of interest is broadband or its frequency band moves too much.
  • Avoid when phase distortion or latency from the chosen filter is unacceptable.

What It Does

  • Keeps frequencies inside a selected band and suppresses frequencies outside it
  • Uses pass band and cutoff frequency to guide the work.
  • Produces filtered signal.

Use Cases

  • Filtering noisy signals
  • Spectral analysis
  • Audio and sensor processing

Inputs

  • Sampled signal
  • Filter or transform parameters

Outputs

  • Filtered signal
  • Spectrum or feature representation

Key Formulas (1)

Band-pass rule

keep if lowcutoff ≤ frequency ≤ highcutoff
keep if low_cutoff <= frequency <= high_cutoff

Describes the ideal frequency-domain decision.

Pseudocode

  1. 1.Validate sample rate and cutoff frequencies
  2. 2.Design or load band-pass coefficients
  3. 3.Initialize filter state
  4. 4.Process samples through the filter difference equation or convolution
  5. 5.Return the filtered signal

Canonical Example

Input
sample rate 1000 Hz, pass band 100-200 Hz
Output
150 Hz component preserved while 20 Hz and 400 Hz components are attenuated
Explanation
Only the frequency component inside the selected band remains strong.

Implementation Notes

  • State lower cutoff, upper cutoff, sample rate, and filter order.
  • Test with sine waves below, inside, and above the pass band.
  • Document whether the filter is causal, zero-phase, FIR, or IIR.

Common Pitfalls

  • Cutoff frequencies must be normalized to the sampling rate.
  • Too narrow a band can remove useful signal energy.
  • IIR and FIR designs have different phase and stability behavior.

Interactive Mechanism Walkthrough

Iterative Convergence & State Trajectory

Show the input signal beside the filtered, transformed, or reconstructed output.

Band-Pass Filter mechanism walkthrough step 1 of 5x₀x₁x₂x*
Step 1 of 5: Validate sample rate and cutoff frequencies
signal-processing-mechanism

Notes

Band-pass behavior is meaningful only relative to the signal's sampling rate and frequency content.

Sources (1)

What each reference supports for this entry.

Discrete-Time Signal Processing

Book

Signal-processing reference for digital filters, convolution, spectral analysis, windows, resampling, and transform-based methods.

Open source

Explore Next

Good next jumps from the relationship graph, ranked for useful discovery.

SpecializesIIR Filter

Band-pass filters can be implemented as IIR filters over a selected frequency range.

Tags

Signal ProcessingFilter DesignFrequency DomainFiltering