performance-voice-conversion
Skill0 starsChanged 28 days agoMITView on GitHub
Use when a consenting person's voice must deliver a line the way an actor originally performed it (dubbing a famous scene, replacing a name in a line, re-voicing a character), when TTS/voice clones sound flat or read the line wrong, or when a line must sound like it comes through a phone or radio.
In this repository26 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- ai-video-logo-replaceSkill
- beat-synced-overlaysSkill
- blender-set-from-storyboardSkill
- claude-accountsSkill
- codexSkill
- collab-sandboxSkill
- commercial-production-pipelineSkill
- credit-discipline-for-generationSkill
- deckSkill
- edit-rebuild-from-clean-sourcesSkill
- find-componentSkill
- greenscreen-to-ai-plate-compSkill
- higgsfield-production-routingSkill
- kinetic-type-physicsSkill
- lip-sync-and-gaze-qcSkill
- person-into-existing-sceneSkill
- phone-qaSkill
- project-tabSkill
- remote-gpu-renderSkill
- sales-appointment-prepSkill
- studio-vfxSkill
- tab-planSkill
- terminal-leadSkill
- video-qc-reviewerSkill
- website-buildSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Written consent from the voice owner: before you convert INTO their voice, scoped to this project.
- Distinctive: line 15
No consent, no job. Never clone or convert into a non-consenting person's voice (co-stars, callers, public figures, anyone who "wouldn't …
- Distinctive: line 17
No deception: Never use a converted voice to impersonate someone, to make a person appear to say something they didn't agree to, for fraud, …
- Distinctive: line 21
If another actor's line mentions the old name, keep their real audio and fix it on screen (subtitle strike-through) instead of converting …
- Distinctive: line 25
Use: "make him say the line like the character does", name swaps inside a famous line, phone VO.
- Distinctive: line 52
Phone/radio line: don't guess a band-pass — MEASURE the show's own phone sound.
- Distinctive: line 73
Keep crossfades ≤10 ms at word joins.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Performance voice conversion
Overview
TTS invents a performance; the original actor already gave the right one. Convert the actor's own performance into the target voice (Seed-VC, zero-shot, on a GPU), generate only the NEW words with a native-accent TTS and convert those too, then re-time every word to the actor's timings and energy.
Consent and honest use (hard rules)
- Written consent from the voice owner before you convert INTO their voice, scoped to this project. No consent, no job. Never clone or convert into a non-consenting person's voice (co-stars, callers, public figures, anyone who "wouldn't mind").
- No deception. Never use a converted voice to impersonate someone, to make a person appear to say something they didn't agree to, for fraud, for political or news content, or to get past voice-based security. Label synthetic audio wherever the platform or law requires it.
- Rights to the source performance (the film/scene) are the client's job to have; ask before starting.
- If another actor's line mentions the old name, keep their real audio and fix it on screen (subtitle strike-through) instead of converting them.
When to use / not
- Use: "make him say the line like the character does", name swaps inside a famous line, phone VO.
- For clean studio VO clones of a consenting speaker (Fish Audio training, fuzz, gap hash, run-up trick), use your TTS vendor's cloning flow (same consent rules); this skill covers performance transfer.
- Picture lip-sync to the new audio →
lip-sync-and-gaze-qc.
Pipeline
- Stems. Isolate the actor's line from the clean scene audio (stem separation / the scene's
dialogue-only moments). Word-timestamp it (Deepgram or whisper word timestamps) →
theirstimings. - Target reference. 10–30 s of the target speaker, clean, single speaker (DeepFilterNet it if noisy).
- Convert the performance (Seed-VC on a GPU machine, see
remote-gpu-render):
Speech model loadspython inference.py --source actor_line.wav --target target_ref.wav --output vc/ \ --diffusion-steps 50 --length-adjust 1.0 --inference-cfg-rate 0.7bigvgan_v2_22khz_80band_256x; RTF ≈1.7 on an RTX 3080, ~10 s/step on CPU (don't). - New words (the person's name etc.): generate with a NATIVE-accent TTS voice in the scene's language/dialect (a voice native to that language and region, not an English voice reading it), then run the same Seed-VC conversion into the target voice. Generate each sentence separately so endings fall.
- Word warp — map each new word onto the syllables it replaces and match duration + energy:
(rubberbandpython scripts/voice_tools.py warp --in vc/new_phrase.wav --ref actor_scene.wav \ --ours 0,.28 .28,.76 .76,1.08 1.08,1.32 1.32,1.88 \ --theirs 4.52,4.80 4.80,5.04 5.04,5.40 5.40,5.76 5.76,6.40 --out phrase_warped.wavformant=preserved, gain toward the actor's per-word energy, capped 0.5–2×, 8 ms joins.) - Attitude edits: hold drawn-out words (
stretch --tempo 0.72), keep a plosive's burst crisp and add spit (spit --burst 0.09 --tempo 0.74, +1.8–7 kHz on the burst). - Phone/radio line: don't guess a band-pass — MEASURE the show's own phone sound. Welch PSD of the
actor's phone line ÷ his clean line → FIR (1025 taps), + tanh saturation + 300–3400 Hz noise at −26 dB:
voice_tools.py phone --phone actor_phone.wav --clean actor_clean.wav --in line.wav --out line_phone.wav. Apply only while the speaker is off-screen; clean once we cut to him. - Place + mix:
voice_tools.py place --dur 20.6 --out stem.wav a.wav@3.44 b.wav@7.40; level = the reference mix's dialogue RMS minus the music (residual), then two-pass loudnorm to the ref's LUFS. - QC: transcribe the placed stem (expected words, onsets within 60 ms of the picture); A/B against the actor's line; plot both waveforms side by side at full scale and ×12.
What FAILED
| Tried | Result |
| Fish TTS clone of the target reading the line (v1) | Right voice, but not the actor's delivery — replaced |
WORLD vocoder stretch + 2-semitone pitch-down of the TTS take (pyworld, v2) | Still a TTS performance, just slower; stretching whole phrases smears consonants — replaced by Seed-VC |
| Generic 300–3200 Hz band-pass + bitcrush as "phone" | A filter, not the show's phone — replaced by the measured curve |
| TTS voice with the wrong accent for the new words | Stood out immediately next to converted native speech |
| Converting a co-star's line into the target voice | Not allowed without that co-star's consent — use a subtitle strike instead |
Quick reference
- Word timings:
theirsfrom the actor,oursfrom the converted TTS; same word count. - Stretch only within ±30 %; beyond that re-generate the TTS slower/faster.
- Keep crossfades ≤10 ms at word joins; 12 ms fade-in / 30 ms fade-out on phrases.
- Deliver the voice stem separately with the mix so the editor can ride it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

