跳到正文
FunCoding

clean-audio

Star
590
许可证
MIT
最近提交
2026年11月9日

skills/video/clean-audio/SKILL.md

在 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.

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 3,333 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,663 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k近 7 天新增 895 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 636 个 star