一键导入
tts-generation
Convert radio show script to speech audio with telephone effect on correspondent voices using the Interactions API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert radio show script to speech audio with telephone effect on correspondent voices using the Interactions API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guides the agent on how to handle git operations and generate .patch files instead of submitting PRs.
Guides the agent on how to read and search GitHub issues to understand the repository's problems.
Records and appends every user-agent customer support interaction to the memory.md log in the workspace.
Scans a website deeply, converting HTML pages to markdown, respecting robots.txt, and updating the snapshots log.
Exposes a 100% local, offline PDF batch extraction utility (extract_to_markdown.py) that isolates invoices under invoices/ and translates PDFs into clean Markdown files for LLM-native parsing.
Reconcile loaded expenses against the pre-parsed invoice database, flagging discrepancies like amount mismatches, missing invoices, and merchant mismatches locally.
| name | tts-generation |
| description | Convert radio show script to speech audio with telephone effect on correspondent voices using the Interactions API. |
Convert the radio show script into speech audio using the Gemini TTS model via the Interactions API. Apply a telephone bandpass filter to correspondent voices so they sound like phone call-ins, while keeping the host's voice clean studio-quality.
python3 skills/tts-generation/scripts/generate_tts.py --workspace ./workspace
| Argument | Default | Description |
|---|---|---|
--workspace | workspace | Root workspace directory |
--workers | 8 | Max parallel TTS worker threads |
{workspace}/data/script.md.(speaker, text) turns and assigns voices.google-genai (>= 2.0.0)ffmpeg (system)Uses the Interactions API with single-speaker TTS — no multi-speaker workaround needed.
Voices are assigned dynamically based on [Male] / [Female] gender tags in the script:
| Speaker | Voice | Audio Treatment |
|---|---|---|
| Paul (host) | Puck | Clean — no filter |
Caller [Female] — 1st | Kore | Telephone filter |
Caller [Female] — 2nd | Aoede | Telephone filter |
Caller [Male] — 1st | Charon | Telephone filter |
Caller [Male] — 2nd | Fenrir | Telephone filter |
Voices cycle round-robin if there are more callers than available voices. Accent tags ([Accent: Irish], etc.) are injected into the TTS prompt to influence pronunciation.
Applied via ffmpeg to correspondent audio segments:
highpass=f=300, lowpass=f=3400, acompressor, volume=1.5
This simulates the standard telephone bandwidth (300Hz–3.4kHz) and adds compression to mimic phone codec dynamics.
{workspace}/audio/speech/speech.wav{workspace}/audio/speech/segments/turn_*.wav