Skip to content
Back to skills

Studio Audio Cleanup

ASecurity

Clean up voiceover and podcast audio: noise reduction, de-essing, EQ, compression and loudness to -16 LUFS (podcast) or -14 (streaming) using ffmpeg loudnorm two-pass, with true-peak limits and verification. Triggers: "clean up this audio", "fix my voiceover", "normalize podcast loudness", "remove background noise".

  • 25 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgobash

Works with

  • cursor
  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add tinh2/skills-hub-registry --skill studio-audio-cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Studio Audio Cleanup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Studio Audio Cleanup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tinh2-studio-audio-cleanup/badge)](https://www.skillsdirectory.com/skills/tinh2-studio-audio-cleanup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: studio-audio-cleanup
description: Clean up voiceover and podcast audio: noise reduction, de-essing, EQ, compression and loudness to -16 LUFS (podcast) or -14 (streaming) using ffmpeg loudnorm two-pass, with true-peak limits and verification. Triggers: "clean up this audio", "fix my voiceover", "normalize podcast loudness", "remove background noise".
version: "1.0.0"
category: build
platforms: [CLAUDE_CODE, CURSOR, CODEX_CLI]
---

# Voice audio cleanup

Process order matters: fix problems first (noise, clicks, harshness), shape tone second (EQ, compression), set loudness last.

## Inputs to agree on

- Source files: format, sample rate, bit depth, mono or stereo, one file per speaker or mixed.
- Delivery target: podcast (-16 LUFS stereo, -19 LUFS mono is also common), streaming video (-14 LUFS), broadcast (EBU R128 -23 LUFS or ATSC A/85 -24 LKFS).
- True-peak ceiling: -1 dBTP default, -2 dBTP if the platform will transcode to low-bitrate lossy.
- Delivery format: WAV 48 kHz 24-bit master plus MP3 or AAC.
- How aggressive noise reduction may be (natural room tone vs studio-dry).

## Toolchain

- ffmpeg (required): `afftdn`, `anlmdn`, `arnndn`, `highpass`, `equalizer`, `deesser`, `acompressor`, `alimiter`, `loudnorm`, `ebur128`.
- Alternatives: iZotope RX (best for repair), Audacity (Noise Reduction, free), Adobe Podcast Enhance (fast, can sound synthetic), SoX (`noisered` with a profile), DeepFilterNet (open-source ML denoiser).
- Measurement: `ffmpeg -af ebur128`, or `loudness-scanner`, or a DAW meter.

## Workflow

### 1. Measure the raw file

```bash
ffprobe -v error -show_entries stream=sample_rate,channels,bits_per_raw_sample -of default=nw=1 raw.wav
ffmpeg -i raw.wav -af "ebur128=peak=true" -f null - 2>&1 | tail -n 12
ffmpeg -i raw.wav -af astats=metadata=0 -f null - 2>&1 | grep -E "Noise floor|Peak level|RMS level"
```

Note integrated loudness, true peak and noise floor. A noise floor above about -50 dBFS needs denoising.

### 2. Convert to a working format

```bash
ffmpeg -i raw.m4a -ar 48000 -c:a pcm_s24le -ac 1 work.wav
```

Use mono for single-voice recordings; it halves file size and avoids phase issues.

### 3. Denoise

FFT denoiser with a learned profile from a silent section (here 0.5 to 1.5 s is room tone):

```bash
ffmpeg -i work.wav -af "asendcmd=0.5 afftdn sn start,asendcmd=1.5 afftdn sn stop,afftdn=nr=12:nf=-50:tn=1" den.wav
```

Simpler static setting: `afftdn=nr=10:nf=-45`. Start at 6 to 12 dB of reduction; more causes watery artifacts. For steady hiss and hum, a learned profile works best. For non-stationary noise (traffic, keyboard), an RNN model: `arnndn=m=cb.rnnn` (models from the rnnoise-models repository), or DeepFilterNet:

```bash
deepFilter work.wav --output-dir out/
```

Hum at 50 or 60 Hz: add notches `equalizer=f=60:t=q:w=10:g=-20,equalizer=f=120:t=q:w=10:g=-12`.

### 4. EQ

Filter pieces (join with commas): `highpass=f=80:poles=2` removes rumble, `equalizer=f=250:t=q:w=1.2:g=-3` reduces boxiness, `equalizer=f=3500:t=q:w=1.0:g=2` adds presence, and `equalizer=f=10000:t=q:w=0.7:g=1.5` adds air (skip it if the voice is sibilant).

Male voices often need a cut around 200 to 300 Hz, female voices around 300 to 400 Hz. Cut narrow, boost wide, and move in steps of 1 to 3 dB.

### 5. De-ess

```bash
deesser=i=0.4:m=0.5:f=0.5:s=o
```

Increase `i` (intensity) if "s" sounds still spike. Alternatively, sidechain-style: a dynamic cut around 5 to 8 kHz in a DAW.

### 6. Compress

```bash
acompressor=threshold=-20dB:ratio=3:attack=10:release=120:makeup=4dB:knee=4
```

Aim for 3 to 6 dB of gain reduction on peaks. Too fast an attack dulls consonants; too slow a release pumps.

### 7. Full chain in one pass (before loudness)

```bash
ffmpeg -i work.wav -af "afftdn=nr=10:nf=-45,highpass=f=80,equalizer=f=250:t=q:w=1.2:g=-3,equalizer=f=3500:t=q:w=1:g=2,deesser=i=0.4,acompressor=threshold=-20dB:ratio=3:attack=10:release=120:makeup=4dB" \
  -c:a pcm_s24le processed.wav
```

### 8. Loudness normalization, two-pass

Pass 1, measure:

```bash
ffmpeg -i processed.wav -af loudnorm=I=-16:TP=-1.5:LRA=11:print_format=json -f null - 2>&1 | sed -n '/{/,/}/p' > ln.json
```

Pass 2, apply the measured values in linear mode:

```bash
ffmpeg -i processed.wav -af "loudnorm=I=-16:TP=-1.5:LRA=11:measured_I=$(jq -r .input_i ln.json):measured_TP=$(jq -r .input_tp ln.json):measured_LRA=$(jq -r .input_lra ln.json):measured_thresh=$(jq -r .input_thresh ln.json):offset=$(jq -r .target_offset ln.json):linear=true:print_format=summary" \
  -ar 48000 -c:a pcm_s24le master.wav
```

Notes: loudnorm resamples internally to 192 kHz, so always set `-ar` on output. If the summary shows "Dynamic" normalization instead of "Linear", the target true peak could not be met linearly; either lower peaks first with `alimiter=limit=0.8:level=false` before measuring, or accept the dynamic mode. Use `I=-14` for streaming video, `I=-23:TP=-1` for EBU R128.

### 9. Encode deliverables

```bash
ffmpeg -i master.wav -c:a libmp3lame -b:a 128k -ac 1 episode_mono.mp3   # spoken word mono
ffmpeg -i master.wav -c:a libmp3lame -b:a 192k -ac 2 episode.mp3
ffmpeg -i master.wav -c:a aac -b:a 160k episode.m4a
```

Lossy encoding can add up to about 0.5 to 1 dB of peak overshoot, which is why the ceiling is -1 to -1.5 dBTP rather than 0.

## Variants

- Multi-speaker podcast: process each speaker track separately (EQ and denoise tuned per voice), then mix, then loudness-normalize the mix only.
- Voiceover for video: deliver at -14 LUFS and also a raw-processed stem without limiting so the editor can mix under music.
- Heavy reverb: dereverb is hard in ffmpeg; use RX De-reverb or re-record with treatment.
- Clicks and mouth noise: `adeclick` and `adeclip` filters, or RX Mouth De-click.

## Quality checks

- `ffmpeg -i master.wav -af ebur128=peak=true -f null -` shows integrated loudness within plus or minus 0.5 LU of target and true peak at or below the ceiling.
- Re-measure the final MP3, not only the WAV.
- Noise floor in pauses below -60 dBFS (astats on a silent region with `atrim`).
- Listen on headphones and on a phone speaker: no warble, lisp-like de-essing, or pumping.
- A/B a 20-second section against the raw file at matched loudness so improvements are not just "louder".

## Pitfalls and fixes

- Normalizing before processing: compression changes loudness; always normalize last.
- Single-pass loudnorm sounds pumpy: it runs as a dynamic processor; use two-pass with `linear=true`.
- Over-denoising: robotic artifacts are worse than mild hiss; back off `nr` and keep some room tone.
- Clipped source: `adeclip` helps a little, but re-recording is the real fix. Record peaks around -12 dBFS next time.
- Sample-rate surprises: loudnorm output defaults to 192 kHz without `-ar`.
- Stereo file with voice on one channel: `-af "pan=mono|c0=c0"` before processing.

## Deliverables

- [ ] `master.wav` 48 kHz 24-bit at target loudness
- [ ] Encoded MP3/AAC per platform
- [ ] Before and after loudness reports (ebur128 output)
- [ ] The exact filter chain used, so future episodes match
- [ ] Short 20 s before/after clip for approval

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.