Rehearse script
rehearse_scriptGenerate spoken audio for each slide, measure real speaking durations, and produce a drift report to rebalance presentation timing if it deviates from the target WPM.
Instructions
Phase 3 (§11.2). Synthesize each slide's speaker script to audio (Microsoft neural TTS — ONLINE, used at rehearsal time only; the deck bundle stays offline), measure the real durations, and produce a drift report vs the WPM model. If drift exceeds ±10% the timing map is rebalanced to the measured values. The implied effective WPM is stored in the manifest and persisted as the default for the next deck. Emits per-slide mp3s + measured.json + full-run.m3u under the deck's rehearsal/ dir. Requires network; unreachable service returns a structured TTS_UNAVAILABLE error, deck untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice | No | Microsoft neural voice id, e.g. en-US-GuyNeural. Defaults to config tts.voice. | |
| deckId | Yes | ||
| wpmOverride | No | WPM the drift is measured against; defaults to the persisted calibration or config. |