668 B
668 B
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.