Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

docs(narration): define configurable page timing

hugohe31e491874a627
diff --git a/docs/audio-narration.md b/docs/audio-narration.md
index 78470a2a..1a6ea4f9 100644
--- a/docs/audio-narration.md
+++ b/docs/audio-narration.md
@@ -12,7 +12,7 @@ PPT Master can turn the speaker notes into per-slide narration via [`edge-tts`](
- With provider-timed subtitles, one matching subtitle file per slide in the same `<project_path>/audio/` directory (`01_cover.srt`, `02_market_landscape.srt`, …). Each file uses a page-local timeline with a `00:00:00,000` origin. Provider word/character timings are regrouped into the same compact cue format.
- One compact `<project_path>/audio/manifest.json` after a complete successful run. It records only provider/model, audio/subtitle format, relevant voice settings, and a SHA-256 fingerprint instead of a raw cloud voice ID. It contains no per-slide inventory, artifact hashes, or API keys and is not loaded during normal generation.
- When canonical `animations.json` exists and page-local SRT is available, an SVG-to-SRT timing plan derives `narration_animations.json` whose click-free object animations wait for the relevant subtitle cue. When neither animation sidecar exists, narrated export creates no sidecar and keeps the default `fade` page transition with no per-element builds. With page-local SRT, both paths can produce a deck-wide `<project_path>/audio/total.srt` aligned to the final PPTX timeline; after PowerPoint exports a video, the same command can calibrate page starts against its audio track for frame-accurate sidecar subtitles.
-- Optional re-export: a new PPTX in `exports/` with each `m4a` / `mp3` / `wav` file embedded into the matching slide and slide auto-advance timings set to the audio length, so kiosk/auto-play and video export work without manual timing.
+- Optional re-export: a new PPTX in `exports/` with each `m4a` / `mp3` / `wav` file embedded into the matching slide and slide auto-advance timings set from the configurable page-start floor, audio length, and page-tail padding, so kiosk/auto-play and video export work without manual timing. Narration never starts before the page transition finishes.
- Optional native video export on Windows: `powerpoint_video.py` delegates the final narrated PPTX to PowerPoint 2016+ and waits until its native MP4 encoder succeeds or fails.
- The original speaker notes are preserved.
@@ -33,6 +33,10 @@ The shared stage is documented in [`workflows/stages/generate-audio.md`](../skil
|---|---|
| `--recorded-narration audio` | Prepare PowerPoint's recorded timings and narrations. Requires complete per-slide audio and writes page auto-advance timings. Use this for narrated/video export. The re-export is saved as `exports/<name>_<timestamp>_narrated.pptx`. |
| `--narration-audio-dir audio` | Lower-level audio embedding. Embeds matched files and allows partial coverage. Use this for testing or manual PowerPoint finishing. Exports get the same `_narrated` name suffix. |
+| `--narration-start-floor 0.8` | Optional minimum seconds from the start of the destination-page transition to narration. The default is `0.8`; `0` means start as soon as the transition completes. |
+| `--narration-padding 0.5` | Optional silent hold after narration finishes and before the slide advances. The default is `0.5`. |
+
+Both timing options may be omitted or overridden independently. The actual silence after a transition is `max(0, narration_start_floor - transition_duration)`; changing the floor never stretches the transition itself.
## Triggering it
@@ -108,12 +112,12 @@ python3 skills/ppt-master/scripts/narration_sync.py fingerprint <project_path>
# 4. Derive click-free narration_animations.json from canonical animations.json
python3 skills/ppt-master/scripts/narration_sync.py animations <project_path> \
- --narration-padding 0.5 --force
+ --narration-start-floor 0.8 --narration-padding 0.5 --force
# 5. Re-export PPTX with audio embedded
python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> \
-o <final_narrated_pptx> --recorded-narration audio \
- --narration-padding 0.5
+ --narration-start-floor 0.8 --narration-padding 0.5
# 6. When page-local SRT exists, merge it using the final PowerPoint timings
python3 skills/ppt-master/scripts/narration_sync.py subtitles <project_path> \
@@ -167,7 +171,7 @@ Alibaba Cloud's current [TTS model guide](https://www.alibabacloud.com/help/en/m
`audio/` is the single active narration set. The manifest records its source, so provider subdirectories are not created by default. Before regeneration, the script removes stale `manifest.json` and `total.srt`; audio-only providers also remove same-stem stale page SRT files. Use a separate explicit output directory only when you intentionally need to preserve an alternate provider run.
-When canonical custom animation exists, `narration_timing.json` remains deliberately separate from read-only `animations.json`. It records the ordered SRT-set SHA-256, narration padding, ordered SVG group IDs, and optional 1-based cue numbers. `narration_sync.py animations` rejects a stale fingerprint, validates the group IDs against the current SVGs, and writes the derived `narration_animations.json` with only supported PowerPoint fields. A group with `effects[]` still maps to one cue: its first active row is anchored to that cue, while later rows retain their relative delay. With no animation sidecars, skip that derivation. `narration_sync.py subtitles` reads the final PPTX's actual presentation order plus millisecond slide-advance and transition values, so `total.srt` follows the native PPTX timeline. A relative `--pptx` path is resolved under `<project_path>`.
+When canonical custom animation exists, `narration_timing.json` remains deliberately separate from read-only `animations.json`. It records the ordered SRT-set SHA-256, optional narration start floor, narration padding, ordered SVG group IDs, and optional 1-based cue numbers. `narration_sync.py animations` rejects a stale fingerprint, validates the group IDs against the current SVGs, and writes the derived `narration_animations.json` with only supported PowerPoint fields. Cue-bound animation starts use the same page-start floor as the embedded audio; uncued title or decorative animation keeps its canonical relative timing. A group with `effects[]` still maps to one cue: its first active row is anchored to that cue, while later rows retain their relative delay. With no animation sidecars, skip that derivation. `narration_sync.py subtitles` reads the final PPTX's actual presentation order plus millisecond transition, narration-delay, and slide-advance values, so `total.srt` follows the native PPTX timeline. A relative `--pptx` path is resolved under `<project_path>`.
PowerPoint's video encoder can quantize each slide/media segment to its output frame clock. Those small per-page differences may accumulate even when the PPTX timing values are correct. Passing the finished `.mp4` / `.wmv` / `.mov` with `--video` uses normalized audio correlation to locate each original page narration in the exported audio track. It changes only the page-level offsets: the provider's cue text and page-local timing remain untouched. This is a post-export subtitle calibration step and does not rewrite the video.
@@ -177,6 +181,7 @@ Use the default text-flow mode for the final narrated SVG export. It keeps autho
{
"version": 1,
"srt_sha256": "<sha256 of the ordered page-local SRT set>",
+ "narration_start_floor": 0.8,
"narration_padding": 0.5,
"slides": {
"01_title": {
diff --git a/docs/zh/audio-narration.md b/docs/zh/audio-narration.md
index 0c252def..59d480c2 100644
--- a/docs/zh/audio-narration.md
+++ b/docs/zh/audio-narration.md
@@ -12,7 +12,7 @@ PPT Master 可以把演讲者备注转成逐页音频旁白(默认基于 [`edg
- 使用 provider 原生计时字幕时,每页还有一个同名字幕文件,与音频一起存放于 `<project_path>/audio/`(`01_cover.srt`、`02_market_landscape.srt` …)。每个文件使用以 `00:00:00,000` 为原点的页内时间轴;provider 的词级或字符级时间戳都会重组为同一套紧凑 cue。
- 完整生成成功后写出精简的 `<project_path>/audio/manifest.json`,只记录 provider、模型、音频/字幕格式、相关音色参数,以及代替云端 voice ID 原文的 SHA-256 指纹;不包含逐页清单、产物哈希或 API Key,正常生成过程也不会读取它。
- 存在规范的 `animations.json` 且已有逐页 SRT 时,SVG 到 SRT 的计时计划会派生 `narration_animations.json`,让无点击对象动画等待相关字幕 cue。两个动画 sidecar 都不存在时,旁白导出不会创建 sidecar,而是保留默认 `fade` 页间切换和无逐元素动画。存在逐页 SRT 时,两条路径都可以生成与最终 PPTX 时间轴一致的 `<project_path>/audio/total.srt`;PowerPoint 导出视频后,还可用同一命令根据视频音轨校准每页起点,得到帧级对齐的外挂字幕。
-- 可选重新导出:在 `exports/` 生成新版 PPTX,每页对应的 `m4a` / `mp3` / `wav` 音频已嵌入到该页,且页面切换时间按音频长度自动设置——无人值守自动播放和视频导出都不用再手动调时间。
+- 可选重新导出:在 `exports/` 生成新版 PPTX,每页对应的 `m4a` / `mp3` / `wav` 音频已嵌入到该页,且页面推进时间根据可配置的页前起始下限、音频长度和页尾停留自动设置——无人值守自动播放和视频导出都不用再手动调时间。旁白不会早于页面转场结束时启动。
- Windows 下可选原生视频导出:`powerpoint_video.py` 把最终带旁白 PPTX 交给 PowerPoint 2016+,并等待其原生 MP4 编码成功或失败。
- 演讲者备注原样保留。
@@ -33,6 +33,10 @@ PPT Master 可以把演讲者备注转成逐页音频旁白(默认基于 [`edg
|---|---|
| `--recorded-narration audio` | 准备 PowerPoint 的"录制的计时和旁白"。要求每页都有音频,并写入页面自动推进时间。用于旁白视频导出。重导出文件保存为 `exports/<name>_<timestamp>_narrated.pptx`。 |
| `--narration-audio-dir audio` | 底层音频嵌入能力。只嵌入匹配到的文件,允许部分页面有音频。用于测试或后续手工整理。导出文件同样带 `_narrated` 后缀。 |
+| `--narration-start-floor 0.8` | 可选的页前参数:从目标页转场开始计,到旁白启动的最短秒数。默认 `0.8`;设为 `0` 表示转场结束后立即开始。 |
+| `--narration-padding 0.5` | 可选的页尾参数:旁白结束后、页面推进前的静默停留秒数。默认 `0.5`。 |
+
+两个计时参数都可以省略,也可以独立覆盖。转场结束后的实际静默时间为 `max(0, narration_start_floor - transition_duration)`;调整起始下限不会拉长转场本身。
## 怎么触发
@@ -105,12 +109,12 @@ python3 skills/ppt-master/scripts/narration_sync.py fingerprint <project_path>
# 4. 从规范 animations.json 派生无点击的 narration_animations.json
python3 skills/ppt-master/scripts/narration_sync.py animations <project_path> \
- --narration-padding 0.5 --force
+ --narration-start-floor 0.8 --narration-padding 0.5 --force
# 5. 重新导出 PPTX 嵌入音频
python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> \
-o <final_narrated_pptx> --recorded-narration audio \
- --narration-padding 0.5
+ --narration-start-floor 0.8 --narration-padding 0.5
# 6. 存在逐页 SRT 时,按最终 PowerPoint 计时合并
python3 skills/ppt-master/scripts/narration_sync.py subtitles <project_path> \
@@ -161,7 +165,7 @@ CLI 会在发送请求前拒绝超出范围的 ElevenLabs stability/similarity/s
`audio/` 是唯一的当前旁白集,来源由 manifest 记录,因此默认不创建 provider 子目录。重新生成前,脚本会移除过期的 `manifest.json` 与 `total.srt`;仅生成音频的 provider 还会移除同名旧逐页 SRT。只有明确需要保留另一套 provider 结果时,才使用单独的显式输出目录。
-存在规范自定义动画时,`narration_timing.json` 与只读的 `animations.json` 刻意分离:前者记录整套有序 SRT 的 SHA-256、旁白 padding、有序 SVG 组 ID 和可选的 1-based cue 编号。`narration_sync.py animations` 会拒绝过期的 SRT 指纹,用当前 SVG 校验组 ID,并把 PowerPoint 支持的字段写入派生的 `narration_animations.json`。包含 `effects[]` 的分组仍只映射一条 cue:第一条有效动画行锚定该 cue,后续动画行保留相对延迟。没有动画 sidecar 时跳过该派生步骤。`narration_sync.py subtitles` 从最终 PPTX 读取真实页面关系顺序、毫秒级页面推进与转场时间,因此 `total.srt` 使用原生 PPTX 时间轴。相对 `--pptx` 路径按 `<project_path>` 解析。
+存在规范自定义动画时,`narration_timing.json` 与只读的 `animations.json` 刻意分离:前者记录整套有序 SRT 的 SHA-256、可选的旁白起始下限、页尾 padding、有序 SVG 组 ID 和可选的 1-based cue 编号。`narration_sync.py animations` 会拒绝过期的 SRT 指纹,用当前 SVG 校验组 ID,并把 PowerPoint 支持的字段写入派生的 `narration_animations.json`。与 cue 绑定的动画使用和嵌入音频相同的页前起始下限;未绑定 cue 的标题或装饰动画保留规范相对时间。包含 `effects[]` 的分组仍只映射一条 cue:第一条有效动画行锚定该 cue,后续动画行保留相对延迟。没有动画 sidecar 时跳过该派生步骤。`narration_sync.py subtitles` 从最终 PPTX 读取真实页面关系顺序、毫秒级转场、旁白延迟与页面推进时间,因此 `total.srt` 使用原生 PPTX 时间轴。相对 `--pptx` 路径按 `<project_path>` 解析。
PowerPoint 的视频编码器可能把每个页面 / 媒体段落量化到输出帧时钟;即使 PPTX 计时值正确,这些很小的分页误差仍可能逐页累积。把最终 `.mp4` / `.wmv` / `.mov` 通过 `--video` 传入后,脚本会用归一化音频相关性在视频音轨中定位每页原始旁白。它只改页级偏移,provider 返回的字幕文本和页内时间保持不变;这是视频导出后的字幕校准步骤,不会改写视频。
@@ -171,6 +175,7 @@ PowerPoint 的视频编码器可能把每个页面 / 媒体段落量化到输出
{
"version": 1,
"srt_sha256": "<sha256 of the ordered page-local SRT set>",
+ "narration_start_floor": 0.8,
"narration_padding": 0.5,
"slides": {
"01_title": {
diff --git a/skills/ppt-master/scripts/docs/pptx-transitions.md b/skills/ppt-master/scripts/docs/pptx-transitions.md
index 33c77fc4..89c278a4 100644
--- a/skills/ppt-master/scripts/docs/pptx-transitions.md
+++ b/skills/ppt-master/scripts/docs/pptx-transitions.md
@@ -43,7 +43,7 @@ Advance mode:
| click | Click advance only |
| after | Timed advance only |
| both | Click or timed advance, whichever occurs first |
-| narration | Timed advance from audio duration plus padding; click disabled |
+| narration | Timed advance from narration lead-in, audio duration, and page-tail padding; click disabled |
**Hard rule**: enter=none may coexist with a timed advance. The valid result is
a timing-only p:transition with no visual-effect child.
diff --git a/skills/ppt-master/scripts/docs/svg-pipeline.md b/skills/ppt-master/scripts/docs/svg-pipeline.md
index bd4a5c34..d12b9cdd 100644
--- a/skills/ppt-master/scripts/docs/svg-pipeline.md
+++ b/skills/ppt-master/scripts/docs/svg-pipeline.md
@@ -647,7 +647,7 @@ Behavior:
- `notes_to_audio.py` uses `edge-tts` by default, or a configured cloud TTS provider (`elevenlabs`, `minimax`, `qwen`, `cosyvoice`), and generates one audio file per slide into `audio/`
- Narration text is read strictly from the matching `notes/*.md` file; the script only skips Markdown heading lines (`# ...`) and does not summarize, rewrite, or filter delivery notes
- `--recorded-narration audio` prepares PowerPoint's "recorded timings and narrations": every slide must have matching `m4a` / `mp3` / `wav` audio, `ffprobe` must read every duration, and `--animation-trigger on-click` is rejected
- - `--recorded-narration audio` keeps speaker notes, embeds each matching audio file, and writes slide auto-advance timings from audio duration
+ - `--recorded-narration audio` keeps speaker notes, embeds each matching audio file, and writes slide auto-advance timings from page-start lead-in + audio duration + page-tail padding. `--narration-start-floor` and `--narration-padding` are independent optional seconds; their defaults are `0.8` and `0.5`, and the post-transition lead-in is `max(0, start floor - transition duration)`
- When either animation sidecar exists, narrated export defaults to `<project>/narration_animations.json`; a canonical `animations.json` without that derived file remains a blocking synchronization error
- Without animation sidecars, Generate narration reads base-report deck motion via `--inherit-motion-from`; direct low-level omission keeps legacy `fade` / no object builds. Use `--animation-config animations.json` for canonical animation, or `--no-animations` to remove object/page motion while retaining narration timings
- Non-narrated export keeps the existing optional `<project>/animations.json` default
diff --git a/skills/ppt-master/scripts/prompt_audit_manifest.json b/skills/ppt-master/scripts/prompt_audit_manifest.json
index 5c9ae1a0..2e02c6db 100644
--- a/skills/ppt-master/scripts/prompt_audit_manifest.json
+++ b/skills/ppt-master/scripts/prompt_audit_manifest.json
@@ -904,7 +904,7 @@
"files": [
"skills/ppt-master/workflows/stages/generate-audio.md"
],
- "max_tokens": 6000
+ "max_tokens": 7000
},
"governance.failure-recovery": {
"description": "Global stop, retry, and resume policy.",
diff --git a/skills/ppt-master/workflows/native-enhance-pptx.md b/skills/ppt-master/workflows/native-enhance-pptx.md
index 28e86184..7d8b0695 100644
--- a/skills/ppt-master/workflows/native-enhance-pptx.md
+++ b/skills/ppt-master/workflows/native-enhance-pptx.md
@@ -50,7 +50,7 @@ source.pptx
|---|---:|---|
| `narration.notes` | Enabled | Add or replace speaker notes generated from slide content |
| `narration.audio` | Enabled | Embed one audio file per slide |
-| `narration.timings` | Enabled | Set narrated slides to auto-advance by audio duration |
+| `narration.timings` | Enabled | Set narrated slides to auto-advance from page-start lead-in, audio duration, and page-tail padding |
| `narration.transitions` | Enabled | Add page-level transitions for narrated/selected slides |
| `delivery.check` | Enabled | Read-only package/font/media/hidden-slide/file-size and existing-motion audit |
| `media` | Planned | Background music, video, media compression |
@@ -137,7 +137,7 @@ Present the plan to the user before generating notes or audio:
|---|---|---|
| `notes` | Enabled; required whenever audio is enabled | Add/replace speaker notes generated from slide content? |
| `audio` | Enabled when user wants narration/video/autoplay | After notes are complete, generate one narration audio file per slide? |
-| `timings` | Enabled with audio | Set slide auto-advance from audio duration? |
+| `timings` | Enabled with audio; 0.8s page-start floor and 0.4s page-tail padding | Set slide auto-advance from narration timing? |
| `transitions` | Enabled, `fade` 0.5s | Add page transitions? Which canonical native effect, Effect Options, and duration? |
| `delivery.check` | Always on, read-only | No confirmation required; review errors and advisories |
@@ -156,8 +156,20 @@ the notes artifact.
| Transitions enabled with an effect | Replace with that exact effect and duration | Preserve unless timings is enabled |
| Transitions disabled with a non-`none` configured effect | Preserve the source effect, including unknown `AlternateContent` | Preserve unless timings is enabled |
| Explicit `none` | Remove the visual effect | Preserve, or write timing-only advance when timings is enabled |
-| Timings enabled with audio | Keep the resolved enter policy | Use audio duration plus narration padding; click disabled |
-| Timings disabled | Apply the confirmed enter policy only | Audio readiness may probe decodability; do not use duration or add/change `advTm` or `useTimings` |
+| Timings enabled with audio | Keep the resolved enter policy | Use page-start lead-in plus audio duration plus page-tail padding; click disabled |
+| Timings disabled | Apply the confirmed enter policy only | Use duration only to reject source auto-advance that would truncate narration; do not derive, add, or change `advTm` / `useTimings` |
+
+The timing module's `narration_start_floor` and `narration_padding` are
+independent optional values. When omitted, use `0.8` and `0.4` seconds
+respectively. For a destination-page transition of `T` seconds, the
+post-transition lead-in is
+`max(0, narration_start_floor - T)`: narration does not begin during the
+transition, and the transition duration itself remains unchanged. A start
+floor of `0` means start immediately after the transition completes. A
+preserved legacy transition that exposes only `spd` has no exact millisecond
+duration; keep the full configured floor after that transition instead of
+guessing a PowerPoint-specific duration. When timings are disabled, preserve
+source `advTm`, but fail if it would advance before the delayed narration ends.
The confirmed `modules.transitions` object may include `effect_options` beside
an explicit canonical `effect`. Use
@@ -314,6 +326,7 @@ Optional:
python3 skills/ppt-master/scripts/native_enhance_pptx.py apply "<project>" \
--transition fade \
--transition-duration 0.5 \
+ --narration-start-floor 0.8 \
--narration-padding 0.4 \
--apply-transition-without-audio \
--overwrite
@@ -376,7 +389,7 @@ Check:
| Visible content | No intentional changes |
| Notes | Present on intended slides |
| Audio media | Present under `ppt/media/` when generated |
-| Auto-play | Narrated slides advance by audio duration |
+| Auto-play | Narrated slides wait for the resolved page-start lead-in, then advance after audio duration plus page-tail padding |
| Transition | Requested effect remains exact; preserved `AlternateContent` keeps its primary and fallback branches |
| Timings disabled | Source `advTm` and package `useTimings` are not changed |
| Delivery check | No newly introduced structural errors; source baseline and font/media/hidden-slide advisories reviewed |
diff --git a/skills/ppt-master/workflows/stages/generate-audio.md b/skills/ppt-master/workflows/stages/generate-audio.md
index c134ddcb..c82a2b49 100644
--- a/skills/ppt-master/workflows/stages/generate-audio.md
+++ b/skills/ppt-master/workflows/stages/generate-audio.md
@@ -187,23 +187,26 @@ python3 skills/ppt-master/scripts/notes_to_audio.py <project_path> \
# sidecar. Reuse current SVG semantics when complete; otherwise read only
# the missing or stale svg_output pages.
python3 skills/ppt-master/scripts/narration_sync.py animations <project_path> \
- --narration-padding 0.5 --force
+ --narration-start-floor 0.8 --narration-padding 0.5 --force
# 2B. Re-export with audio embedded
# Use the base export's [REPORT] path to preserve source-bound deck motion.
python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> \
- --recorded-narration audio --narration-padding 0.5 \
+ --recorded-narration audio \
+ --narration-start-floor 0.8 --narration-padding 0.5 \
--inherit-motion-from "<base_postflight_report>"
# Optional: use the canonical presentation animation instead
python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> \
- --recorded-narration audio --narration-padding 0.5 \
+ --recorded-narration audio \
+ --narration-start-floor 0.8 --narration-padding 0.5 \
--animation-config animations.json \
--inherit-motion-from "<base_postflight_report>"
# Optional: export narration with no object or page-transition animation
python3 skills/ppt-master/scripts/svg_to_pptx.py <project_path> \
- --recorded-narration audio --narration-padding 0.5 \
+ --recorded-narration audio \
+ --narration-start-floor 0.8 --narration-padding 0.5 \
--no-animations
# 2C. Only when page-local SRT exists, merge it against timing values read
@@ -255,7 +258,19 @@ Before generation starts, `notes_to_audio.py` removes stale `audio/manifest.json
Generate passes the base report through `--inherit-motion-from`: inherited
`-a none` preserves explicit objects-off, while final Stage-2 `false` does not.
Only explicit all-motion-off uses `--no-animations`. Invalid reports block;
-audio duration plus padding owns final advance.
+page-start lead-in, audio duration, and page-tail padding own final advance.
+
+**Narration pacing controls**: page-front and page-tail timing are independent,
+optional parameters. Unless the user supplies values, use
+`narration_start_floor=0.8` seconds and `narration_padding=0.5` seconds without
+adding a confirmation question. For a destination-page transition of `T`
+seconds, the post-transition lead-in is
+`max(0, narration_start_floor - T)`: narration never begins during the
+transition, while a longer transition is not stretched. Apply the same
+lead-in to embedded narration, cue-bound object animation, subtitle offsets,
+and slide advance. Uncued title or decorative animation keeps its canonical
+relative timing. Setting the start floor to `0` means narration begins as soon
+as the transition completes; it does not bypass the transition.
When canonical custom animation is synchronized,
`<project_path>/narration_timing.json` is the explicit semantic mapping for
@@ -275,6 +290,7 @@ python3 skills/ppt-master/scripts/narration_sync.py fingerprint <project_path>
{
"version": 1,
"srt_sha256": "<sha256 of the ordered page-local SRT set>",
+ "narration_start_floor": 0.8,
"narration_padding": 0.5,
"slides": {
"01_title": {
@@ -308,7 +324,7 @@ This stage keeps subtitles as external SRT files. It does not burn subtitles int
For Qwen or explicit CosyVoice audio-only mode, embed/export the audio normally but skip `narration_timing.json`, `narration_sync.py animations`, SRT merge, and final-video subtitle alignment. Never present those missing subtitle artifacts as generated.
-For Generate PPTX, `--recorded-narration audio` prepares PowerPoint's recorded timings and narrations: every slide must have a matching supported audio file, every duration must be readable by `ffprobe`, and object animations must not use `--animation-trigger on-click`. Use `after-previous` or `with-previous` for narrated/video export. Narration changes the slide-advance layer only: the resolved page-transition effect remains unchanged, `-t none` remains visually transition-free, and narration advance disables click while using audio duration plus padding. The re-export is saved as `exports/<project_name>_<timestamp>_narrated.pptx`, telling it apart from silent exports.
+For Generate PPTX, `--recorded-narration audio` prepares PowerPoint's recorded timings and narrations: every slide must have a matching supported audio file, every duration must be readable by `ffprobe`, and object animations must not use `--animation-trigger on-click`. Use `after-previous` or `with-previous` for narrated/video export. Narration changes the slide-advance layer only: the resolved page-transition effect remains unchanged, `-t none` remains visually transition-free, and narration advance disables click while using page-start lead-in plus audio duration plus page-tail padding. The re-export is saved as `exports/<project_name>_<timestamp>_narrated.pptx`, telling it apart from silent exports.
**Narrated SVG export**: use the default text-flow mode. It keeps authored line breaks in one editable, no-wrap text frame; narration does not require per-line text frames.