Communitygithub.com

Dudu 導演影片工具包 - 音效設計與混音

由 Dudu(AI 宣傳片導演)在畫面剪輯後使用。設計與剪輯點同步的音效提示表、生成音樂、特效與人聲(透過 Gemini、TTS、錄音、免費素材庫),並使用 tools/mix_audio.py 將所有音軌合成為完整的影片。

Dudu 導演影片工具包 - 音效設計與混音 是什麼?

此技能專為 AI 宣傳片導演 Dudu 設計,用於在畫面剪輯完成後進行完整的音效設計與混音。它自動生成一份詳細的提示表(cue sheet),將音樂、音效、人聲與沉默精確對齊剪輯點,並支援多種音源:可透過 Gemini 生成音樂、使用免費授權音效庫、以 TTS(如 ElevenLabs)產生人聲,或匯入真實錄音。混音流程會自動化執行,包含音量調整、音軌衰減(ducking)、響度正規化(-14 LUFS),並產出 48 kHz AAC 格式。最後透過 study_video.py 驗證輸出檔案的響度曲線是否符合劇本需求。此技能可在 Claude Code、Cursor 等支援自訂技能的環境中執行,能大幅縮短後期音效製作時間,確保每部宣傳片都有專業且一致的聲音品質。

相容平台✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/EyalZameret/Dudu-Director-Video-kit/tree/HEAD/.claude/skills/dudu-sound

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Dudu:音效設計與混音

Claude 無法聽見聲音。請依據結構(剪輯時間、節奏、參考分析)進行設計,並透過測量結果(audio.json、波形圖、頻譜圖,由 tools/study_video.py 對我們自己的輸出執行)來驗證;必要時可請 Gemini 聽取上傳的檔案。

1. 提示表(project/sound-plan.md)

每一行代表一個提示:時間、提示類型(音樂 / 音效 / 人聲 / 沉默)、其戲劇功能、來源、音量。

從「問題到解決」式廣告的預設弧線(取自 library/study/V5AFQaEbHQU 及我們自己的影片):

階段聲音
鉤子第一幀一個短促的撞擊聲,或一個真實的聲音(例如手機震動)
問題環境音加上一個緩慢上升的低沉嗡鳴;像心跳聲或時鐘滴答聲
激化節奏加快;聲音與剪輯和動作同步
轉折一個上升音效,在產品登場瞬間完全切斷
解決成功時刻之前一秒的沉默或「水下」(低通濾波)效果,接著一個乾淨的成功音效
舒緩溫暖的音樂背景,留出呼吸空間
行動呼籲在柔和的按鍵音之上說出結尾台詞;以一個明確的結尾音結束,而非逐漸消失

人聲:內心獨白要乾燥且貼近(無空間迴音);懷疑者的聲音冷靜緩慢;結尾台詞充滿自信。

2. 製作聲音

詢問擁有者允許使用的來源(帳號、預算)。選項:

  • 音樂: Gemini 音樂生成(在訂閱範圍內;透過 dudu-browser 驅動);若無 Gemini,則使用免版稅素材庫或擁有者擁有帳號的其他音樂生成器。生成兩個背景音樂(緊張、溫暖),而非每段片段一個。
  • 音效: 使用具有明確授權的免費素材庫(需要時標註來源),或使用音效生成器。在 project/sound/LICENSES.md 中記錄每個檔案的來源與授權。
  • 人聲: 使用擁有者或朋友的錄音(最真實、免費);或使用 TTS(例如 ElevenLabs,支援希伯來語、英語等多種語言;需要擁有者的帳號)。未經本人書面同意,絕不複製真實人物的聲音。
  • 請勿為影片使用 Kling 的 Native Audio:分段的個別音訊無法合併為單一音軌,且成本更高。

3. 混音

編寫 project/sound.json 並執行 python tools/mix_audio.py project/sound.json:

  • 將提示放置在 project/cut.json 的剪輯時間點上(加總每個鏡頭的長度)。
  • until = 硬性停止(音樂在撞擊點完全切斷);將音樂標記為 bed: true;將人聲線標記為 duck: true,使每個背景音樂在播放人聲時降低 8 dB。
  • 輸出經過響度正規化(-14 LUFS,適用於網頁與社群媒體),為 48 kHz 的 AAC 格式。

接著對輸出檔案路徑執行 python tools/study_video.py(或對圖片執行 contact_sheet.py),檢查響度曲線是否符合計畫:需要安靜的地方確實安靜,成功前的沉默真正無聲。

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) to drive Gemini (Nano Banana images, Veo video), ChatGPT (GPT Image) and Kling (image-to-video) in a Playwright browser the owner logged into. Contains the working click paths, upload and download recipes, and the fixes for every failure we hit.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) for stage 7. Measures where each clip actually moves, cuts every shot to its action, color grades problem vs solution, and assembles the rough cut with ffmpeg via tools/build_cut.py.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) for stage 6. Picks the animation model with a one-shot A/B test, writes image-to-video motion prompts for Kling (and Veo / Seedance), and reviews every clip with contact sheets and a motion report.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) at every gate. Checks script claims against project/product.md, structure and pacing, and reviews images and clips with keep/fix/regenerate decisions into project/qa-notes.md.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) for stages 1-2. Interviews the owner for the brief and writes a 12-shot promo script (problem-agitate-solve, about 70/30 problem/solution, minimal dialogue, one CTA) into project/brief.md and project/script.md.

EyalZameret/Dudu-Director-Video-kit

Switch this session to Dudu (דודו), the AI promo video director, until the owner leaves Dudu mode.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) to learn from a reference video link (YouTube and most video sites). Downloads it for private analysis, detects every cut, reviews one frame per shot, writes a structured analysis into library/study/<id>/analysis.md and updates library/INDEX.md, then deletes the video. Use when the owner shares a link and says "learn from this", "study this", "do it like this", or asks for a style taken from an ad.

EyalZameret/Dudu-Director-Video-kit

Used by Dudu (AI promo video director) for stages 3-5. Builds the style and character bible, the 12-shot list, reference sheets, location frames and the 12 keyframe prompts for Gemini / Nano Banana or ChatGPT / GPT Image, and reviews every generated image.

相關技能