headroom/crates/headroom-dsp
2026-05-20 23:49:58 +10:00
..
benches stage 6: per-app 2026-05-20 23:49:58 +10:00
src stage 6: per-app 2026-05-20 23:49:58 +10:00
Cargo.toml stage 6: per-app 2026-05-20 23:49:58 +10:00
README.md stage 2 2026-05-19 16:33:09 +10:00

headroom-dsp

DSP kernels for Headroom. Pure Rust, no dependencies.

  • Limiter — feed-forward true-peak brickwall with configurable oversampling (1/2/4/8×), lookahead, hold, and release.
  • Compressor — log-domain feed-forward with peak or RMS detector, soft knee, attack/release, and optional auto-makeup.
  • AttackRelease — exponential envelope follower (peak / inverse-gain modes).
  • DelayLine, SlidingMaxBuffer, PolyphaseUpsampler, PolyphaseDownsampler — supporting building blocks.

All processors are allocation-free in their process_* methods. Construction allocates; do not construct in the audio thread.

License

MPL-2.0.