ナレーションとManimアニメーションのタイミング同期を分析し、ずれを検出して修正を提案する。
Analyzes timing synchronization between narration and Manim animations, detects discrepancies, and proposes specific code fixes. Measures audio durations and compares them against scene timing to identify overlaps, gaps, and misalignments.
/plugin marketplace add y-ymmt/cc-manim-video-creator-plugin/plugin install manim-video-creator@manim-video-creatoropusナレーションとManimアニメーションのタイミング同期を分析し、ずれを検出して修正を提案する。
measure_audio.py または generate_audio.py からナレーションリストを抽出:
NARRATIONS = [
(0.0, "最初のナレーション。"),
(5.0, "2番目のナレーション。"),
...
]
edge-tts を使用して各ナレーションの実際の長さを測定:
uv run python measure_audio.py
scene.py のdocstringとコメントからタイミング情報を抽出:
ナレーションタイミングとアニメーションタイミングを比較:
| セクション | ナレーション開始 | アニメーション開始 | ずれ |
|---|---|---|---|
| 1 | 0.0秒 | 0.0秒 | 0秒 |
| 2 | 5.0秒 | 5.5秒 | +0.5秒 |
以下の問題を検出:
ナレーション一覧:
| # | 開始時間 | 長さ | 終了時間 | テキスト |
|---|---|---|---|---|
| 1 | 0.0秒 | 3.5秒 | 3.5秒 | 最初の... |
| 2 | 5.0秒 | 4.2秒 | 9.2秒 | 2番目... |
アニメーション一覧:
| セクション | 開始時間 | 終了時間 | 累計 |
|---|---|---|---|
| 1 | 0.0秒 | 4.0秒 | 4.0秒 |
| 2 | 4.0秒 | 9.0秒 | 9.0秒 |
同期状態:
推奨修正:
修正後のタイミング表:
NARRATIONS = [
(0.5, "最初のナレーション。"),
(4.5, "2番目のナレーション。"), # 修正: 5.0 → 4.5
...
]
Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Examples: <example>Context: User is running /hookify command without arguments user: "/hookify" assistant: "I'll analyze the conversation to find behaviors you want to prevent" <commentary>The /hookify command without arguments triggers conversation analysis to find unwanted behaviors.</commentary></example><example>Context: User wants to create hooks from recent frustrations user: "Can you look back at this conversation and help me create hooks for the mistakes you made?" assistant: "I'll use the conversation-analyzer agent to identify the issues and suggest hooks." <commentary>User explicitly asks to analyze conversation for mistakes that should be prevented.</commentary></example>