Communitygithub.com

voz-clara

Check that a narrated video's voice still reads through its sound effects and music, on a phone speaker too, before delivering it - compares the clean voice's words with what a small "phone ear" model hears in the mix, finds effects that cover the voice band, effects that vanish on a phone (pure bass) and effects inside emotional stretches that must stay music-only. Use after mixing any narrated short, reel or explainer (with earshot, real-sound or hyperframes-audio), whenever the user says the voice is hard to hear, the effects can't be heard on the phone, or before handing over a video.

What is voz-clara?

voz-clara is a Claude Code agent skill that check that a narrated video's voice still reads through its sound effects and music, on a phone speaker too, before delivering it - compares the clean voice's words with what a small "phone ear" model hears in the mix, finds effects that cover the voice band, effects that vanish on a phone (pure bass) and effects inside emotional stretches that must stay music-only. Use after mixing any narrated short, reel or explainer (with earshot, real-sound or hyperframes-audio), whenever the user says the voice is hard to hear, the effects can't be heard on the phone, or before handing over a video.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tecnopatard/lesky-videos-skills/tree/HEAD/skills/voz-clara

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does voz-clara do?

The owner's three sound rules (from the _arianmy reel, 2026-11-22):

  1. A sound on everything that moves (checked by earshot timeline, not here).
  2. No effects in the emotional part: there the music leads (--quiet).
  3. Audible on the phone without covering the voice (everything else here).

Run

~/.local/share/uv/tools/earshot/bin/python -I <skill>/scripts/voz_clara.py \
    --voice voz.wav --mix final.mp4 --sfx efectos.wav --quiet 32.0-41.5 --out out/voz-clara.json
  • --voice: the narration alone. --mix: the final mix or the rendered video. Both must start at the same time.
  • --sfx: effects (or effects + music) alone, aligned. Without it only the word check runs; always pass it.
  • --quiet: the emotional stretches from the scene map, in seconds.
  • --prompt "Roro Touch, Lesky": rare names in the script, so the transcriber spells them.

Exit 0 = passes. Exit 1 = each failure printed with its time: lost words, covered stretches, effects mute on a phone, effects inside a quiet stretch. Fix those in the mix (lower or move the effect, brighten a bass-only hit, duck the effect under the word) and run again.

How it decides

  • The clean voice is transcribed by whisper-large-v3-turbo (the reference). The mix and a simulated phone speaker (mono, 350 Hz - 7 kHz, slight saturation) are heard by whisper-base on purpose: the large model recovers words through noise louder than the voice, which a person on a phone would not.
  • Fails when the mix keeps under 97 % of the words (phone 95 %), when 3 words in a row are lost, when any lost word sits in a stretch where effects come within 6 dB of the voice in 1-4 kHz, when an effect loses 15 dB or more on the phone, or when an effect passes -45 dBFS inside a quiet stretch.
  • A single lost word outside any covered stretch is listed but does not fail: the small model sometimes misses one.

Tests

<python> -I tests/run_tests.py rebuilds nothing and checks 5 cases in tests/fixtures (a good mix, effects that cover the voice, noise that erases words, a sub boom mute on phones, effects in the emotional stretch). tests/make_fixtures.py rebuilds the mixes from voz.wav (macOS voice Paulina) and three earshot effects. Every new failure the owner reports becomes a new case here.

Related Skills