--- title: Tape Restoration emoji: 🎞️ colorFrom: yellow colorTo: red sdk: gradio sdk_version: 6.19.0 app_file: app.py pinned: false --- # Analog Tape Restoration Upload audio digitized from a degraded analog master (soundtrack cue, film master, etc.) and restore it toward studio quality: - **De-click / de-pop** — removes splice pops, dirt, dropouts - **De-hum** — removes 50/60 Hz mains hum and harmonics - **De-hiss** — spectral-gating broadband noise reduction, ideally profiled from an actual noise-only region of the tape - **Wow/flutter smoothing** — mild envelope-based warble reduction (not a substitute for dedicated pitch-correction tools on severe cases) - **EQ restoration** — rebuilds lost highs/lows from tape rolloff - **Dynamics restoration** — gentle expansion + limiting to restore punch For the best noise reduction, mark 1–2 seconds of pure hiss/room tone (no music) from the head or tail of the reel using the noise-sample controls. Long files are slow on free CPU hardware; this Space caps input at 20 minutes. For longer masters, run `tape_restore.py` locally — see the docstring at the top of that file for CLI usage.