decklight 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/NOTICE +2 -0
  2. package/PLATFORM.md +61 -3
  3. package/README.md +58 -28
  4. package/SPEC.md +1326 -85
  5. package/cli/agent-review.mjs +5 -4
  6. package/cli/agents.mjs +148 -18
  7. package/cli/bundle-audio.mjs +10 -3
  8. package/cli/bundle-module.mjs +95 -0
  9. package/cli/bundle.mjs +125 -7
  10. package/cli/cast.mjs +86 -19
  11. package/cli/check-fixes.mjs +194 -0
  12. package/cli/check-watch.mjs +151 -0
  13. package/cli/check.mjs +491 -75
  14. package/cli/code-editor.mjs +287 -0
  15. package/cli/commands.mjs +13 -2
  16. package/cli/commit-flow.mjs +7 -3
  17. package/cli/commit-message.mjs +35 -8
  18. package/cli/commit-split.mjs +125 -25
  19. package/cli/deck-refs.mjs +8 -3
  20. package/cli/decklight.mjs +11 -1
  21. package/cli/design-system-edit.mjs +37 -1
  22. package/cli/design-system-refs.mjs +263 -6
  23. package/cli/design-system.mjs +82 -14
  24. package/cli/edit-address.mjs +184 -0
  25. package/cli/edit-git.mjs +23 -6
  26. package/cli/edit-handover.mjs +257 -40
  27. package/cli/edit-look.mjs +293 -6
  28. package/cli/edit-open.mjs +143 -0
  29. package/cli/edit-slides.mjs +1043 -67
  30. package/cli/edit-translate.mjs +243 -0
  31. package/cli/edit.mjs +3680 -319
  32. package/cli/editor-support.mjs +286 -0
  33. package/cli/enhance.mjs +157 -27
  34. package/cli/find-replace.mjs +142 -0
  35. package/cli/fix-review.mjs +368 -0
  36. package/cli/git.mjs +13 -0
  37. package/cli/init.mjs +101 -22
  38. package/cli/keep-awake.mjs +68 -0
  39. package/cli/marketplace-autocheck.mjs +200 -0
  40. package/cli/marketplace.mjs +250 -13
  41. package/cli/migrate-writing.mjs +214 -0
  42. package/cli/narrate.mjs +121 -5
  43. package/cli/open.mjs +53 -15
  44. package/cli/outside-edit.mjs +257 -0
  45. package/cli/paste.mjs +92 -0
  46. package/cli/pdf.mjs +88 -10
  47. package/cli/pptx-export.mjs +10 -5
  48. package/cli/publish.mjs +24 -3
  49. package/cli/record.mjs +86 -15
  50. package/cli/remote.mjs +32 -6
  51. package/cli/rewrite.mjs +265 -0
  52. package/cli/runtime-link.mjs +218 -17
  53. package/cli/serve.mjs +9 -6
  54. package/cli/setup.mjs +2 -2
  55. package/cli/skill-content.mjs +251 -10
  56. package/cli/skills/slide-writing.md +333 -0
  57. package/cli/skills/voiceover.md +423 -0
  58. package/cli/skills.mjs +282 -15
  59. package/cli/starter-full.mjs +353 -0
  60. package/cli/supervise.mjs +14 -0
  61. package/cli/theme-refs.mjs +14 -2
  62. package/cli/theme.mjs +3 -2
  63. package/cli/translate-core.mjs +466 -0
  64. package/cli/translate-files.mjs +149 -0
  65. package/cli/translate.mjs +458 -0
  66. package/cli/units.mjs +75 -7
  67. package/cli/util.mjs +25 -0
  68. package/cli/vocabulary-docs.mjs +138 -0
  69. package/dist/decklight.css +2506 -113
  70. package/dist/decklight.js +385 -175
  71. package/dist/decklight.js.map +4 -4
  72. package/docs/GLOSSARY.md +9 -2
  73. package/docs/WRITING_RESEARCH.md +327 -0
  74. package/package.json +5 -3
  75. package/themes/coastal.css +3 -0
  76. package/themes/metropolis.css +2 -0
  77. package/themes/reveal-blood.css +3 -0
  78. package/themes/reveal-league.css +2 -0
  79. package/themes/reveal-moon.css +2 -0
  80. package/themes/reveal-serif.css +1 -0
  81. package/themes/reveal-sky.css +1 -0
  82. package/themes/reveal-solarized.css +4 -0
  83. package/tools/brand-palette.mjs +6 -1
  84. package/tools/build-groups.mjs +28 -8
  85. package/tools/cdp.mjs +176 -0
  86. package/tools/chart-spec.mjs +242 -0
  87. package/tools/click-match.mjs +70 -0
  88. package/tools/code-options.mjs +174 -0
  89. package/tools/conversation.mjs +49 -0
  90. package/tools/deck-family.mjs +101 -0
  91. package/tools/deck-html.mjs +212 -15
  92. package/tools/design-system-format.mjs +40 -1
  93. package/tools/design-system-migrations.mjs +207 -0
  94. package/tools/diagram-shapes.mjs +221 -0
  95. package/tools/elevenlabs-tts.mjs +62 -53
  96. package/tools/exec.mjs +10 -2
  97. package/tools/face-clip.mjs +96 -0
  98. package/tools/face-layout.mjs +94 -0
  99. package/tools/gemini-tts.mjs +1 -1
  100. package/tools/invisible-in-print.mjs +27 -0
  101. package/tools/lipsync-auto.mjs +197 -0
  102. package/tools/lipsync-config.mjs +16 -0
  103. package/tools/lipsync-engines.mjs +22 -4
  104. package/tools/lipsync-server.mjs +8 -5
  105. package/tools/lipsync.mjs +122 -30
  106. package/tools/local-voice.mjs +1 -1
  107. package/tools/mouth-file.mjs +26 -0
  108. package/tools/mouth.mjs +320 -0
  109. package/tools/narration-manifest.mjs +100 -6
  110. package/tools/narration-synth.mjs +96 -76
  111. package/tools/recording-impact.mjs +16 -1
  112. package/tools/sentences.mjs +7 -1
  113. package/tools/site-clip.mjs +114 -0
  114. package/tools/starters.mjs +402 -0
  115. package/tools/steps.mjs +118 -0
  116. package/tools/take-check.mjs +146 -0
  117. package/tools/template-theme.mjs +3 -1
  118. package/tools/test-impact.mjs +36 -12
  119. package/tools/theme-check.mjs +196 -1
  120. package/tools/tone-cue.mjs +108 -0
  121. package/tools/tts-cache.mjs +9 -3
  122. package/tools/tts-engines.mjs +100 -11
  123. package/tools/video-cache.mjs +93 -0
  124. package/tools/video-live.mjs +349 -0
  125. package/tools/video-options.mjs +11 -0
  126. package/tools/video.mjs +825 -117
  127. package/tools/viseme-fit.mjs +27 -0
  128. package/tools/viseme-match.mjs +77 -0
  129. package/tools/vocabulary.mjs +397 -0
  130. package/tools/voice-renumber.mjs +605 -0
  131. package/tools/voiceover-server.mjs +42 -11
  132. package/tools/voiceover.mjs +48 -20
  133. package/dist/build-info.json +0 -1
package/docs/GLOSSARY.md CHANGED
@@ -29,7 +29,14 @@ holds a beat of silence.
29
29
  and links, hidden on the slide and shown in the inspector (`SLIDE_SOURCES`).
30
30
 
31
31
  **Layout.** How one slide places its content: `auto`, `centered`, `top`,
32
- `split`. Cycled from the bar's Layout button and written as `data-layout`.
32
+ `split`. Chosen from the bar's Layout button, which shows the slide in
33
+ each one (and in each slide template first, on a design system), and
34
+ written as `data-layout`.
35
+
36
+ **Connector.** A diagram's wire that stays attached: each shape it joins
37
+ names itself `data-node`, and the wire says `data-from` and `data-to`. Moving
38
+ a shape reroutes its wires, in the editor and when the deck loads
39
+ (`SVG_DIAGRAMS`).
33
40
 
34
41
  **Template.** A design system's slide: a structure with named **slots**. A
35
42
  slide names it with `data-template` and fills the slots; the structure comes
@@ -58,7 +65,7 @@ PDF…`), filtered as you type. The palette does a thing.
58
65
 
59
66
  **Settings.** The palette's *Preferences: Settings…*: how the deck is set
60
67
  up to show itself (clock, progress bar, captions, voice speed, the editing
61
- bar, the arrows and slide number in fullscreen), each row read back from
68
+ bar, the arrows and slide number in fullscreen and speaker view), each row read back from
62
69
  what the deck remembers and changed with `⏎`.
63
70
 
64
71
  ## Voice
@@ -0,0 +1,327 @@
1
+ # Let the slide show, the voice explain
2
+
3
+ A narrated Decklight deck works when the slide and the voice do different jobs at the same moment: the slide carries one sentence-long claim plus the evidence for it (a diagram, a number, a chart, code) in roughly 20 words, and the narration carries what a screen cannot, which is the reason, the link from the previous slide, the example, and the answer to the doubt the viewer has right now. The best-evidenced rule in the whole literature is not "fewer words" but timing: spoken words that arrive together with the matching graphic (median d = 1.31 in Mayer's 2021 synthesis), followed by spoken rather than printed explanation (d = 1.00), conversational wording (d = 1.00), cutting extraneous material (d = 0.86) and labels placed on the thing they name (d = 0.82). The famous "never put text on a narrated slide" rule is much weaker than usually quoted (d = 0.10, and it reverses for short, reworded text), so the target is a paraphrased headline and labels, never a transcript and never an empty slide. Decklight already has the machinery for this: `[click]` beats tie each sentence group to a build, the voice is the clock, and SLIDE_DENSITY counts on-screen prose. What it lacks is any guidance on what to say: the shipped skill covers markers and register only, nothing budgets narration length, nothing flags notes that repeat the slide, and there is no French example. Because Decklight synthesizes every sentence as its own clip with no neighbouring context, rhythm, emphasis and pauses have to be written into sentence structure, which is also exactly what makes a script readable by a live human. English and French scripts should be written separately from a shared outline of ideas and beats, since length, address, structure, humour and typography all differ. The rest of this report gives the evidence with its strength labelled, the Decklight-specific text-to-speech craft, and a concrete content plan for the two skills, including reviewer checklists.
4
+
5
+ **How to read the evidence labels.** Claims are tagged as the research notes tagged them: *research* (a study or the author's own summary of one, read in the original), *practitioner* (expert opinion or house style), *secondary* (a third-party summary of a book or paper not opened in the original), *snippet* (seen only as a search-result excerpt, a lead to verify), and *inference* (the researchers' own synthesis, including every constructed example). Decklight facts are cited by SPEC mnemonic or file path as surveyed at commit d303bc35 on 2026-11-14.
6
+
7
+ ## Four pain points, one root cause: the slide and the voice were written as copies
8
+
9
+ The four problems named in the brief are symptoms of one habit, which is writing the slide first as a document and then narrating that document. The table maps each to its cause and to the fixes developed in the sections below.
10
+
11
+ | Pain point | Why it happens | What fixes it | Evidence strength |
12
+ |---|---|---|---|
13
+ | Narration reads the slide | The slide already holds the full sentence, so the voice has nothing left to add | Slide holds claim plus evidence, voice holds reason, link, example, caveat. Run the two-channel test: mute it, then listen without looking | Research for timing and modality, weak research for verbatim redundancy, inference for the test |
14
+ | Flat, lecture-like voice | Written register, uniform sentence length, no direct address, each sentence synthesized in isolation | Write for the ear: one idea per sentence, "you" and "we", contractions, varied sentence length, pauses built from sentence boundaries, one or two audio tags per slide | Research for conversational style, practitioner for ear-writing, Decklight implementation facts |
15
+ | Too many words on slides | Bullet lists stand in for a relationship nobody drew | Sentence headline plus visual evidence, about 20 words, 40 at most, lists capped at four and built | One research group for assertion-evidence, practitioner for budgets, Decklight SLIDE_DENSITY |
16
+ | No story, no viewer empathy | Slides written one at a time from source material, with the curse of knowledge intact | Plan first: a 15-word throughline, a gap opened in the first 30 seconds, a per-slide "what would a sceptical viewer ask here" pass, a closing sentence the viewer can repeat | Practitioner and secondary, research for the curse of knowledge and pre-training, inference for the per-slide pass |
17
+
18
+ ## Slides earn their place with a claim and its evidence in about 20 words
19
+
20
+ ### Mayer's principles: timing and coherence are strong, redundancy is weak
21
+
22
+ Richard Mayer's own 2021-based summary gives median effect sizes for each multimedia principle, and he treats d above 0.40 as educationally important ([Mayer, "Research-Based Principles for Designing Multimedia Instruction"](https://www.unh.edu/teaching-learning-resource-hub/sites/default/files/media/2023-06/itow-research-based-principles-for-designing-multimedia-instruction-mayer.pdf), research, read in full). The numbers matter because the folk version of this literature gets the ranking wrong.
23
+
24
+ | Principle | Tests supporting | Median d | Boundary conditions Mayer states | What it means for a Decklight slide |
25
+ |---|---|---|---|---|
26
+ | Temporal contiguity: narration at the same time as the matching graphic | 8 of 8 | **1.31** | Strongest for long, system-paced lessons | One `[click]` beat per build, and each beat talks about what just appeared |
27
+ | Modality: spoken rather than printed words with graphics | 18 of 19 | **1.00** | Not universal. Printed words help with technical terms | Explanation goes in the notes, terms and exact figures stay on screen |
28
+ | Personalization: conversational rather than formal style | 13 of 15 | **1.00** | Weaker for experienced learners and long lessons | "You" and "we" as the default narration voice |
29
+ | Coherence: delete extraneous material | 18 of 19 | **0.86** | Strongest for system-paced lessons and for "seductive details" | Cut anything merely interesting, on the slide and in the script |
30
+ | Spatial contiguity: words next to the part they describe | 9 of 9 | **0.82** | Strongest for novices and complex lessons | Labels on the diagram, never a caption strip |
31
+ | Pre-training: names of key concepts first | 10 of 10 | 0.78 | Not for experts, simple material or learner-paced lessons | Name and show a term before the slide that reasons with it |
32
+ | Voice: human rather than machine voice | 6 of 7 | 0.74 | Mayer notes modern text-to-speech can be more human-like | A synthetic voice loses some social presence, so wording must carry it |
33
+ | Signaling: highlight what is essential | 26 of 28 | 0.70 | Best "when visual and verbal signals are used sparingly" | One highlight per beat. Pointer words in speech |
34
+ | Segmenting: learner-paced parts | 7 of 7 | 0.67 | Stronger for complex, fast material | Short beats and chapters |
35
+ | Embodiment: on-screen agent with gesture and gaze | 16 of 17 | 0.58 | Not with a machine voice | Relevant to the character overlay, with that caveat |
36
+ | Image: a static picture of the speaker | 4 of 7 | 0.19 | Non-moving agents | A static face adds little |
37
+ | Redundancy: do not add on-screen text to narrated graphics | 8 of 12 | **0.10** | "Diminished or even reversed" when the lesson is slow or learner-controlled, the text is short or reworded, the words are in a second language, or there are no graphics | Verbatim sentences hurt. A short paraphrased headline and labels help |
38
+
39
+ Three consequences follow. First, an auto-advancing narrated deck is system-paced, which is exactly where the strong effects are strongest, while a deck the viewer steps through weakens most of them (inference from Mayer's stated boundaries). Second, the redundancy figure depends on which edition is cited: older summaries give d = 0.86 across 16 of 16 tests, the 2021-based figure is 0.10 across 8 of 12, and only the lower figure was read in the source itself ([Cambridge Handbook chapter](https://www.cambridge.org/core/books/abs/cambridge-handbook-of-multimedia-learning/principles-for-reducing-extraneous-processing-in-multimedia-learning/DB673D373DEADD27CEE7A6CBAA2A98EC), snippet). Third, modality is also smaller in an independent pooling: a 2016 meta-analysis of 91 studies found d about 0.24 to 0.25 overall and about 0.43 under system pacing ([Wang, Xie and Li 2016](https://journal.psych.ac.cn/adps/EN/Y2016/V24/I3/335), snippet). A skill should therefore state these as defaults with reasons, not as laws.
40
+
41
+ The study that best defines "how much text" is Yue, Bjork and Bjork (2013). In a 253-second system-paced narrated lesson with 105 students, adding the narration verbatim on screen lowered recall (.25 against .33 for the control, d = 0.48, marginal), while adding an **abridged, reworded** version raised transfer (.50 against .34, d = 0.6, significant). A second experiment found that text too different from the narration was as bad as identical text, and learners preferred the identical text that served them worst ([Yue, Bjork and Bjork 2013](https://sites.lifesci.ucla.edu/psych-bjorklab/wp-content/uploads/sites/13/2016/07/YueBjorkBjork2013_redundancy.pdf), research, read in part). Their own pair shows the shape: the voice says "Stars are born out of nebulae, which are clouds in space made up of dust and gas" while the screen says "Stars begin in nebulae, which are clouds of dust and gas". Mayer and Johnson (2008) found two-to-three-word labels taken from the narration improved recall ([journal listing](https://learntechlib.org/j/ISSN-0022-0663/v/100/n/2), snippet). One more boundary: older adults learned best with narration plus redundant text ([Fenesi et al. 2015](https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2015.01076/pdf), research). No study in the notes tested these principles on text-to-speech narrated slide decks.
42
+
43
+ ### Assertion-evidence: a sentence headline over a picture, on modest evidence
44
+
45
+ Michael Alley's structure builds a talk on messages instead of topics: each slide gets a full-sentence headline of at most two lines, supported by visual evidence instead of a bullet list, with secondary detail moved to the spoken explanation ([assertion-evidence.com](https://www.assertion-evidence.com/), practitioner, page summary; [Garner et al. 2011](https://peer.asee.org/assertion-evidence-slides-appear-to-lead-to-better-comprehension-and-recall-of-more-complex-concepts.pdf), research, read in full). In the 2011 experiment, 111 engineering students watched the same 1,003-word talk at about 160 words per minute behind two slide sets: 334 projected words (**30.4 per slide**) for the topic-and-bullets version against 193 words (**19.3 per slide**) for assertion-evidence. The assertion-evidence group did better on a delayed test of the process (p = 0.038), with only marginal differences on immediate essays (p = 0.078 and 0.098). The bullet group won on exactly one thing: immediate recall of statistics that were printed on their slides and only spoken in the other condition.
46
+
47
+ This is suggestive, not strong. The studies come from one research group, with about 55 students per condition, and the treatment was confounded with builds (9 of 10 assertion-evidence slides, none of the others) and with graphic coverage, as the authors say themselves. The journal version reports clearer gains ([Washington University CTL summary](https://ctl.wustl.edu/in-powerpoint-its-the-headline-that-makes-the-difference/), secondary). The better reason to adopt the form is that it agrees with Mayer's better-replicated principles and with Yue's paraphrased-headline result. Two usable rules come straight from the data: showing far fewer words cost nothing in understanding, and **any number the viewer must retain belongs on the slide**. A practical headline test (inference): a topic cannot be false, an assertion can. The paper's own before and after is a good skill example: "Digital Acquisition System: Sampling" over six bullets becomes "A digital acquisition system has to sample at a rate fast enough to retain the shape of the analog signal" over a labelled diagram.
48
+
49
+ ### Duarte, Reynolds, Knaflic and Tufte agree on one message and split on density
50
+
51
+ The practitioners converge on one message per slide, a title that states it, deletion of everything that does not serve it, and one obvious focal point. Duarte's glance test asks that the audience "understand the main point of your slide in 3 seconds or less" and sets a ceiling of **40 words** for a presented slide, with dense material moved to a separate read-ahead "Slidedoc" ([Duarte, The Glance Test](https://www.duarte.com/resources/slide-glance-test/), practitioner, page summary; [Slidedocs guide](https://kinstastg.duarte.com/resources/slidedocs-visual-documents/), snippet). The three-second threshold has no independent validation. Reynolds frames it as signal to noise, where "every slide, word, and image should amplify the core message", and warns against the "slideument" that tries to be both slides and handout ([Presentation Zen](https://presentationzen.com/blog/the-signal-to-noise-ratio-activity), practitioner; [Cult of Pedagogy summary](https://www.cultofpedagogy.com/presentation-zen/), secondary). Knaflic wants an active takeaway title, a single emphasized element ("make it clear where to look"), and a deck whose titles read in order tell the whole story ([storytelling with data](https://www.storytellingwithdata.com/blog/2017/8/9/my-guiding-principles), practitioner; [SuperSummary](https://www.supersummary.com/storytelling-with-data/summary), secondary). She advises statements over question titles ([storytelling with data](https://www.storytellingwithdata.com/blog/be-careful-using-questions-as-slide-titles), snippet).
52
+
53
+ Tufte is the dissent: bullets leave relationships unspecified, and in the Columbia case the key finding sat in a low-level sub-point under a reassuring title ([Tufte, the Columbia evidence](https://www.edwardtufte.com/notebook/the-columbia-evidence/), practitioner analysis cited in an official report; [book notes](https://www.davidmays.org/BookNotes05/TufCogn.html), snippet). Critics such as Norman place the failure in the analysis, not the format ([Norman](https://jnd.org/in-defense-of-powerpoint/), snippet). The disagreement is mostly about medium (inference): Tufte's cases are decision documents read without a presenter, while Duarte and Reynolds write for slides behind a voice. A narrated deck answers Tufte by keeping the reasoning in complete spoken sentences and a sentence headline, and his Columbia point becomes a check: the most consequential statement must be the most prominent text, never a sub-bullet. For a deck that may be skimmed or watched muted, the explicit sentence headline (Alley, Knaflic) is a safer default than Reynolds's near-wordless image slide (inference).
54
+
55
+ ### A bullet wall hides a relationship: draw the relationship instead
56
+
57
+ An audit of 140 slide decks against perception-derived rules found the limited-capacity violations near universal: bullets not revealed one at a time in **95.7%** of decks, more than four bullets in a list in 91.4%, more than two lines per bullet in 91.4%. A companion survey ranked "the main point was obscured by lots of irrelevant detail", too much material to absorb, and speakers reading slides word for word as the most annoying faults, and a third study found viewers poor at saying which rule a flawed slide broke ([Kosslyn et al. 2012](https://pmc.ncbi.nlm.nih.gov/articles/PMC3398435), research for the audit, theory-derived for the rules, page summary). That last finding, with Yue's preference result, is the argument for giving an agent a checklist instead of asking it for taste.
58
+
59
+ The replacement table below is the researchers' synthesis (inference), not a published mapping, and no controlled study compares these forms against each other.
60
+
61
+ | What the bullets really are | Replace with | Decklight tool |
62
+ |---|---|---|
63
+ | Steps, a flow, cause and effect | A diagram built step by step, labels on the parts | SVG_DIAGRAMS with connectors and `draw` builds (BUILD_ENTRANCES) |
64
+ | Parts of a system | A labelled diagram, four or fewer units visible per step | `data-build` with `highlight` |
65
+ | One fact that carries the slide | One large number with a short label | A centered statement slide |
66
+ | A claim resting on data | One chart, takeaway title, one highlighted series | CHARTS |
67
+ | Two options, before and after | A side-by-side with identical layout | `split` layout (COMPARISON_SLIDES: two and a footer, never three columns) |
68
+ | A voice of authority or a memorable line | A short quote the narration paraphrases around | Quote or statement slide |
69
+ | A concrete object, place or emotional beat | A relevant full-bleed picture | `data-background-image` with `data-background-dim` |
70
+ | How to do something in code or a terminal | A trimmed snippet with one highlighted region, or a real recording | `data-lines` stepping (CODE_AND_MATH), `decklight cast` (TERMINAL_RECORDINGS) |
71
+ | Truly parallel items | A list of at most four, one or two lines each, revealed one at a time | `data-build` on the list |
72
+
73
+ A second test applies to every build: audiences assume a change carries information, so if nothing new is being said, nothing should move (Kosslyn's informative-change principle, same source). When a list is really several ideas, it is several slides.
74
+
75
+ ### Working budgets, and the exceptions that are not loopholes
76
+
77
+ The sourced anchors are 19.3 words per slide in the better-performing experimental deck against 33 in typical best-paper decks ([Garner et al. 2011](https://peer.asee.org/assertion-evidence-slides-appear-to-lead-to-better-comprehension-and-recall-of-more-complex-concepts.pdf)), Duarte's 40-word ceiling, and Kosslyn's four bullets of two lines. From these the notes derive working defaults (inference): **a headline of at most two lines, body text limited to labels, about 20 words in total with a hard look at 40, and at most four items visible per build step.** These are tunable defaults from practitioner rules and single studies, not validated limits. They sit comfortably inside Decklight's own SLIDE_DENSITY budgets (a warning past 5 bullets, 2 paragraphs, a 50-word paragraph, 80 words of prose, or shrunk type), which are a renderability floor more than a craft target.
78
+
79
+ Mayer's own boundary conditions define the legitimate exceptions: keep more words on screen for technical terms, symbols, code, numbers, second-language audiences and slides with no graphic. Code is evidence, not prose. Practitioner guidance (no research found, and no source gives a line count) says to cut everything not needed for the point, shorten lines so type stays large, highlight "only the part I actually want to talk about", show an overview and then detail, and annotate on the slide ([Meeting C++, Presenting Code](https://meetingcpp.com/blog/items/presenting-code.html), practitioner, page summary). Treat a snippet like a diagram (inference): one focal region per beat, with narration that explains the highlighted part and never reads code aloud. For data, the chart type must match the message, axes are labelled, and the most important element is the most salient ([Kosslyn et al. 2012](https://pmc.ncbi.nlm.nih.gov/articles/PMC3398435)).
80
+
81
+ ## Narration earns its place by saying what the screen cannot
82
+
83
+ ### Complement the slide: the voice supplies the verb and the "because"
84
+
85
+ The research case against reading the slide is real but conditional, as shown above. What is solid is that the voice should arrive with its visual, should signal structure (pointer words and spoken emphasis were effective in 15 of 16 tests, d = 0.69), and should carry nothing extraneous ([Mayer](https://www.unh.edu/teaching-learning-resource-hub/sites/default/files/media/2023-06/itow-research-based-principles-for-designing-multimedia-instruction-mayer.pdf), research). Practitioners supply the positive job description. NPR's training guide notes that print uses headings and layout for transitions, while "in audio, all we have is sound. So transitions can be explicitly narrated" ([NPR Training](https://www.npr.org/sections/npr-training/2025/05/30/g-s1-65814/the-journey-from-print-to-radio-storytelling-a-guide-for-navigating-a-new-landscape), practitioner). Simon Peyton Jones's advice, seen only through copies of his slides, is that the paper is the beef and the talk is the advertisement, whose aim is "an intuitive feel for your idea" ([copy of "How to give a good research talk"](https://www.cvast.tuwien.ac.at/sites/default/files/research-tips/good-talks.pdf), secondary).
86
+
87
+ Put together (inference): the slide holds the noun, the voice supplies the verb and the "because". The voice adds the transition from the previous slide, the reason, the example, the caveat and the consequence. The researchers' two-channel test is the simplest review device: delete the slide and read the narration, then delete the narration and look at the slide. If either alone tells the whole story they are redundant, and each channel should make the point in its own form. Their constructed example: a slide shows "Cache hit rate: 94%". Reading it gives "Our cache hit rate is ninety-four percent". Complementing it gives "Nineteen requests in twenty never touch the database. That's why the bill went down." No study in the notes tests paraphrase-and-extend narration against slide-reading in an ordinary slide talk. The evidence comes from short narrated animations.
88
+
89
+ Decklight's own demos show both outcomes. In `demo/intro.html` the "Builds" slide has four bullets and four beats that restate them almost word for word ("Each item becomes one step, in document order" against "Each child is a step, in order"), so a viewer who reads faster than the voice gets nothing until the last beat. In `demo/showcase.html` the opening slide prints "It's 2:14am. The cache just fell over. The talk is due Friday." while the voice says "Two in the morning. The cache just fell over, and your boss wants a postmortem talk by Friday. [pause] Let's build it: one folder, one terminal, one agent." The second adds a character, a stake and a promise. The showcase also uses a pattern worth teaching: ask a question, `[click]`, and let the build be the answer ("Now, did the agent stay on brand? [click] Check says no."). These quality judgements are the surveyor's reading of the text. No audio was played.
90
+
91
+ ### Write for the ear: one idea per sentence, subject next to its verb
92
+
93
+ The listener cannot re-read, and every broadcast source converges on the same rules. NPR: "our ears can only handle one fact or idea per sentence", dependent clauses "are toxic", subjects stay "cozy with their verbs", attribution goes first, and "if you wouldn't say it that way, don't write it that way" ([NPR Training](https://www.npr.org/sections/npr-training/2025/05/30/g-s1-65814/the-journey-from-print-to-radio-storytelling-a-guide-for-navigating-a-new-landscape), practitioner). Its worked rewrite turns one 39-word print sentence into four short ones with the same information, and its smaller example is ideal for a skill: "My dad, who spent 40 years teaching physics, is a smart guy" becomes "My dad taught physics for 40 years. He's a smart guy." Short sentences look staccato on the page and sound right aloud. Numbers "can require your listener to do math", so use few, rounded, and expressed as a relationship. Throughline's five rules add short everyday words, contractions, and a ceiling near 20 words for a memorable line ([Throughline Group](https://throughlinegroup.com/?p=2767), practitioner). No source gives an evidence-based sentence-length limit: 20 words is convention, and broadcast teaching ranges from 8 to 20 ([UF IFAS](https://edis.ifas.ufl.edu/publication/wc193), snippet).
94
+
95
+ These yield mechanical checks an agent can run (inference): flag a sentence over about 20 words, a sentence with more than one fact or two numbers, a clause between subject and verb, an uncontracted "do not" or "it is" without emphatic intent, and words nobody says ("utilise", "prior to", "in order to"). Repeating the key noun instead of "it" or "the latter", and restating the point at the end of a slide, follow from the no-rewind constraint, though no source read states the rule in those words.
96
+
97
+ ### Plan the story before the slides: one throughline, a gap opened early
98
+
99
+ The story frameworks differ mainly in vocabulary. Chris Anderson's throughline is a single connecting idea that can be stated "in no more than 15 words" ([Shortform summary of "TED Talks"](https://www.shortform.com/blog/ted-talks-the-official-guide-to-public-speaking/), secondary). Nancy Duarte's form opens with the audience's present reality, opens a gap with "what could be", alternates between the two, and ends on the reward of adopting the idea ([Duarte, HBR](https://hbr.org/2012/10/structure-your-presentation-li), practitioner, introduction only; [SuperSummary of "Resonate"](https://www.supersummary.com/resonate/summary/), secondary). NPR wants stories that "raise a question in listeners' minds at the beginning and promise an answer by the end", and "one question, not many" ([NPR Training](https://www.npr.org/sections/npr-training/2025/05/30/g-s1-65814/the-journey-from-print-to-radio-storytelling-a-guide-for-navigating-a-new-landscape), practitioner). The Heaths' curiosity gap says to open the gap before filling it ([notes on "Made to Stick"](https://www.nateliason.com/notes/made-stick-chip-dan-heath), secondary). Minto's opening for decisions is situation, complication, question, answer, where the situation is a concrete dated fact and only the complication surprises ([Stratrix](https://www.stratrix.com/craft/pyramid-principle), secondary). Zach Holman outlines "the important things first", finds most talks work in three sections, and uses only about half his outline ([speaking.io](https://speaking.io/plan/an-outline/), practitioner). Peyton Jones says to script the first sentences precisely (secondary).
100
+
101
+ The shared structure check (inference) has four parts: the throughline fits in 15 words, the first 30 seconds open a problem, question or surprising fact before any agenda or introduction, every slide's narration connects to the throughline or is cut, and the last slide says what the viewer can now do, decide or believe, in a sentence they could repeat, instead of a recap list and "thank you". Stakes come from Duarte's alternation: where a stretch is all status and fact, add one line of what it makes possible, and the reverse. Coverage here is thin in places: Duarte's and Anderson's books were read only through summaries, Carmine Gallo was not researched, and no verified source on strong endings was found beyond Duarte.
102
+
103
+ ### Viewer empathy is a procedure: answer the question forming in the viewer's head
104
+
105
+ Steven Pinker calls the curse of knowledge "the chief contributor to opaque writing": writers assume the audience shares their jargon and skip "the intermediate steps that seem to them to be too obvious to mention" ([APS Observer on Pinker](https://www.psychologicalscience.org/observer/the-curse-of-knowledge-pinker-describes-a-key-cause-of-bad-writing), practitioner reporting research). Trying harder to imagine the audience does not fully fix it, and the retold tappers-and-listeners study has tappers predicting about 50% recognition against a reported 2.5% ([Farnam Street](https://fs.blog/writing-sucks/), secondary; [notes on "Made to Stick"](https://www.nateliason.com/notes/made-stick-chip-dan-heath), secondary). The fixes are procedural: define jargon, spell out the logic, give an example with every generalisation, and test on an outsider. Mayer's pre-training principle (d = 0.78) supports naming a concept just before the explanation that depends on it.
106
+
107
+ The researchers' per-slide empathy pass is an inference but the most directly usable device in the notes. For each slide, write down what the viewer knows on arrival, the one new thing this slide adds, the question or doubt a sceptical viewer has at this point, and any term used for the first time. Then check that the narration answers the doubt, here or on the next slide, and glosses the term in the same sentence that uses it ("a write-ahead log, which is just a diary the database keeps before it changes anything"). Voicing the doubt aloud ("You might be wondering why we don't just...", "Fair question: doesn't that cost more?") applies the curiosity gap and Pinker's skipped steps, but **no source tests that device by name**. An agent cannot show its draft to an outsider, so the substitute is a separate cold-read pass with the source material hidden: can each sentence be understood using only what earlier narration and the current slide have said?
108
+
109
+ ### Rhythm lives in sentence length, and pauses in sentence boundaries
110
+
111
+ Evidence on rate is decent and on pauses weak. In Rodero's study of Spanish radio clips, listeners rated 150 words per minute slow and 170 to 190 normal, with recall best at 170 to 190 and worst for light content delivered slowly and dense content at 230 ([Journalist's Resource summary of Rodero 2015](https://journalistsresource.org/?p=48675), research via summary, Spanish word counts do not transfer directly). Audiobooks run about 150 to 160 ([Psychology Today](https://psychologytoday.com/au/blog/small-talk-and-big-questions/202307/is-speed-listening-right-for-you), secondary), and e-learning guidance clusters at 100 to 160 with the shortcut "150 words spoken = 1 minute" ([eLearningArt](https://elearningart.com/community/free/narration/), snippet). The edX study of 6.9 million video sessions recommends videos under six minutes and natural enthusiasm ([Guo, Kim and Rubin 2014](https://www.cs.rochester.edu/hci/pubs/pdfs/edX-MOOC-video-production-and-engagement_LAS-2014.pdf), research via secondary), but that measures watch time, not learning, and is no licence to raise a synthetic voice's rate. On pauses, one popular report says both no pauses and pauses over about four seconds hurt memory ([ScienceNordic](https://sciencenordic.com/forskningno-language-society--culture/the-art-behind-the-perfect-pause/1422970)), while a lecture study found pause sounds before critical information did not help recall ([Elmers 2023](https://www.isca-archive.org/ssw_2023/elmers23_ssw.html), research). Narration per slide has no standard: vendor figures range from 15 seconds to 90 seconds.
112
+
113
+ The working budget is therefore a synthesis (inference): plan at about **150 words per minute**, treat 60 to 150 words per slide as normal, and look hard at any single static slide past about 200 words, where more builds or a split is usually right. Density sets pace: do not pad easy slides. Rhythm is a writing decision. NPR's staccato example works because short declaratives are broken by a longer one, so vary sentence length on purpose, put the key point in its own short sentence, and set up a reveal with a question ("So what happened? Nothing."). Three consecutive sentences of the same length sound mechanical in any voice. Techniques that only a live human can perform (a long pause held on eye contact, speeding up for excitement, reading the room) must not be load-bearing in the script.
114
+
115
+ ### Humour: rare, about the material, and still true if nobody laughs
116
+
117
+ A four-decade review finds humour raises attention and interest and can raise credibility, but has little evidence for learning gains, and that overuse, sarcasm and humour at anyone's expense damage credibility. Humour related to the material is "almost always appropriate" and works best to "illustrate a concept just taught" ([Faculty Focus summary of Banas et al. 2011](https://www.facultyfocus.com/articles/effective-teaching-strategies/humor-in-the-classroom-40-years-of-research/), research via summary). A ceiling of about four jokes an hour is attributed to that review but could not be verified. Across cultures, a short story tied to the talk travels, while wordplay, idiom, sarcasm and irony fail first ([Toastmasters Magazine, Oct 2025](https://toastmasters.org/magazine/magazine-issues/2025/october/how-to-be-funny-across-cultures), practitioner).
118
+
119
+ No research was found on humour delivered by synthetic voices, so the following rules are inference. Sarcasm and irony rely on tone to signal "I don't mean this", and a synthetic voice can deliver them straight. Prefer humour whose meaning is literal and whose surprise is in the content: an understated observation ("This took three weeks. Two of them were arguing about the name."), an unexpected plain comparison, a specific and slightly absurd true detail, or a callback to an earlier image. Place it right after a point as a release, at most one light moment every few minutes, and none on a slide carrying a decision, a risk or bad news. The test for each line: if the listener does not find it funny, is it still a true and useful sentence? A script with no jokes is acceptable. A script with a forced one is not.
120
+
121
+ ### The default voice is warm, direct and restrained
122
+
123
+ Conversational wording is among the better-supported effects, with caveats. Mayer's median is d = 1.00, an independent meta-analysis of 3,312 students gives smaller pooled effects (retention d = 0.30, transfer d = 0.54) that vanish in sessions longer than 35 minutes ([Ginns, Martin and Marsh 2013](https://researchers.westernsydney.edu.au/en/publications/designing-instructional-text-in-a-conversational-style-a-meta-ana/), research), and a 2024 study found it needs something else that raises involvement ([Frontiers in Psychology 2024](https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2024.1405308/pdf), snippet). NPR's version is to write to one listener in your own voice, or risk sounding like "a news robot". The typical experimental manipulation is small (third person to "you" and "we", a few direct comments), which makes the edit cheap: replace "users" and "one" and passives with "you" and "we", and "it can be seen that" with "look at" (inference, from memory of the literature and flagged for verification). Chatty filler ("Let's dive in!", "Awesome!") is not what the studies tested and conflicts with coherence. Warmth comes from addressing one person and admitting what is hard ("this part trips everyone up"). Rhetorical questions are the conversational form of the curiosity gap: about one per slide, always answered. Because a synthetic voice loses some social presence (voice principle, d = 0.74), the wording has to do more of that work under text-to-speech, not less (inference).
124
+
125
+ ### What machine-written narration gets wrong
126
+
127
+ No credible published source on failure patterns of machine-written narration was found. The list below is the researchers' inference with constructed rewrites, and it should be validated against real generated scripts before a skill treats it as settled.
128
+
129
+ | Failure | Looks like | Rewrite move |
130
+ |---|---|---|
131
+ | Reads the slide | "There are three key benefits: speed, reliability, and cost." | Pick the one that matters and give its reason |
132
+ | Announces instead of saying | "In this slide, we will look at the architecture." | Start with the content or the question: "So where does a request actually go?" |
133
+ | Lecture register | "It is important to note that latency is a critical factor." | "Slow pages lose people. You've closed a tab for less." |
134
+ | Flat rhythm | Every sentence 18 to 22 words, balanced | Break one into a fragment, isolate the key point |
135
+ | Abstract and hedged | "can potentially offer significant improvements in various scenarios" | One number and one case, hedges removed |
136
+ | No connective tissue | Each slide starts cold | Open with a link: "That's the good news. Here's the catch." |
137
+ | Curse of knowledge by retrieval | Acronyms as if the viewer read the source | Gloss at first use in the same sentence |
138
+ | Overloaded | Every source fact kept | Keep what serves the throughline |
139
+ | Uniform enthusiasm | "powerful", "game-changing" on every slide | Remove adjectives, let one concrete result carry it |
140
+ | Summary-shaped ending | "In conclusion, we covered A, B and C." | One repeatable sentence and one next step |
141
+ | Forced joke | A pun or pop-culture line | Cut, or a dry true observation |
142
+
143
+ ## One script, two performers: write so the words carry the delivery
144
+
145
+ A Decklight script has three possible performers: an ElevenLabs voice that acts on bracketed audio tags, any other engine (including the browser fallback) that never hears them, and a human reading the teleprompter in `decklight narrate --mic` or presenting live. The same text also becomes the captions, the transcript and the video subtitles (PRESENTING_VOICE, PRESENTING_OUTPUT). Decklight's contract already defines the common denominator: markers are "timing, never words", a tag "is never a caption or a subtitle", and "any other engine never hears it" (DECK_ANATOMY). The writing rule that follows is the surveyor's inference but hard to argue with: **a script must read well with every tag removed.**
146
+
147
+ Everything in the ear-writing section serves both performers, because sentence boundaries create pauses for a synthesizer and breaths for a person. What differs is what each can add. A human can hold a pause, lift a question and time a punchline, so a human-read script can tolerate lines that need performance. A synthetic voice cannot be trusted to, so the dual-use script puts the important word at the end of the sentence or in its own short sentence, starts rhetorical questions with a question word, gives a punchline its own sentence after a full stop, and makes sure each line still makes sense delivered flat (inference; the notes found no published guidance on making humour or rhetorical questions survive synthesis). Homographs ("read", "live", "lead") cannot be marked portably, so rephrase until the wrong reading is impossible. Parentheses conventionally mean "do not read this" to a human narrator ([The eLearning Coach](https://theelearningcoach.com/media/audio/audio-recording-scripting-conventions/), practitioner) and carry no reliable prosody for an engine, so asides become their own sentences.
148
+
149
+ Symbols, numbers and identifiers are written the way they are said. Decklight's own demos already do this ("Forty-six themes", "Control-T", "Command Z" in the notes while the slide shows "46" and "⌃T"), the shipped skill says "Notes are said, not read" (`cli/skill-content.mjs`), and ElevenLabs recommends the same expansions, for example "$42.50" to "forty-two dollars and fifty cents" and "Ctrl + Z" to "control z" ([ElevenLabs normalization guide](https://elevenlabs.io/docs/best-practices/prompting/normalization)). This is the natural division of labour with the slide: the exact written form stays on screen and the spoken form goes in the notes. Pronunciation respellings do not belong in the visible script, because they would also change captions and confuse a human reader. Decklight has no pronunciation mechanism today, so the options are rewording or choosing a term the voice says acceptably. Finally, the rehearse aside (`<aside class="rehearse">`, DECK_ANATOMY) is the human presenter's condensed cue-card with the same `[click]` segmentation, so a skill that rewrites notes for a live speaker should keep the two in step.
150
+
151
+ ## Text-to-speech craft follows from how Decklight speaks: one sentence, one clip
152
+
153
+ ### The mechanics that shape the writing
154
+
155
+ The spoken unit is the sentence. Each `[click]` segment is split into sentences, "every sentence is its own TTS call and cache entry", playback chains them, and the deck reveals the next build when a beat's last sentence ends, so that "the voice is the clock" (PRESENTING_VOICE). Decklight inserts its own silences: **0.25 s between sentences, 0.5 s between builds, 1 s before the slide turns**, each overridable per deck (`narration: { sentencePause, beatPause, slidePause }`) or per slide (`data-narration-sentence-pause`, `data-narration-beat-pause`, `data-narration-pause`). A `[pause]` is two beat pauses, 1 s by default, and `[long pause]` is two of those. ElevenLabs v3 and v4 receive the pause as a tag inside the sentence and hold it "in its own breath", while for every other engine Decklight cuts the sentence and joins the pieces with silence (DECK_ANATOMY). Any other bracketed words are audio tags sent as written to ElevenLabs `eleven_v3`, `eleven_v4` and `eleven_v4_turbo` (the default, per `tools/elevenlabs-tts.mjs`) and stripped everywhere else. The deck's tone is a deck-level choice among 17 built-ins, prefixed as one short cue on tag models, and the browser voice has no tone (PRESENTING_BROWSER_VOICE). Speed is a viewer preference, not script markup.
156
+
157
+ So a writer has exactly four rhythm levers (surveyor's inference): the sentence boundary (a quarter-second breath and a fresh clip), `[click]` (half a second and a build), the slide turn (one second), and `[pause]`. There is no authored syntax for emphasis, pronunciation, or per-beat voice, language or speed. Three further consequences are inferences from the code that the skills should state plainly, with their status:
158
+
159
+ The ElevenLabs request is `{ text, model_id }` with optional stability, and it does not use `previous_text` or `next_text`, which ElevenLabs offers precisely to keep prosody natural across separately generated segments ([ElevenLabs API reference](https://elevenlabs.io/docs/api-reference/text-to-speech/convert)). Intonation therefore cannot carry across a sentence boundary, and each sentence should be a complete thought of moderate length. Very short clips are a known weak spot: the code forces the `robust` stability preset for short text, and a design note in `tools/tone-cue.mjs` says a long tag before a four-word sentence is the shape that makes a take stutter. This creates a real tension with broadcast advice that welcomes fragments. The reconciliation (inference): use the short sentence for emphasis, but do not chain several fragments, and do not hang a tag on one.
160
+
161
+ A beat that ends on a comma and resumes after `[click]` is spoken as two clips with half a second between them. The showcase does this on purpose ("Here's the draft," then `[click]` "and here it is on brand"). It is an effect that costs prosodic continuity, so use it only when the gap is wanted.
162
+
163
+ The sentence splitter's pattern cuts at every `.`, `!`, `?` or `…` (`tools/sentences.mjs`). A period inside a sentence therefore splits it into separate clips with a breath in between. **This was confirmed by running the splitter**: "Version 2.5 ships today, e.g. in index.html. Done." comes back as six pieces ("Version 2.", "5 ships today, e.", "g.", "in index.", "html.", "Done."). Until the splitter guards against it, the skill must state the rule as fact: say "three point five", "for example" and "the deck file" in the notes.
164
+
165
+ ### ElevenLabs: plain punctuated prose is the only portable prompt
166
+
167
+ ElevenLabs' current documentation, read on 2026-11-14, splits markup by model generation. SSML `<break>` works only on Multilingual v2 and the Flash v2 models, up to 3 seconds, and too many cause instability. "Eleven v4 and Eleven v3 do not support SSML break tags", and pauses there come from audio tags, ellipses and text structure ([ElevenLabs prompting controls](https://elevenlabs.io/docs/best-practices/prompting/controls); [Prompting Eleven v3](https://elevenlabs.io/docs/best-practices/prompting/eleven-v3)). Decklight's rule "pauses are `[pause]`, never `<break>`" matches this. On v3 and v4, "text structure strongly influences output", ellipses "add pauses and weight", capitalisation "increases emphasis", and tags such as `[whispers]`, `[curious]`, `[sighs]` and `[laughs]` direct delivery, though tag following is "not perfect yet", tags can be misheard as sound effects, and a serious voice may ignore a playful tag ([Prompting Eleven v4](https://elevenlabs.io/docs/best-practices/prompting/eleven-v4)). Ellipses also add "hesitation or nervousness" that may not fit ([playground guide](https://elevenlabs.io/docs/eleven-creative/playground/text-to-speech)). Output is nondeterministic: settings "won't guarantee the same results every time".
168
+
169
+ For a Decklight writer this reduces to a short discipline. Natural sentences and punctuation do most of the work. A tag goes right before the words it directs, suits the voice, and earns its place at one or two per slide, which is what the shipped skill says and what the showcase deck does. Capitals for emphasis are documented for v3 and v4 and are allowed by the `decklight enhance` tagging prompt, but on other engines an all-caps word risks being spelled out (researcher's inference, not sourced), and it would show in captions, so a dual-engine script should get emphasis from word order instead. If a line only works with one particular intonation, rewrite it so the words carry the meaning. Write numbers, currencies, dates, units, URLs, shortcuts and abbreviations as words, since normalization differs by model: the docs say Multilingual v2 reads "$1,000,000" as "one million dollars" and Flash v2.5 as "one thousand thousand dollars" ([normalization guide](https://elevenlabs.io/docs/best-practices/prompting/normalization)). Typos are read as written. Keep one consistent casing for product names. For timing, ElevenLabs' own limits imply about 1,000 characters per minute of audio ([ElevenLabs Models](https://elevenlabs.io/docs/models)), roughly 165 words per minute in English (inference).
170
+
171
+ ### The browser voice: plain text, short sentences, unknown delivery
172
+
173
+ The browser fallback speaks when no bridge answers, with "each sentence of a beat" as one utterance, tags removed, no tone, and a different voice on every machine (PRESENTING_BROWSER_VOICE). SSML is in the Web Speech specification but not honoured in practice, and WebKit has a bug in which markup is spoken literally ([MDN](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisUtterance/text); [WebKit bug 122208](https://bugs.webkit.org/show_bug.cgi?id=122208)). The evidence for that is from 2017 to 2020 plus still-open bugs, with no fresh primary confirmation. Chrome's Google network voices stop an utterance at about **14 to 15 seconds** without firing an end event, a bug still described as open in November 2025 ([Readium Speech](https://readium.org/speech/docs/WebSpeech.html); [Caktus Group](https://www.caktusgroup.com/blog/2025/11/03/the-halting-problem/)). Because Decklight speaks one sentence per utterance and waits for its end, a very long sentence is the exposed case. Fourteen seconds is roughly 30 to 35 words, so a ceiling of about **25 words per sentence** leaves margin (researcher's derivation, not a published guideline), and it coincides with the broadcast convention of 20. How browser voices treat commas, dashes, ellipses, capitals, numbers and acronyms is undocumented and voice-specific, so the script must be robust to the worst plausible voice: no meaning that depends on intonation, symbols and angle brackets kept out of spoken text, numbers as words.
174
+
175
+ ### Timing narration against builds
176
+
177
+ Temporal contiguity is the strongest effect in the literature, and `[click]` is Decklight's implementation of it: "segment k is synthesized as its own clip and narrates build step k (0 = arrival)" (PRESENTING_VOICE). The starter deck teaches the pattern as "one beat before the first point and one per point". More `[click]` segments than builds ride on the last step, fewer advance after a short beat, and `decklight check` warns with `clicks-vs-builds`. The craft rules on top of that mechanism are inference from the timing notes and the demos. Each beat is one complete thought of one to three sentences. Its first words name or point at what just appeared, so the sync feels right even when audio starts a beat late. Beat zero frames the slide before anything builds. A question before `[click]` and the answer as the build is the strongest pattern available. Use `highlight` builds and `data-lines` stepping so the voice can point at one thing at a time. The showcase runs about 10 to 35 words per beat, which is a reasonable target range, while the pitch deck's 100-word opening paragraph on a static slide is the shape to avoid.
178
+
179
+ A planning estimate for a slide (inference, to be replaced by measured audio) is words divided by 2.5 for seconds of speech, plus a quarter second per sentence gap, half a second per `[click]`, one second per `[pause]`, and one second at the slide turn. General guidance is to add 10 to 20% for pauses to a words-per-minute estimate ([PrimeCalcPro](https://www.primecalcpro.com/sv/practical/word-calculators/text-to-speech-time), low authority). The only duration figure Decklight itself reports is the recorder plan card's "about N min". In video export a narrated slide is one still held for its audio plus a 0.4 s tail plus the slide's hold (PRESENTING_OUTPUT). Reserve `[pause]` for "the few moments that earn it", as the shipped skill says: after a number, before a reveal, after a hard idea.
180
+
181
+ ## French is not English translated: write each script from a shared outline
182
+
183
+ Decklight's French support today is structural only. The deck's `<html lang>` steers the voice pickers toward voices in that language, ElevenLabs voices are filtered by language, every rewrite prompt says "Keep the language of the original", and density counting is Unicode-aware. There is no French deck, doc or example in the repository, the built-in tones and the tagging prompt are English, and audio tags stay English words in brackets inside a French script. The first line of any French guidance is therefore to set `lang="fr"`.
184
+
185
+ The table summarises what changes. French example sentences in the notes are the researcher's own illustrations, not quotations.
186
+
187
+ | Dimension | English default | French difference | Evidence |
188
+ |---|---|---|---|
189
+ | Address | "you", "we", "let's" | Plural « vous » for the audience, « on » for the shared "we" and for generic "you", « nous » only for the company. « tu » is a deliberate brand choice, lower risk in Quebec | OQLF general guidance ([OQLF](https://vitrinelinguistique.oqlf.gouv.qc.ca/25140/la-redaction-et-la-communication/protocole-et-activites-publiques/contextes-demploi-du-vouvoiement-et-du-tutoiement), authority). The default ladder is inference: no source rules on talks or courses |
190
+ | Conversational levers | Contractions, short words | No equivalent of contractions. Use « on », « ça », « est-ce que » questions, futur proche, « c'est… qui/que » clefts, present tense and passé composé. Keep the « ne » in a professional script | French broadcast deck for the core rules ([« Ecrire pour l'oreille »](https://openchabab.com/wp-content/uploads/2019/02/Ecrire-pour-l’oreille.pdf), practitioner, modest authority). The three-tier list is the researcher's judgement |
191
+ | Ear-writing | One idea per sentence, about 20 words | Same rules: « sujet/verbe/complément », « une idée par phrase », avoid subordinates, write while murmuring. About 20 words maximum in school radio guides (snippet) | Practitioner |
192
+ | Structure | Hook, promise, first example. Close on a call to action | Keep the hook, then state the question and a short spoken road map. Raise the objection yourself (« Vous allez me dire… »). Close with a one-line synthesis, then the next step | Meyer's principles-first versus applications-first scale ([SuperSummary of The Culture Map](https://www.supersummary.com/the-culture-map/chapter-3-summary), secondary, a framework and not controlled research). Adaptations are inference |
193
+ | Enthusiasm | Tolerated | Superlatives read as salesmanship. State the concrete benefit | Inference, consistent with one opinion source |
194
+ | Humour | Self-deprecation, absurdity | Irony and deadpan « second degré », which a flat synthetic voice delivers literally. Prefer understatement (« Ce n'est pas exactement rapide. ») and shared self-mockery aimed at « on ». Never translate a joke: write a new one in place or drop it | Journalistic sources ([Welcome to the Jungle](https://www.welcometothejungle.com/fr/articles/rire-travail-humour-entreprise), practitioner) and one research lead seen as a snippet. Thin |
195
+ | Technical vocabulary | n/a | Keep the English noun the viewer will see in the tool (pull request, commit). Use French where it is truly in use (bibliothèque, correctif, déployer, mise à jour). Avoid conjugated franglais (« on merge »). Lean more French for Quebec (infonuagique) | [LinuxFr translation wiki](https://linuxfr.org/wiki/traductions-classiques) (community, read), [OQLF](https://vitrinelinguistique.oqlf.gouv.qc.ca/fiche-gdt/fiche/26501384/infonuagique) (authority, snippet). Working rule is inference |
196
+ | Length | Baseline | Running text expands about 15 to 25%. Short strings such as headlines can double. Spoken French runs more syllables per second (7.18 against 6.19) but carries less per syllable, so the same content takes roughly 6 to 9% longer | [e2f](https://e2f.com/news/english-to-french-expansion-factor) (practitioner, snippet), [W3C table](https://www.w3.org/International/articles/article-text-size) (authority, European languages generally), [Pellegrino et al. 2011](https://gwern.net/doc/cs/algorithm/information/2011-pellegrino.pdf) (research, read aloud texts, articulation rate). The 6 to 9% is the researcher's arithmetic |
197
+ | Slide typography | Title case is common | Sentence case titles. Non-breaking space before a colon and inside « ». Before ; ! ? a narrow non-breaking space in France and none in Quebec. Decimal comma, « 20 % », « 12 € » | [OQLF spacing table](https://vitrinelinguistique.oqlf.gouv.qc.ca/22039/la-typographie/espacement/espacement-avant-et-apres-les-signes-de-ponctuation-et-les-symboles) (authority, read), [Debian French typography](https://www.debian.org/international/french/typographie) for France (community, snippet) |
198
+
199
+ Several practical consequences follow, all inference. Budget French narration in seconds from a real render, not in English word counts, and cut content to hold a time slot instead of speeding up. A French headline needs 30 to 50% more room than its English counterpart or, better, is written from the idea (« Premiers pas », not a literal « Pour bien démarrer »). SLIDE_DENSITY's 50-word and 80-word thresholds were set with English in mind, so a French slide reaches them sooner for the same content. A lone « ? » or « : » at the start of a wrapped line is the typical French slide defect, so the skill should emit real non-breaking spaces (U+00A0, and U+202F before ; ! ? for France) and take a locale switch between France and Quebec.
200
+
201
+ For synthesis, ElevenLabs says "the language is determined by the text, the accent and pronunciation is determined by the voice itself", so a French script needs a French-native voice, and bare digits do not tell an engine which language to read them in ([playground guide](https://elevenlabs.io/docs/eleven-creative/playground/text-to-speech)). Write French numbers in letters where the reading matters (« quatre-vingt-dix », « un virgule cinq »), keep every sentence unmistakably French so no clip made of a product name alone is read in the wrong language, limit English terms per sentence, and rephrase around heterophonic homographs (« fils », « plus »), of which a French prosody paper counts 803 ([Bailly et al. 2023](https://www.isca-archive.org/ssw_2023/bailly23_ssw.pdf)). Reviewer reports that English names come out with a forced French accent are anecdotal. Whether French punctuation spacing affects synthesis is unknown and worth a listening test. French abbreviations with periods (« M. », « p. ex. ») are cut by the sentence splitter just as English ones are.
202
+
203
+ Literal translation produces recognisable calques, and two are explicitly discouraged by the OQLF: « faire du sens » for "make sense" (use « c'est logique », « ça se tient ») and « prendre pour acquis » for "take for granted" ([OQLF](https://vitrinelinguistique.oqlf.gouv.qc.ca/23499/les-emprunts-a-langlais/emprunts-syntaxiques/lemprunt-deconseille-faire-du-sens), authority, snippet). The researcher also drafted a table of English presenter phrases with natural spoken French equivalents, of which a sample follows. **Apart from those two OQLF items it is unsourced personal drafting and needs a native editor's review before it goes into a skill.**
204
+
205
+ | English presenter phrase | Literal French to avoid | Natural spoken French (researcher's draft) |
206
+ |---|---|---|
207
+ | Let's dive in. | « Plongeons dedans. » | « Allez, on y va. » / « C'est parti. » |
208
+ | I'm excited to show you… | « Je suis excité de vous montrer… » | « J'ai hâte de vous montrer… » / « Regardez. » |
209
+ | Here's the thing. | « Voici la chose. » | « Le truc, c'est que… » / « Seulement voilà. » |
210
+ | The takeaway is… | « Le à-emporter est… » | « Ce qu'il faut retenir, c'est… » |
211
+ | Out of the box. | « Hors de la boîte. » | « Sans rien configurer. » |
212
+ | You might be wondering… | « Vous pourriez vous demander… » | « Vous vous demandez peut-être… » / « Vous allez me dire… » |
213
+ | Let's take a step back. | « Prenons un pas en arrière. » | « Prenons un peu de recul. » |
214
+
215
+ The workflow recommendation is the strongest conclusion of this section: draft each language from a shared outline of ideas and beats, one idea per slide, and use the other language's script only to check that no beat was dropped. Even a controlled research corpus translated its texts freely "to avoid odd and unnatural sentences" ([Pellegrino et al. 2011](https://gwern.net/doc/cs/algorithm/information/2011-pellegrino.pdf)).
216
+
217
+ ## The same rules hold across deck types: what moves is the answer, the density and the register
218
+
219
+ No source compares slide or narration styles across genres directly, and for business settings everything is practitioner opinion or corporate practice. The table is therefore mostly inference assembled from sources that each address one context, and the skills should present it as defaults.
220
+
221
+ | | Technical talk | Course or lesson | Product demo or pitch | Internal update or decision |
222
+ |---|---|---|---|---|
223
+ | Where the answer sits | After the problem. Aim for intuition, not coverage | After the question. Name, show, use | Viewer's current pain first, alternate "today" and "with this" | First. Then two or three reasons, risks, the ask |
224
+ | Story frame | Problem, idea, one example, where the detail lives | Question, concept, example, recap per segment | Duarte's what is and what could be, ending on the reward and a specific next step | Minto's situation, complication, question, answer, with a concrete dated situation |
225
+ | Slide density | More on-screen text is earned by code, terms and equations | Strictest Mayer: one new concept per slide, terms pre-trained | Largest type, one number or picture per slide | Presented-slide limits. Anything needing 150 words a page belongs in a separate document |
226
+ | Voice | Carries intuition and motivation. Dry | Teaches. "You" throughout, prediction questions before reveals, slower for dense parts | Carries stakes and contrast. Says what a feature lets the viewer do. Honest caveats | Brief and front-loaded. Numbers rounded in speech, exact on the slide |
227
+ | Humour | Sparse and dry | Only to illustrate the concept just taught | Light, never at a competitor's expense | Least |
228
+ | Conversational register | Lighter for expert audiences and long talks | Fullest for beginners and short lessons | Warm, concrete | Plain |
229
+ | Sources | Peyton Jones (secondary), [Meeting C++](https://meetingcpp.com/blog/items/presenting-code.html) | [Mayer](https://www.unh.edu/teaching-learning-resource-hub/sites/default/files/media/2023-06/itow-research-based-principles-for-designing-multimedia-instruction-mayer.pdf) (research), [Guo et al. 2014](https://www.cs.rochester.edu/hci/pubs/pdfs/edX-MOOC-video-production-and-engagement_LAS-2014.pdf) | [Duarte, HBR](https://hbr.org/2012/10/structure-your-presentation-li), Kawasaki's 10/20/30 rule ([summary](https://www.presentations.ai/blog/10-20-30-rule-for-presentations), snippet) | [think-cell on the pyramid principle](https://www.thinkcell.com/en/resources/content-hub/using-the-pyramid-principle-to-build-better-powerpoint-presentations) (practitioner), [Stratrix](https://www.stratrix.com/craft/pyramid-principle) (secondary) |
230
+
231
+ Two honest notes. Product demos have no strong source at all: the advice (show the product doing the thing while the voice says it, one capability per segment, a benefit headline, labels on the interface region under discussion) is an extension of temporal contiguity and coherence. And for decision material the strongest practitioner position is that slides may be the wrong artefact: Amazon's senior meetings start from a narrative memo because slides give "very little information, you get bullet points" ([Anecdote](https://www.anecdote.com/2018/05/amazons-six-page-narrative-structure/), secondary, Bezos quoted second hand). A narrated update deck is a hybrid, so the skill's planning mode should be willing to say "this wants a written document plus a short narrated summary". For lessons, the edX data argues for short units, under six minutes per video.
232
+
233
+ ## Decklight documents the mechanics and leaves the craft unwritten
234
+
235
+ ### What exists today
236
+
237
+ Decklight already provides more than most tools. The notes are the narration script, cut by `[click]` and held by `[pause]` (DECK_ANATOMY). SLIDE_DENSITY states "one idea per slide. If the title needs an 'and', it is two slides", prefers splitting over shrinking, and backs it with counted warnings in `decklight check` (`crowded`) and an overflow guardrail (PRESENTING_FIT). The visual toolbox that replaces words is large: seven build entrances including `draw` and `highlight`, theme-aware SVG diagrams, charts, code line stepping, truthful terminal recordings, split layouts and background media. The shipped authoring skill, generated from `cli/skill-content.mjs`, has about four short paragraphs of writing guidance: density, note segmentation and pauses, ElevenLabs tag prompting, and "Notes are said, not read". The writing tools cover register and consistency: *written for the ear*, *match the slide* ("say the slide's points in sentences, do not read its bullets out word for word"), *rewrite*, *add audio tags* (`cli/enhance.mjs`), and on the slide side *tighten* and *match the script* (PRESENTING_WRITING). Each is checked so that beats and pauses survive.
238
+
239
+ ### The gaps
240
+
241
+ All existing guidance is mechanical or register-level. The only statement on the relationship between slide and voice sits inside a tool prompt, the skill's guidance on what to say is the placeholder "What you'd say on this slide.", and the built-in prompts forbid adding "new claims, examples, jokes or opinions", so the tools can polish a script but cannot improve its substance. Nothing addresses titles (the demos mix topic titles and Title Case with sentence case), openings, transitions, endings or story. Nothing budgets narration: there is no words-per-beat or seconds-per-slide figure and no check relating script length to slide content. `decklight check` is by design "not a style critic", so nothing flags notes that duplicate slide text. Sentence-level synthesis, the missing cross-sentence context, the short-clip weakness and the likely period splitting are implementation facts that authors are never told. There is no pronunciation mechanism, no per-beat tone or speed, and no French example. The `AGENTS.md` path used by other agents carries one density sentence and no narration guidance. The demos themselves contain the faults: hand-shrunk paragraphs in `demo/pitch.html` and `demo/intro.html` that the density check does not see because it looks at the section's own type, full-sentence bullets competing with good narration in the pitch, and bullet-echo narration in the intro. Diagram label text is uncounted, which is the intended escape route and also a loophole.
242
+
243
+ ### What the slide-content skill should contain
244
+
245
+ Packaging first. The repository's pattern keeps the authoring contract in the core skill and task know-how in marketplace skill units installed with `decklight library add skill`, so two separate craft skills beside the core one, with at most a pointer sentence in the core skill and the `AGENTS.md` section, fits best (surveyor's inference). Whether craft belongs in the core skill is a product decision the repository does not record. There is no in-repository example of a marketplace skill unit, so these would be the first. A user-level `course-voiceover` skill exists outside the repository and was not examined for overlap.
246
+
247
+ Both skills should share one planning artefact, so that slide and voice are designed together even when written by different skills: a throughline in 15 words, the viewer and what they already know, the deck type, and per slide the one idea as a sentence, the viewer's question at that point, what the slide shows, what the voice adds, and the beats.
248
+
249
+ For the slide skill, the four modes would hold the following. In **plan** mode: fix the throughline and deck type, write every headline first as a full-sentence assertion, read the headlines in order as the whole story (Knaflic's horizontal logic), choose a visual form for each slide from the replacement table, decide which terms and numbers must be on screen, and plan builds as the beats the voice will ride. In **write** mode: one idea per slide, a headline of at most two lines that could be false, evidence in place of bullets, labels on the parts, about 20 words with a hard look at 40, lists capped at four and built, must-keep numbers and terms shown, terms introduced before they are used, nothing decorative, the Decklight tool for each form, `decklight check` after each batch, and never shrinking type to fit. In **review** mode: watch as the viewer would, including muted, and report against the checklist below with the slide number and the specific fix. In **rewrite** mode: change in place while preserving the idea and the build count where possible, convert a bullet wall by naming the relationship it hides, move sentences into the notes instead of deleting information, split a slide whose title needs an "and", and when builds change, hand the `[click]` consequence to the voiceover skill. The existing *tighten* and *match the script* tools are the mechanical helpers. For French: sentence case, non-breaking spaces by locale, headlines written from the idea.
250
+
251
+ | Slide reviewer check | Basis | Mechanically checkable |
252
+ |---|---|---|
253
+ | 1. One point, sayable in one sentence | Duarte, think-cell (practitioner) | Partly |
254
+ | 2. A first-time viewer gets it in about three seconds | Duarte (practitioner, unvalidated threshold) | No, needs a rendered look |
255
+ | 3. Headline is a full-sentence takeaway in two lines or fewer, not a topic or a question | Garner et al. (research), Knaflic | Yes |
256
+ | 4. Body shows evidence for the headline, not a bullet restatement of the narration | Alley (practitioner) | Partly |
257
+ | 5. No on-screen sentence repeats a narration sentence word for word. On-screen text is shorter and reworded | Yue et al., Mayer (research) | Yes, by overlap with the notes |
258
+ | 6. About 20 words, at most 40. Lists of at most four items, two lines each | Garner, Duarte, Kosslyn | Yes |
259
+ | 7. Nothing could be deleted without losing the point | Mayer coherence d = 0.86, Reynolds | No |
260
+ | 8. The most important element is the most salient, one emphasis at a time | Kosslyn, Knaflic, Mayer signaling | No |
261
+ | 9. Labels sit on the thing they name | Mayer spatial contiguity d = 0.82 | Partly |
262
+ | 10. Each element appears when the voice reaches it. No change without meaning | Mayer temporal contiguity d = 1.31, Kosslyn | Yes, builds against `[click]` |
263
+ | 11. Every term, symbol and acronym was introduced already | Mayer pre-training d = 0.78 | Partly |
264
+ | 12. Numbers, names and exact terms the viewer must keep are on screen | Garner et al. statistics result | Yes, numbers in notes against slide |
265
+ | 13. Chart has a takeaway title, labelled axes, one highlight. Code shows only needed lines, large, one highlighted region | Kosslyn, Meeting C++ | Partly |
266
+ | 14. The most consequential statement is the most prominent text, never a sub-point | Tufte on Columbia | No |
267
+ | 15. Headlines read in order tell the whole story | Knaflic (secondary) | Partly |
268
+ | 16. Decklight: no `crowded` warning, no `data-overflow`, no inline shrunk type anywhere on the slide | SLIDE_DENSITY, PRESENTING_FIT | Yes |
269
+
270
+ Items 1 to 15 are the slide researcher's synthesis. No source publishes this list and it has not been validated as a whole. Item 16 is added here from the Decklight survey.
271
+
272
+ ### What the voiceover skill should contain
273
+
274
+ In **plan** mode: the same shared outline, plus the story frame for the deck type, the opening gap, the per-slide empathy pass (what the viewer knows, the one new thing, the doubt, new terms), where the two or three pauses and the one or two light moments go, and the closing sentence. In **write** mode: beat zero frames the slide, one beat per build, each beat one to three complete sentences that begin by pointing at what appeared, the voice adds reason, link, example and caveat, sentences of one idea and under about 20 words with varied length, "you" and "we", numbers rounded in speech and exact on the slide, symbols and identifiers as said, a first sentence that links from the previous slide, a budget of about 150 words per minute and 10 to 35 words per beat, `[pause]` at the few moments that earn it, one or two tags per slide placed before what they direct, and a script that reads well with every tag removed. In **review** mode: read straight through as the viewer with the slides, then listen without looking, then run the checklist below. In **rewrite** mode: keep every `[click]` and `[pause]` and the beat count, which matches the invariant `decklight enhance` already enforces, keep facts and terms, change register, order and rhythm, and unlike the built-in tools be allowed to add the missing reason, example or transition, flagging anything that is a new claim for the author to confirm. Keep the rehearse aside in step. For French: the address ladder, the oral-but-standard register, a spoken road map after the hook, numbers in letters, and a fresh joke or none.
275
+
276
+ | Narration reviewer check | Basis |
277
+ |---|---|
278
+ | 1. The talk's one idea fits in 15 words and every slide serves it | Anderson (secondary) |
279
+ | 2. The first 30 seconds open a problem, question or gap before any agenda | NPR, Heath (practitioner, secondary) |
280
+ | 3. Each slide's narration says something the slide does not, and repeats no slide sentence word for word | Mayer, Yue (research) |
281
+ | 4. Each beat talks about what is on screen at that moment. `[click]` count matches builds | Mayer temporal contiguity. `clicks-vs-builds` |
282
+ | 5. The first sentence of each slide links from the previous one, in words | NPR signposting |
283
+ | 6. No more than one new concept per slide, one number per sentence, no undefined term | NPR, Mayer pre-training |
284
+ | 7. The sceptical viewer's question at this point is answered now or on the next slide | Pinker, curiosity gap. The device itself is inference |
285
+ | 8. No sentence over about 20 to 25 words, with two ideas, or with a clause between subject and verb. No word nobody says | NPR, Throughline. The Chrome-derived ceiling is inference |
286
+ | 9. No run of three similar sentences. A key point has room after it | NPR. Inference |
287
+ | 10. Every abstraction gets a concrete case within two sentences | Pinker |
288
+ | 11. Addressed to one person as "you" and "we". No filler enthusiasm | Mayer personalization, NPR |
289
+ | 12. Each light line is about the material, literal enough to survive a flat voice, and still useful if not funny | Banas via summary. Inference |
290
+ | 13. No single static slide carries more than about a minute of talk | Synthesis of conflicting practitioner figures |
291
+ | 14. The last slide says what the viewer can now do or decide, in one repeatable sentence | Duarte (secondary). Inference |
292
+ | 15. No line needs a gesture, a look or a tone of voice to work | Inference |
293
+ | 16. Text-to-speech hygiene: numbers, symbols, keys and abbreviations written as said. No periods inside a sentence. No sentence split across a `[click]` unless the gap is wanted. No chains of fragments. No tag hung on a very short sentence. One or two tags per slide. Reads well with tags removed | Decklight implementation, ElevenLabs docs. Period splitting unverified |
294
+
295
+ Items 1 to 15 are the narration researcher's assembly from the sourced principles and have not been tested on real scripts. Item 16 comes from the Decklight survey and the text-to-speech notes.
296
+
297
+ ### Product changes that would make the skills checkable
298
+
299
+ These are the surveyor's suggestions, not requirements of the skills: a lint for notes that duplicate slide text and for over-long beats, a narration duration estimate in `decklight check`, a density check that sees shrunk type on inner elements, passing neighbouring sentences as `previous_text` and `next_text` to ElevenLabs, a pronunciation map that leaves captions untouched, a guard for periods inside sentences in the splitter, and a French example deck. Rewriting the intro deck's "Builds" slide and the pitch deck's four-bullet slide would also give the skills in-repository before and after examples.
300
+
301
+ ## Limits and unverified points
302
+
303
+ The following should stay labelled when the report is distilled into skills.
304
+
305
+ **ElevenLabs v4 is single-sourced.** Everything about Eleven v4 and v4 Turbo comes from ElevenLabs' own pages read on 2026-11-14, through a fetch tool that summarises pages, so quoted strings are close paraphrase. No independent source confirms v4 behaviour, and the changelog was not read. The official docs also contradict themselves in two places: the normalization guide says normalization is on by default for all models while the models page says it is off by default for Flash v2.5, and the playground guide says speed "is available for all voices and all models" while also listing Style and Speed as unavailable in v4. The stability presets Decklight uses (creative, natural, robust) were not mentioned on the pages read. Whether `language_code` is honoured by v3 and v4 is not stated.
306
+
307
+ **Several Decklight implementation claims are untested inferences.** The sentence splitter cutting at periods inside decimals, abbreviations and file names is the exception: it was run and confirmed (see the mechanics section). What happens to inline markup in notes before synthesis was not read (`cleanNotes`). Whether numbers or acronyms are normalised before synthesis was not checked. Demo quality judgements come from reading text, with no audio played, and only the first seven or eight slides of three demos were read. `demo/features.html` with its 38 narrated slides was not read.
308
+
309
+ **Effect sizes depend on the edition and the pooling.** Mayer's redundancy median is 0.10 in the 2021-based summary and 0.86 in older ones, and the reason for the drop is unverified. Modality and personalization are markedly smaller in independent meta-analyses than in Mayer's medians. A few sentences of the Mayer PDF were lost in extraction, including the full modality boundary. The Adesope and Nesbit, Mayer and Johnson, Ginns and Wang papers were seen only as snippets. No study tests these principles on text-to-speech narrated slide decks, and Mayer's experiments use short narrated animations, not slide talks.
310
+
311
+ **Assertion-evidence rests on one group.** Small samples, marginal p-values on several measures, and a treatment confounded with builds and graphics, with no independent replication found.
312
+
313
+ **Most numeric thresholds are defaults, not findings.** Three seconds, 20 and 40 words, four items, 20 or 25 words per sentence, 150 words per minute, 60 to 150 words per slide, 10 to 35 words per beat and one or two tags per slide come from practitioner rules, single studies, derivations or observation of one demo deck. The 25-word ceiling derives from the Chrome cutoff, whose applicability to macOS system voices was not confirmed. No measured words-per-minute figure exists for any ElevenLabs or browser voice. The four-jokes-per-hour figure is unverified.
314
+
315
+ **Books were read through summaries.** Duarte's "Resonate" and "slide:ology", Reynolds, Knaflic, Tufte's essay, Anderson, Minto, Heath and Pinker's book are represented by secondary summaries or short primary pages. Gallo was not researched. BBC guidance was not found. The exact personalization manipulations are from memory of the literature.
316
+
317
+ **Constructed material is not sourced.** Every narration rewrite example, the machine-written failure list, the bullet replacement table, both reviewer checklists, the two-channel test, the per-slide empathy pass and the deck-type table are the researchers' synthesis. Voicing the viewer's doubt has no direct research. Humour under synthetic voices has none either.
318
+
319
+ **French guidance is the thinnest.** No source rules on « tu » or « vous » in talks, courses or demos, and sampling recorded French conference talks was suggested and not done. The only broadcast guide read in full is an unattributed training deck. Meyer's scale is a practitioner framework known through summaries. The oral-register tiers, borrowed-noun genders, the Quebec terms other than « infonuagique », several typographic details (thousands separator, ordinals, time format, accented capitals) and the France-side spacing rule (a community source seen as a snippet) are unverified. **The translation table needs a native editor's review.** French speaking-rate budgets rest on one read-speech corpus and the researcher's arithmetic. How French voices read English terms, and whether punctuation spacing affects synthesis, need listening tests.
320
+
321
+ **Browser SSML evidence is dated**, from 2017 to 2020 plus open bugs, and browser voices' handling of punctuation, capitals and numbers is undocumented.
322
+
323
+ ## Conclusion
324
+
325
+ The research does not support the slogan most slide advice starts from. Text on a narrated slide is not the problem. A second copy of the narration is. What the evidence does support is a division of labour enforced in time, and Decklight is unusually well built for that, because a `[click]` already binds a group of sentences to a build and the voice already drives the clock. The missing piece is not a feature but a brief: an agent that is told what each channel is for, and that plans both from one outline before writing either, will stop producing bullet walls and bullet-echo narration for structural reasons, without needing taste.
326
+
327
+ The more surprising finding is that Decklight's own synthesis design pushes in the same direction as the oldest broadcast advice. Because every sentence is a separate clip with no memory of its neighbours, the only reliable prosody is the kind a writer builds from sentence boundaries, word order and length, which is also what a human reader needs and what survives translation into French. That makes one script for every performer achievable, and it makes the two skills mostly a matter of procedure: a shared outline, four modes with explicit invariants, and two checklists whose items are either mechanically checkable or honestly marked as judgement. The first things to verify before writing them are small and concrete: listen to one French deck on a French voice, and have a native editor go through the French phrase table.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decklight",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "description": "A presentation library designed to be authored by AI agents and humans alike: single-file decks, Keynote-style builds, theme-aware SVG diagrams, and truthful terminal recordings.",
5
5
  "type": "module",
6
6
  "main": "dist/decklight.js",
@@ -14,7 +14,8 @@
14
14
  "themes/",
15
15
  "docs/",
16
16
  "SPEC.md",
17
- "PLATFORM.md"
17
+ "PLATFORM.md",
18
+ "NOTICE"
18
19
  ],
19
20
  "homepage": "https://decklight.io",
20
21
  "repository": {
@@ -43,7 +44,8 @@
43
44
  "verify": "npm run build && node test/verify.mjs",
44
45
  "test:impact": "node tools/test-impact.mjs",
45
46
  "soak": "node test/soak.mjs",
46
- "cross-engine": "node test/cross-engine.mjs"
47
+ "cross-engine": "node test/cross-engine.mjs",
48
+ "e2e:edit": "node test/edit-e2e.mjs"
47
49
  },
48
50
  "engines": {
49
51
  "node": ">=20"
@@ -34,6 +34,9 @@
34
34
 
35
35
  /* ── code ───────────────────────────────── */
36
36
  --code-bg: #e2eef7;
37
+ --callout-ink: #b8462b; /* a code callout's bracket (CODE_AND_MATH): the accent is too faint on the code's ground */
38
+ --figure-ink: #c4543a; /* a figure's value (DECK_ANATOMY): the accent is too faint on the slide for type this size */
39
+ --steps-ink: #c4543a; /* a run's current step (DECK_ANATOMY): the accent is too faint on the slide */
37
40
  --code-fg: #1d3650;
38
41
  --hl-keyword: #0e5e8a;
39
42
  --hl-string: #276b46;
@@ -30,6 +30,8 @@
30
30
  /* ── accent ─────────────────────────────── */
31
31
  --accent: #eb811b;
32
32
  --accent-contrast: #333329;
33
+ --figure-ink: #c4660f; /* a figure's value (DECK_ANATOMY): the accent is too faint on the slide for type this size */
34
+ --steps-ink: #c4660f; /* a run's current step (DECK_ANATOMY): the accent is too faint on the slide */
33
35
 
34
36
  /* ── blocks ─────────────────────────────── */
35
37
  --block-bg: #f2f2eb;
@@ -36,6 +36,9 @@
36
36
 
37
37
  /* ── code ───────────────────────────────── */
38
38
  --code-bg: #242020;
39
+ --callout-ink: #e0485c; /* a code callout's bracket (CODE_AND_MATH): the accent is too faint on the code's ground */
40
+ --figure-ink: #d03a4c; /* a figure's value (DECK_ANATOMY): the accent is too faint on the slide for type this size */
41
+ --steps-ink: #d03a4c; /* a run's current step (DECK_ANATOMY): the accent is too faint on the slide */
39
42
  --code-fg: #eeeeec;
40
43
  --hl-keyword: #fa3f82;
41
44
  --hl-string: #e6db74;
@@ -30,6 +30,8 @@
30
30
 
31
31
  /* ── accent ─────────────────────────────── */
32
32
  --accent: #13daec;
33
+ /* a highlight: the cyan lighter than the default, or the grey text loses its edge on it */
34
+ --mark-tint: 18%;
33
35
  --accent-contrast: #131313;
34
36
 
35
37
  /* ── blocks ─────────────────────────────── */
@@ -27,6 +27,8 @@
27
27
 
28
28
  /* ── accent ─────────────────────────────── */
29
29
  --accent: #268bd2;
30
+ /* a highlight: the blue lighter than the default, or the grey text loses its edge on it */
31
+ --mark-tint: 15%;
30
32
  --accent-contrast: #1c1c17;
31
33
 
32
34
  /* ── blocks ─────────────────────────────── */
@@ -36,6 +36,7 @@
36
36
 
37
37
  /* ── code ───────────────────────────────── */
38
38
  --code-bg: #26251f;
39
+ --callout-ink: #c9a978; /* a code callout's bracket (CODE_AND_MATH): the accent is too faint on the code's ground */
39
40
  --code-fg: #eceae2;
40
41
  --hl-keyword: #fa4989;
41
42
  --hl-string: #e6db74;
@@ -39,6 +39,7 @@
39
39
 
40
40
  /* ── code ───────────────────────────────── */
41
41
  --code-bg: #272822;
42
+ --callout-ink: #5a9ccc; /* a code callout's bracket (CODE_AND_MATH): the accent is too faint on the code's ground */
42
43
  --code-fg: #f8f8f2;
43
44
  --hl-keyword: #fa4e8c;
44
45
  --hl-string: #e6db74;
@@ -27,12 +27,16 @@
27
27
 
28
28
  /* ── accent ─────────────────────────────── */
29
29
  --accent: #268bd2;
30
+ /* a highlight: solarized's yellow, its words in base02, since the body grey has no contrast to spare */
31
+ --mark-bg: #eddeb1;
32
+ --mark-fg: #073642;
30
33
  --accent-contrast: #1c1c17;
31
34
 
32
35
  /* ── blocks ─────────────────────────────── */
33
36
  --block-bg: #ece9e0;
34
37
  --block-border: 1px solid #d3d0c5;
35
38
  --block-radius: 8px;
39
+ --turn-ink: #4c6066; /* a conversation's turn (DECK_ANATOMY): the body grey has no contrast to spare on the block's ground */
36
40
  --shadow: 0 5px 18px rgba(30, 30, 40, 0.12);
37
41
 
38
42
  /* ── code ───────────────────────────────── */
@@ -19,7 +19,7 @@
19
19
  // answers the shipped themes' contrast gates (tools/theme-check.mjs).
20
20
 
21
21
  import { contrast, parseColor, toOklab, fromOklab, rgbToHex } from './color.mjs';
22
- import { validateTheme, NESTED_MIN_DL } from './theme-check.mjs';
22
+ import { validateTheme, NESTED_MIN_DL, settleMark } from './theme-check.mjs';
23
23
 
24
24
  /** The weights a scale may define: 100, 200 … 1000. */
25
25
  export const WEIGHTS = [100, 200, 300, 400, 500, 600, 700, 800, 900, 1000];
@@ -552,6 +552,11 @@ export function expandTheme(read, theme, prefix, { roles = null, contract = null
552
552
  if (!has(t)) { plain[t] = live[t] = v; out.chosen.push(t); }
553
553
  }
554
554
 
555
+ // a highlight readable on the brand's page (PRESENTING_EDITING): a tint of
556
+ // its accent only, never a colour off the palette; when no tint will do,
557
+ // the gate below says so
558
+ const mark = settleMark(Object.fromEntries(Object.entries(plain).map(([k, v]) => [k.replace(/^--/, ''), v])));
559
+ if (mark['mark-tint']) { plain['--mark-tint'] = live['--mark-tint'] = mark['mark-tint']; out.chosen.push('--mark-tint'); }
555
560
  out.tokens = plain;
556
561
  out.gateCss = themeCss(theme.name, plain);
557
562
  // the roles ride on the theme block, so switching theme recolours every role;