Skip to content
Ohmic Audio

Convolution

Canonical Definition

Convolution combines an input signal with a system impulse response so each input sample contributes a scaled and shifted copy of that impulse response to the output. For a linear time-invariant discrete system, convolution fully describes how the system transforms the input and is the direct computational form of FIR filtering.

Discrete Form

y[n] = Σ x[k]h[n-k]

Here x is the input and h is the impulse response. If the input is a single unit impulse, the output is the coefficient set itself.

What Convolution Can Model

A single fixed impulse response does not model clipping, compression, thermal drift, protection, or other nonlinear or time-varying behavior.

Direct And FFT Processing

MethodStrengthImportant limit
Direct convolutionSimple sample-by-sample implementationInstruction cost grows directly with tap count
FFT overlap-add or overlap-saveEfficient for long filtersRequires correct padding and block handling
Partitioned convolutionBalances long filters with manageable real-time latencyPartition size adds buffer and scheduling tradeoffs

Correct implementations produce the same intended linear filter. Their CPU, memory, and processing latency differ.

Common Import Problems

Verification Workflow

  1. Record the impulse source, sample rate, length, channel, windows, time reference, and normalization.
  2. Calculate or inspect peak gain and DC response before loading.
  3. Load with outputs muted and verify a low-level impulse or swept-sine response.
  4. Measure magnitude, phase, impulse response, group delay, and total latency.
  5. Confirm the physical analog output remains clean and the model is still valid for the operating condition.

Related Resources