Skip to content
FunCoding

clean-audio

Star
590
License
MIT
Last commit
Nov 9, 2026

skills/video/clean-audio/SKILL.md

View on GitHub

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:

    • 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:
      $PY scripts/clean_audio.py <workspace>
      
      Then render and verify as usual. The report is saved to 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>
      
  3. 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|light sets the strongest denoise to try. The default is medium, and the clarity check steps it down on its own.
  • --target -14 sets the loudness in LUFS. -14 is right for YouTube, Instagram and TikTok; use -16 for podcasts.
  • --no-eq skips 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.

Similar Skills

blender-motion-state-inspection

AFaffaan-m/ECC314k4,125 new stars in the last 7 days

Official

slack-gif-creator

ANanthropics/skills203k3,333 new stars in the last 7 days

Featured

algorithmic-art

Generate flow fields and particle systems with p5.js, using seeded randomness for original algorithmic art.

ANanthropics/skills203k3,333 new stars in the last 7 days

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k1,663 new stars in the last 7 days

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k895 new stars in the last 7 days

design-motion

GAgarrytan/gstack143k636 new stars in the last 7 days