Skip to content

cathar v0.4.2

Choose a tag to compare

@github-actions github-actions released this 20 Jun 22:01
· 89 commits to main since this release

Backport of the LSAR de-clip improvement from 0.5.2 to the 0.4 line.

Changed

  • De-clip now reconstructs clipped peaks with least-squares autoregressive
    interpolation (LSAR)
    — the classical audio-restoration method (Janssen,
    Veldhuis & Vries, 1986) — instead of a cubic fill. An AR model is fit to the
    reliable audio either side of each clipped run (two-sided autocorrelation →
    Levinson-Durbin) and the gap samples that minimise its prediction error are
    solved for (banded normal equations via Cholesky), so a clipped peak is rebuilt
    toward its true amplitude rather than flattened to the shoulder level. A
    stability guard falls back to the previous smooth fill when a solve rings or
    overshoots, so badly-clipped material softens gracefully.