Product

Zero-latency convolution reverb and parametric room synthesis

How Infinite's Convolution Reverb pairs zero-latency non-uniform FFT partitioning with Allen-Berkley room synthesis, pink-noise normalisation, and click-free crossfades.

Naman Soni29 November 2026 · 5 min read

DSP architecture diagram of Infinite's Convolution Reverb showing 64-tap direct FIR head, three non-uniform FFT tiers (64, 1024, 4096), amortised big-tier scheduling, and background room synthesis
on this page
  1. Non-uniformly partitioned FFT convolution
  2. Parametric room synthesis on a background thread
  3. Pink-noise normalisation and click-free IR swaps
  4. Choosing between Convolution Reverb and algorithmic Reverb

Convolution reverb is famous for realistic acoustic spaces and equally famous for two real-time headaches: uniform small-block FFT partitioning burns too much CPU on long tails, while large-block FFT partitioning introduces unacceptable latency and callback spikes. At the same time, loading static WAV impulse responses locks sound designers into fixed rooms where changing size or wall absorption means hunting for another file.

In Infinite, the Convolution Reverb node (ConvolutionKernel) solves both problems in a zero-latency, non-uniformly partitioned engine that can either load an audio file or synthesise a stereo room impulse response on a background thread. While the audio thread only convolves and crossfades, a worker thread builds the acoustic space from six physical parameters: size, shape, material, distance, decay, and spread.

DSP architecture diagram of Infinite's Convolution Reverb showing 64-tap direct FIR head, three non-uniform FFT tiers (64, 1024, 4096), amortised big-tier scheduling, and background room synthesis
DSP architecture diagram of Infinite's Convolution Reverb showing 64-tap direct FIR head, three non-uniform FFT tiers (64, 1024, 4096), amortised big-tier scheduling, and background room synthesis

Non-uniformly partitioned FFT convolution

ConvolutionKernel follows the Gardner (1995) and Wefers (2015) non-uniform partitioned convolution layout. Instead of running one FFT size across the entire impulse response, it splits the impulse response (IrSet) into a direct time-domain head and three frequency-domain delay line (FDL) tiers with growing block sizes (kBlockLog2 = { 6, 10, 12 }):

  • Direct FIR head (0..63 samples): The first kHead = 64 taps run sample-by-sample directly against a circular stereo history buffer (mHist). Because the head produces output on sample zero, the node reports zero latency and adds no delay to Infinite's lock-free PDC graph.
  • Tier 0 (B = 64, starting at sample 64): Covers early reflections from sample 64 to 1023 in 15 partitions, running a 128-point real FFT (2 * B) whenever 64 input samples arrive.
  • Tier 1 (B = 1024, starting at sample 1024): Covers mid-tail energy from sample 1024 to 8191 in 7 partitions using a 2048-point real FFT.
  • Tier 2 (B = 4096, starting at sample 8192): Covers the remaining tail up to 10.0 seconds (kMaxSeconds = 10.0f, capped at kMaxSamples = 960000 at 96 kHz) using an 8192-point real FFT.

Notice the starting offset of Tier 2: kTierStart[2] = 8192, which is 2B rather than B. If the largest tier began at B = 4096, its FFT pass would have to finish immediately at the end of a 4096-sample window, creating a heavy CPU spike on that single audio callback. Starting Tier 2 at 2B gives the engine an entire 4096-sample window of slack. ConvolutionKernel::BigTierTick splits the large tier's forward FFT, partition multiply-accumulate steps, and inverse FFT across kBigTicks = 56 Tier-0 blocks (out of the 64 small blocks in one big block), leaving an 8-block margin and keeping every audio callback's CPU cost flat.

Parametric room synthesis on a background thread

When no external impulse response file is loaded, ConvolutionKernel::DesignImpulse synthesises a physical shoebox room off the audio thread:

  1. Room geometry and Eyring absorption: size (0..1) maps the longest side exponentially from 3 m to 60 m (3.0f * powf(20.0f, size)), while shape selects aspect ratios for room (0.72, 0.45), hall (0.55, 0.38), chamber (0.90, 0.80), or tunnel (0.16, 0.13). Wall absorption is solved directly from the requested decay (RT60) using Eyring's formula (0.161 V / (-S ln(1 - a))), ensuring early reflections and the late tail decay at the exact same rate.
  2. Image-source early reflections: Direct sound lands at t = 0, followed by discrete 3D mirror-image reflections up to order +-12 along each axis (Allen and Berkley, 1979). Each reflection is placed with fractional-sample linear interpolation, attenuated by beta^order / dist, and panned by its lateral arrival direction scaled by spread.
  3. Polack mixing time and Moorer late field: Reflections transition smoothly into uncorrelated Gaussian noise at the Polack mixing time (0.002 * sqrt(V), clamped between 25 ms and 160 ms). Following Moorer (1979), the noise standard deviation matches the theoretical reflection energy rate (sqrt(4 * pi * c / V / sr)), blended between mono and independent stereo via spread.
  4. Seven-band material damping and air absorption: Seven complementary bands (125 Hz to 12 kHz) apply per-band decay ratios interpolated between soft (curtains, carpet) and hard (stone, tile) curves, combined with Kuttruff air attenuation (5.5e-4 * (f / 1 kHz)^1.7 per metre), followed by a 30 Hz high-pass filter to remove DC drift from positive image pulses.

To avoid choking the worker thread while a user drags a knob, PushParams throttles new build jobs to at most one every 60 ms.

Pink-noise normalisation and click-free IR swaps

Raw impulse responses vary wildly in perceived loudness depending on room volume and decay time. Normalising by white noise over-attenuates dark rooms because real musical signals carry more energy in low octaves. ConvolutionKernel::BuildSet therefore measures each channel's energy through an 11-section weighting filter spaced one octave apart from 20 Hz (-3 dB per octave, matching pink noise) and normalises the IrSet against a unit impulse through the same filter. It also folds the FFT scaling (1 / (4 * 2B)) directly into the stored partition spectra so the audio thread performs multiply-adds only.

Swapping an impulse response mid-playback without clicks requires care across multiple block sizes:

  • The main thread hands the finished IrSet through a single atomic slot (mPending) and frees old sets only after the audio thread returns them via mRetired.
  • On the audio thread, mHeadFade linearly crossfades the 64-tap direct head over 64 samples.
  • Each FFT tier (0, 1, and 2) waits until its current block finishes, computes one overlap-save block against both the old IrSet and mNext, and ramps linearly across all B samples before retiring the old set.

Choosing between Convolution Reverb and algorithmic Reverb

On Infinite's node canvas, Convolution Reverb complements the 16-line Hadamard FDN Reverb: use Reverb when you want continuous real-time modulation of size and pitch-slewed feedback tails, and use Convolution Reverb when you want physical early reflections, custom WAV/AIFF impulse responses, or realistic acoustic spaces after Analog, Sampler, or Piano. You can explore ready-made reverb and synth patches in the Infinite library or download Infinite to inspect the node graph directly.

There are honest limits to keep in mind. Infinite is a young, MIT-licensed open-source project: Convolution Reverb is stereo (2 channels), impulse responses are capped at 10.0 seconds (960,000 samples at 96 kHz), knob-driven room rebuilds are throttled to 60 ms intervals (and run inline rather than on a worker thread in the web build), desktop plugin hosting supports VST3 and AU without AAX, and live hardware audio inputs are refused in headless mode.

Keep reading