Cathar

Audio restoration in pure Rust: denoise, de-hum, de-click and LUFS leveling

Image 1 of 1: Denoise pipeline: decode, STFT with a Hann window, spectral subtraction on magnitudes, original phase, overlap-add

A CLI and library that restores audio files or a video's audio track: phase-coherent stereo denoising by spectral subtraction with a learned room-tone noiseprint, de-hum, de-click, de-clip, de-reverb and spectral repair, voice enhancement, and loudness normalization to WAV, FLAC or AIFF.

Trade-offs

  • Transparent DSP instead of opaque neural models: every stage is inspectable and tunable, so a bad result is a knob to turn, with a learned GRU denoiser only behind an opt-in feature.
  • No ffmpeg, no C or C++, no system libraries: decoding, FFT and encoding are pure Rust crates, so one cargo build gives a self-contained binary.
  • Denoising subtracts estimated noise from magnitudes only and keeps the original phase, recombining with overlap-add.

Q&A3

By minimum statistics over the frames, or from a noiseprint learned from a silent segment of room tone and passed with --noiseprint.

Reviews

Loading reviews

    More in Audio

    See all 9 →
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • GridlinePattern-based music workstation in C++17, from channel rack to mixer
    • SotFAutomatic EQ for speakers and headphones, with room measurement and a player
    • Acid DripA DIY groovebox on an RP2040: acid bassline, a second synth and a drum machine
    • demucs-rsHTDemucs music source separation in Rust: CLI, browser app and DAW plugin
    • REAmoWireless control surface for REAPER on a phone or tablet

    More in CLI tools

    See all 74 →
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
    • quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
    • haxMinimalist terminal coding agent written in C

    More in Rust

    See all 146 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams