Clean Audio
Clean audio

Clean up voice audio in a video: rumble, electrical hum, background noise and hiss, muddy or harsh tone, sharp S sounds, uneven volume, and loudness for YouTube/Instagram/TikTok. Measures the audio first, picks the strongest cleanup…
--- name: clean-audio description: Clean up voice audio in a video: rumble, electrical hum, background noise and hiss, muddy or harsh tone, sharp S sounds, uneven volume, and loudness for YouTube/Instagram/TikTok. Measures the audio first, picks the strongest cleanup that doesn't make the words less clear, and keeps lip sync exact. Use when the user says "clean up the audio", "fix the sound", "remove background noise", "remove hum", "my audio is too quiet/loud", "make it sound better", or after a rough cut. --- # Clean audio Run with the rough-cut skill's Python: `PY=~/simcraft/skills/video/rough-cut/.venv/bin/python` (run `sh ~/simcraft/skills/video/rough-cut/setup.sh` once if it doesn't exist). It shares rough-cut's helpers and uses Whisper for the clarity check. ## Steps 1. **Listen test first.** Make a 10-second before/after of the busiest talking moment. Both are set to the same loudness, so the comparison is about quality, not volume: ``` $PY scripts/clean_audio.py <video> --sample ``` Open both wav files for the user (`open <before> <after>`) and give them the report. 2. **Apply.** There are two ways to run it:
Overview
Run with the rough-cut skill's Python: PY=~/simcraft/skills/video/rough-cut/.venv/bin/python (run sh ~/simcraft/skills/video/rough-cut/setup.sh once if it doesn't exist). It shares rough-cut's helpers and uses Whisper for the clarity check.
Manual install (npx, ZIP)
npx skills add dotslashsimran/simcraft --skill clean-audio -g -a claude-codenpx degit dotslashsimran/simcraft/skills/video/clean-audio#main ~/.claude/skills/clean-audioConnects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md2.7 KB
Read SKILL.md here
Show the full text51 lines
Clean audio
Run with the rough-cut skill's Python: PY=~/simcraft/skills/video/rough-cut/.venv/bin/python (run sh ~/simcraft/skills/video/rough-cut/setup.sh once if it doesn't exist). It shares rough-cut's helpers and uses Whisper for the clarity check.
Steps
Listen test first. Make a 10-second before/after of the busiest talking moment. Both are set to the same loudness, so the comparison is about quality, not volume:
$PY scripts/clean_audio.py <video> --sampleOpen both wav files for the user (
open <before> <after>) and give them the report.Apply. There are two ways to run it:
- In a rough-cut workspace, before rendering. It cleans each raw clip into
audio/<clip>.clean.wav, and rough-cut'srender.pyuses those automatically:
Then render and verify as usual. The report is saved to$PY scripts/clean_audio.py <workspace>audio/cleanup.md. - On a single video. It writes
<name>_clean.<ext>next to the original, with the video copied untouched:$PY scripts/clean_audio.py <video>
- In a rough-cut workspace, before rendering. It cleans each raw clip into
Report in plain words:
- the speech-vs-background gap before and after,
- the final loudness,
- what was found (hum, clipping),
- which strength the clarity check settled on.
If the report says leftover noise is voices or music, tell the user that these filters can't remove it, and suggest an AI voice isolator.
Options
--strength strong|medium|lightsets the strongest denoise to try. The default is medium, and the clarity check steps it down on its own.--target -14sets the loudness in LUFS. -14 is right for YouTube, Instagram and TikTok; use -16 for podcasts.--no-eqskips the tone shaping, if the user likes their voice as it is.
Rules
- Clean the raw clips before cutting, not after. The noise is learned from a pause, and the rough cut removes the pauses.
- Never touch the original files.
- Never trade clarity for quiet. The clarity check enforces this: no lost words, and confidence within 0.015 of the original.
- Don't push audio to digital silence between words. A little room sound is kept on purpose.
What each step does, why it's built this way, and the test numbers: reference.md.
| 1 | |
| 2 | name clean-audio |
| 3 | description Clean up voice audio in a video: rumble, electrical hum, background noise and hiss, muddy or harsh tone, sharp S sounds, uneven volume, and loudness for YouTube/Instagram/TikTok. Measures the audio first, picks the strongest cleanup that doesn't make the words less clear, and keeps lip sync exact. Use when the user says "clean up the audio", "fix the sound", "remove background noise", "remove hum", "my audio is too quiet/loud", "make it sound better", or after a rough cut. |
| 4 | |
| 5 | |
| 6 | # Clean audio |
| 7 | |
| 8 | Run with the rough-cut skill's Python: `PY=~/simcraft/skills/video/rough-cut/.venv/bin/python` (run `sh ~/simcraft/skills/video/rough-cut/setup.sh` once if it doesn't exist). It shares rough-cut's helpers and uses Whisper for the clarity check. |
| 9 | |
| 10 | ## Steps |
| 11 | |
| 12 | **Listen test first.** Make a 10-second before/after of the busiest talking moment. Both are set to the same loudness, so the comparison is about quality, not volume: |
| 13 | |
| 14 | $PY scripts/clean_audio.py <video> --sample |
| 15 | |
| 16 | Open both wav files for the user (`open <before> <after>`) and give them the report. |
| 17 | |
| 18 | **Apply.** There are two ways to run it: |
| 19 | In a rough-cut workspace, before rendering. It cleans each raw clip into `audio/<clip>.clean.wav`, and rough-cut's `render.py` uses those automatically: |
| 20 | |
| 21 | $PY scripts/clean_audio.py <workspace> |
| 22 | |
| 23 | Then render and verify as usual. The report is saved to `audio/cleanup.md`. |
| 24 | On a single video. It writes `<name>_clean.<ext>` next to the original, with the video copied untouched: |
| 25 | |
| 26 | $PY scripts/clean_audio.py <video> |
| 27 | |
| 28 | |
| 29 | **Report** in plain words: |
| 30 | the speech-vs-background gap before and after, |
| 31 | the final loudness, |
| 32 | what was found (hum, clipping), |
| 33 | which strength the clarity check settled on. |
| 34 | |
| 35 | If the report says leftover noise is voices or music, tell the user that these filters can't remove it, and suggest an AI voice isolator. |
| 36 | |
| 37 | ## Options |
| 38 | |
| 39 | `--strength strong|medium|light` sets the strongest denoise to try. The default is medium, and the clarity check steps it down on its own. |
| 40 | `--target -14` sets the loudness in LUFS. -14 is right for YouTube, Instagram and TikTok; use -16 for podcasts. |
| 41 | `--no-eq` skips the tone shaping, if the user likes their voice as it is. |
| 42 | |
| 43 | ## Rules |
| 44 | |
| 45 | **Clean the raw clips before cutting, not after.** The noise is learned from a pause, and the rough cut removes the pauses. |
| 46 | Never touch the original files. |
| 47 | Never trade clarity for quiet. The clarity check enforces this: no lost words, and confidence within 0.015 of the original. |
| 48 | Don't push audio to digital silence between words. A little room sound is kept on purpose. |
| 49 | |
| 50 | What each step does, why it's built this way, and the test numbers: [reference.md]. |
| 51 |
Details
- License
- MIT
- Stars on the repo
- ★ 546
- Checked
- Source
- dotslashsimran/simcraft ↗
- Creator
- dotslashsimran · 9 listings
Similar skills
See all →
Last 30 Days Research
Social Platform Scraper
WeChat Article Publisher
Twitter Content Search
YouTube Script Writer
Internet Research RouterMore from dotslashsimran
From Scratch
Image Gen
Perspective Illusion
Repo Timelapse
Reverse Engineer a Video
Rough Cut: Trim the Fat