text-to-speech

👤 lnj22 📦 v0.1.0 ⭐ 3.8 ⬇️ 691 下載
🎨 設計多媒體 免費

📖 技能介紹


name: "TTS Audio Mastering" description: "Practical mastering steps for TTS audio: cleanup, loudness normalization, alignment, and delivery specs."


SKILL: TTS Audio Mastering

This skill focuses on producing clean, consistent, and delivery-ready TTS audio for video tasks. It covers speech cleanup, loudness normalization, segment boundaries, and export specs.

1. TTS Engine & Output Basics

Choose a TTS engine based on deployment constraints and quality needs:

  • Neural offline (e.g., Kokoro): stable, high quality, no network dependency.
  • Cloud TTS (e.g., Edge-TTS / OpenAI TTS): convenient, higher naturalness but network-dependent.
  • Formant TTS (e.g., espeak-ng): for prototyping only; often less natural.

Key rule: Always confirm the native sample rate of the generated audio before resampling for video delivery.


2. Speech Cleanup (Per Segment)

Apply lightweight processing to avoid common artifacts:

  • Rumble/DC removal: high-pass filter around 20 Hz
  • Harshness control: optional low-pass around 16 kHz (helps remove digital fizz)
  • Click/pop prevention: short fades at boundaries (e.g., 50 ms fade-in and fade-out)

Recommended FFmpeg pattern (example):

  • Add filters in a single chain, and keep them consistent across segments.

3. Loudness Normalization

7w4.net小蔥技能站收錄全網優質技能,值得收藏。

Target loudness depends on the benchmark/task spec. A common target is ITU-R BS.1770 loudness measurement:

  • Integrated loudness: -23 LUFS
  • True peak: around -1.5 dBTP
  • LRA: around 11 (optional)

Recommended workflow:

  1. Measure loudness using FFmpeg ebur128 (or equivalent meter).
  2. Apply normalization (e.g., loudnorm) as the final step after cleanup and timing edits.
  3. If you adjust tempo/duration after normalization, re-normalize again.

4. Timing & Segment Boundary Handling

When stitching segment-level TTS into a full track:

  • Match each segment to its target window as closely as possible.
  • If a segment is shorter than its window, pad with silence.
  • If a segment is longer, use gentle duration control (small speed change) or truncate carefully.
  • Always apply boundary fades after padding/trimming to avoid clicks.

Sync guideline: keep end-to-end drift small (e.g., <= 0.2s) unless the task states otherwise.

🤖 AI 評測

這個 Skill 質量中規中矩,優點是內容針對性強,涵蓋了 TTS 音訊製作的核心步驟,並給出了明確的技術指標建議。缺點是內容較為簡略,缺少詳細的操作示例和常見問題處理方法,實際使用時可能需要額外查閱資料。適合有一定基礎的使用者參考,新手使用可能會感到指引不夠充分。

📊 多維度評分

適應性3.5
規範性3.8
有效性4.2
可靠性3.3
可信度4.5

📁 包含檔案 (2 個)

📄 SKILL.md 2.3 KB
📄 _meta.json 160 B