- Home
- Skills
- Game Development
- TTS Voiceover Pipeline: script to tuned multi-voice audio
More screenshots
Works with the AI Agents you already use
TTS Voiceover Pipeline: script to tuned multi-voice audio
This skill gives your agent a tested method for that, and the levers to tune it by ear.
Free
TTS Voiceover Pipeline: script to tuned multi-voice audio
Example session with this skill installed
Voice this short scene, with wind outside and a door opening near the end. Mara is weary, Tom is sheepish. (A 10-line, two-speaker script with an inner thought and an interruption.) After the first preview: "They're arguing, but it sounds like they politely take turns. Tighten the hand-offs. Let the inner thought land, though, and I want 'And this time?' to hang before Tom answers."
- Read your context and instructions
- Compiled the tts voiceover pipeline
Round 1: planned the timeline with the default preset, generated 10 clips (checked each voice's first clip before the rest), rendered a 23.6 s preview with the wind fading in a second before anyone speaks.
Round 2 (your feedback): speaker_change 0.3 -> 0.15 s and inner_thought 0.4 -> 0.7 s in levers.json, plus {gap +0.6} on "And this time?". Re-planned and re-rendered: 10/10 clips reused, 0 TTS calls, under a second. The interruption ("Mara, wait--") would have dropped to 0.05 s, so the min_gap floor held it at 0.1 s. Logged in tuning-log.md.
Master (--targets podcast,streaming --duck):
pure: lighthouse_pure.mp3 0:23.4 -17.1 LUFS, peak -1.0 dBTP
podcast: lighthouse_podcast.mp3 -16.0 LUFS, peak -1.9 dBTP
streaming: lighthouse_streaming.mp3 -14.1 LUFS, peak -1.7 dBTP
cues: lighthouse_cues.txt and lighthouse.srt
Done: The Lighthouse, 23 s, 2 voices, 10 lines. The podcast and streaming masters are ready to publish, the pure master keeps full dynamics for editing, and the SRT has subtitles. Pacing: default preset with tighter hand-offs for the argument, more room after the inner thought, and 0.6 s extra after "And this time?". These settings belong to this scene. The wind ducks under the voices. Want changes? Say "snappier" or "more room before the door". Re-timing doesn't regenerate any voice.
Connects securely to your tools. The creator never sees your data.
About this skill
Any agent can call a text-to-speech API. Getting a scene that sounds directed is the hard part: the gaps between lines, the hand-offs between speakers, the question that should hang a beat longer, the ambience that shouldn't drown the dialogue. This skill gives your agent a tested method for that, and the levers to tune it by ear.
How it works
- One clip per line. The script is split into one sentence per line, and every line becomes its own clip from whatever TTS engine you have: an API key, a local model, or the voice tools on this platform (no key needed).
- Pauses come from punctuation and context. A statement, a question, a trailing
...and a cut-off--each get their own gap, and the gap is adjusted for speaker changes, runs by the same speaker, short quips, long lines and inner thoughts. Five starting presets (default, snappy, calm, meditation, barks) cover most material. - Preview, then tune in plain words. You listen and say "they sound like they're taking turns" or "let that question hang". The agent maps your words to lever changes with a feedback → lever table and re-renders in under a second. Clips are cached and content-addressed, so re-timing never calls the TTS engine again, and editing one line regenerates only that line.
- Mix and master. SFX and music go on channels (loop, once, stop, per-play volume) with sidechain ducking under the voices. Silence trimming keeps falling intonation and breathy endings intact. The masters are measured and corrected to the loudness target of your destination (podcast, streaming, audiobook, broadcast, game, or any LUFS/true-peak pair). You also get a cue sheet and an SRT built from the real clip timings.
Batch mode for games and apps
Turn a list of NPC barks or UI lines into individually trimmed, level-matched, consistently named files (gate_guard_alert_01.ogg) plus a manifest (file, speaker, text, duration, level mode), ready to import into Unity, Godot, Unreal or a middleware bank.
What's inside
- A paved-path SKILL.md for both workflows
- Six references: script format, pacing levers (defaults, ranges, feel, presets, feedback table), writing for TTS (non-word sounds, emphasis, shouted lines), driving any TTS engine (a capability checklist the agent fills in from current docs), assembly and mastering (with a failure log), and batch naming per game engine
- Three worked examples from real renders: a two-voice scene, a guard NPC voice bank, and a narration with a ducked music bed
- Two self-contained Python scripts (standard library only) that plan the timeline and assemble the audio with FFmpeg
Where it stops: it doesn't add voice effects such as radio, telephone, reverb or robot. It doesn't pick a "best" engine from memory; it checks what's current. It only clones a real person's voice with that person's consent.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Game Development.
No voice effects beyond level, trim and pitch (radio, telephone, reverb and similar are out of scope). The audio quality and acting depend on the TTS engine you use. One-shot dialogue models can sketch a scene, but their timing can't be re-tuned, so the pipeline generates per line. Needs FFmpeg and Python on the machine where the agent runs.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Python 3.8+FFmpeg 5+ on PATHAny TTS engine (API, local or Agensi)
Any TTS engine works: an API key set as an environment variable, a local model, or Agensi's voice tools (no key needed).
Permissions
File Scopes
The two bundled scripts make no network calls; they only read the files you pass and write outputs to the folder you choose. Audio is generated by the TTS engine the user chooses (their own API, a local model, or Agensi voice tools). API keys are read from environment variables, never written to files.