diff --git a/README.md b/README.md index 2b55dfb..a8f2c45 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,14 @@ Android is the tested target. iOS project scaffolding and test AdMob configurati - Sixteen cottage notebook leaves: the original dedication, cottage entry, folded note and repair note, plus separate entries, puzzles and illustrated memories for the match, lantern, key and compass, and a closing leaf toward the harbour. - Horizontal swipes across the writing or blank paper, plus corner arrows, turn leaves. Grid and control gestures never turn pages; vertical drags still scroll. Navigation stays fixed; overflow scrolling supports smaller screens and larger text. - Landscape pages rearrange themselves: a puzzle keeps its whole grid in one column, with the heading, area totals, hint and undo beside it, and the leaf navigation folds into a single row. The board stays fully visible without scrolling, even with larger text. -- A saved ribbon bookmark, opened note, inspected repair, viewed pages and current reading place. +- Saved reading position, puzzle marks, opened note, inspected repair and viewed pages. Android Back closes the current book and returns to the main page; previous/next leaf controls and swipes turn pages. - Twelve 7×7 picture puzzles across three chapters, with overlapping-area deductions on entries 3–12. Chapters II and III retain their briefing/puzzle/reveal structure, with swipes between those pages too. Chapter contents shows four entries at a time. Reading ahead keeps unfinished boards and completion awards separate. - Deterministic daily grids and generated Easy, Medium and Hard 5×5 practice. The grades measure deduction-chain depth, not expert-level difficulty. Every board has a unique solution and needs no guessing. - Undo and optional explained hints in every mode. Each hint, including the first, requires a voluntary rewarded ad and its AdMob reward callback. Declining, closing without a reward or unavailable ads leaves the grid unchanged; solving and reading remain available. - Expanded story passages connect the harbour key, crossing, bell signals and reunion with Mara. All added passages are narrated; original takes continue seamlessly into the new sections. - Solved patterns remain available when turning back from discoveries, including after restarting. Discoveries blend the exact pixel symbol into the watercolour, keep a small copy of the symbol visible, and offer a replay. - Local daily streaks, independent difficulty levels and exactly-once puzzle completion awards. -- AdMob/UMP consent, optional rewarded hints, practice interstitials after every fourth completion and one-time campaign chapter transitions. Automatic ads do not interrupt opening notebook leaves or recorded readings; puzzle hints show ads only after confirmation. +- AdMob/UMP consent, optional rewarded hints, practice interstitials after every fourth completion and up to three automatic reading breaks per book (around one-third, two-thirds and the end). Each book remembers its used placements. Automatic ads do not interrupt opening notebook leaves or recorded readings; puzzle hints show ads only after confirmation. Progress starts fresh in Flutter, as requested. Old Java `lumen.xml` saves are **not imported or read**. Flutter keeps its own local preferences through `shared_preferences`; no account or game backend is required. Uninstalling loses local progress, and the daily date follows the device calendar. @@ -119,10 +119,13 @@ Device automation can use the `check` flavor (`com.lumen.daily.check`) to preser ## Story library and languages -The home page now has a story library and a language selector. Mara's original -notebook remains available, and **The paper boat** is a short standard story in -English and German. English and German app controls are bundled separately from -story text; Mara currently falls back to its original English narrative. +The app opens on a bookshelf listing every installed story. Choosing a book +resumes its own place, and Settings for language, sound, reading speed and +privacy are reachable from both the shelf and the book's home page. Mara's +original notebook remains available, and **The paper boat** is a short standard +story in English and German. English and German app controls are bundled +separately from story text; Mara currently falls back to its original English +narrative. New stories are registered in `assets/library.json`; their pages, puzzles and translations live in independent asset packages. Chapter sizes are data-driven, @@ -132,3 +135,17 @@ optional localized narration and right-to-left layout are supported. See [Story packages and translations](docs/STORY_PACKAGES.md) for the schema, example package and validation commands. + + +### Halloween special: The Midnight Invitation + +Available in the story library in English: a complete three-chapter mystery with +38 leaves, twelve original picture puzzles, thirteen original watercolour +illustrations, its own Gothic notebook background, and 26 cast diary recordings +(about 25 minutes). Read postman Elias Ward’s first-person account of a delivery +to a house with twelve missing guests and a thirteenth place waiting for him. Every puzzle is uniquely solvable without guessing; the opening two teach +line totals and the remaining ten require overlapping-area comparisons. + +See the [story guide](assets/stories/midnight-invitation/README.md), +[manuscript](assets/stories/midnight-invitation/STORY.md), and +[artwork prompt set](assets/stories/midnight-invitation/artwork/prompts.json). diff --git a/assets/library.json b/assets/library.json index 6201cf0..3b3ba6f 100644 --- a/assets/library.json +++ b/assets/library.json @@ -39,6 +39,25 @@ "asset": "assets/stories/paper-boat/locales/de.json" } } + }, + { + "id": "midnight-invitation", + "title": "The Midnight Invitation", + "description": "A postman’s Halloween diary: twelve missing guests, a stolen voice, and a letter that must never be delivered.", + "coverAsset": "assets/stories/midnight-invitation/artwork/cover-v1.png", + "defaultLanguage": "en", + "campaignAsset": "assets/stories/midnight-invitation/campaign.json", + "notebookAsset": "assets/stories/midnight-invitation/notebook.json", + "scriptsAsset": "assets/stories/midnight-invitation/narration/scripts.json", + "tracksAsset": "assets/stories/midnight-invitation/audio/narration_manifest.json", + "languages": { + "en": { + "label": "English", + "fontFamily": "MaraHand" + } + }, + "atmosphereAsset": "assets/stories/midnight-invitation/audio/atmosphere.json", + "paperAsset": "assets/stories/midnight-invitation/artwork/diary-page-v1.png" } ] } diff --git a/assets/locales/de.json b/assets/locales/de.json index 94b3074..cb9fc22 100644 --- a/assets/locales/de.json +++ b/assets/locales/de.json @@ -1,4 +1,5 @@ { + "Settings": "Einstellungen", "A SMALL DAILY RITUAL": "EIN KLEINES TÄGLICHES RITUAL", "A careful repair": "Eine sorgsame Reparatur", "A few spare pages for practice. For overlapping-area puzzles, follow the notebook’s story.": "Ein paar freie Seiten zum Üben. Rätsel mit überlappenden Bereichen findest du in der Geschichte.", @@ -32,6 +33,7 @@ "Bookmark": "Lesezeichen", "CLASSIC / {0} / LEVEL {1}": "KLASSISCH / {0} / STUFE {1}", "Classic practice pace": "Tempo beim klassischen Üben", + "Choose a book": "Wähle ein Buch", "Close": "Schließen", "Close book": "Buch schließen", "Close the notebook": "Notizbuch schließen", @@ -90,7 +92,9 @@ "Next puzzle →": "Nächstes Rätsel →", "No ad available. Please try again later.": "Keine Werbung verfügbar. Bitte versuche es später erneut.", "Open Mara’s cloth-bound island notebook": "Maras stoffgebundenes Inselnotizbuch öffnen", + "Open a book to continue where you left off.": "Öffne ein Buch und lies dort weiter, wo du aufgehört hast.", "Open the dedication": "Die Widmung öffnen", + "Open this book ›": "Dieses Buch öffnen ›", "Open {0} · {1} / {2}": "{0} öffnen · {1} / {2}", "Open-source licenses": "Open-Source-Lizenzen", "Opening recording…": "Aufnahme wird geöffnet …", @@ -144,6 +148,7 @@ "This story could not be opened. Please try again.": "Diese Geschichte konnte nicht geöffnet werden. Bitte versuche es erneut.", "This story is shown in its original language.": "Diese Geschichte wird in ihrer Originalsprache angezeigt.", "Today’s puzzle": "Das heutige Rätsel", + "Try again": "Erneut versuchen", "Turn the page →": "Die Seite umblättern →", "Turn to the pattern →": "Zum Muster umblättern →", "Undo a mark": "Markierung rückgängig", diff --git a/assets/locales/en.json b/assets/locales/en.json index 810b6e0..332c568 100644 --- a/assets/locales/en.json +++ b/assets/locales/en.json @@ -1,4 +1,5 @@ { + "Settings": "Settings", "A SMALL DAILY RITUAL": "A SMALL DAILY RITUAL", "A careful repair": "A careful repair", "A few spare pages for practice. For overlapping-area puzzles, follow the notebook’s story.": "A few spare pages for practice. For overlapping-area puzzles, follow the notebook’s story.", @@ -32,6 +33,7 @@ "Bookmark": "Bookmark", "CLASSIC / {0} / LEVEL {1}": "CLASSIC / {0} / LEVEL {1}", "Classic practice pace": "Classic practice pace", + "Choose a book": "Choose a book", "Close": "Close", "Close book": "Close book", "Close the notebook": "Close the notebook", @@ -90,7 +92,9 @@ "Next puzzle →": "Next puzzle →", "No ad available. Please try again later.": "No ad available. Please try again later.", "Open Mara’s cloth-bound island notebook": "Open Mara’s cloth-bound island notebook", + "Open a book to continue where you left off.": "Open a book to continue where you left off.", "Open the dedication": "Open the dedication", + "Open this book ›": "Open this book ›", "Open {0} · {1} / {2}": "Open {0} · {1} / {2}", "Open-source licenses": "Open-source licenses", "Opening recording…": "Opening recording…", @@ -144,6 +148,7 @@ "This story could not be opened. Please try again.": "This story could not be opened. Please try again.", "This story is shown in its original language.": "This story is shown in its original language.", "Today’s puzzle": "Today’s puzzle", + "Try again": "Try again", "Turn the page →": "Turn the page →", "Turn to the pattern →": "Turn to the pattern →", "Undo a mark": "Undo a mark", diff --git a/assets/stories/midnight-invitation/README.md b/assets/stories/midnight-invitation/README.md new file mode 100644 index 0000000..25f1a7e --- /dev/null +++ b/assets/stories/midnight-invitation/README.md @@ -0,0 +1,121 @@ +# The Midnight Invitation + +A complete English Gothic Halloween story, told through postman Elias Ward's +private delivery diary. A letter in his own handwriting leads him to Thorne Hall, +where twelve missing guests wait for someone to accept the thirteenth place. +The suspense comes from borrowed voices, impossible rooms, a false reflection, +and the gradually uncovered delivery instructions. The main mystery resolves; +the diary ends with an unsettling aftermath. No gameplay timer or graphic gore. + +## Content and authoring + +- Three chapters, twelve original 7×7 picture puzzles, 38 leaves. +- 3,718 words of first-person diary prose; 26 cast recordings, about 24.9 minutes. +- Thirteen original watercolour illustrations plus a dedicated Gothic diary-page + background with dark binding, raven feather, cracked wax seal and blank paper. +- Stable page, puzzle and story IDs; the revision preserves all existing puzzle + grids, givens, overlapping regions, artwork associations and save keys. + +`STORY.md` is the editable manuscript. Compile it into `campaign.json`, +`notebook.json` and the exact-text narration scripts with: + +```sh +python3 tool/compile_midnight_diary.py +``` + +The compiler preserves puzzle data. It assigns cast segments and a few editorial +pauses/Foley events. After editing prose, always re-render affected recordings +before building; stale audio fails the package checker. Puzzle instruction leaves +remain unvoiced and instructional. Diaries describe the experience of the puzzle; +they do not provide its solution. + +## Puzzle design and controls + +Every picture has one solution and is solvable without assumptions. The first two +use row/column deductions. The next ten require overlapping-region comparisons, +with four to eight snapshot reasoning rounds and two to four comparison steps. +The final chair has no fixed cells but offers a direct first deduction. + +`puzzle-report.json` contains the spoiler-bearing proof traces. To regenerate the +same silhouettes' clue sets: `dart run tool/author_midnight_puzzles.dart`. + +Area buttons have a filled selected state and check mark. A continuous dark frame +surrounds the selected region's actual cells. The frame ignores pointer input; +cells still cycle light → cross → clear. The redundant undo button is removed +from all puzzle pages; hints remain available. + +## Artwork and notebook + +The catalogue's `paperAsset` binds `artwork/diary-page-v1.png` to this book's +reading, contents and puzzle pages. Other books keep their own paper. No island, +lighthouse or floral decoration appears in this diary background. + +All fourteen images were generated with the built-in OpenAI image-generation +tool. `artwork/prompts.json` contains the original thirteen illustration prompts; +`artwork/diary-page-v1.prompt.txt` records the complete new page prompt. The original +illustrations retain their transparent alpha; the diary background is opaque. +Discovery artwork remains hidden until its own puzzle is solved. + +## Recorded diary and atmosphere + +Speech is synthetic Kokoro ONNX audio, prepared offline, bundled as mono 24 kHz +PCM16 WAV. No runtime synthesis or downloads. The full diary now uses cast reads: + +- Elias: `bm_george`, 0.93, the writer recalling what happened. +- Iris: `bf_emma`, 0.91, the house's guarded caretaker. +- Ada: `bf_isabella`, 0.94, the postmistress. +- Borrowed voices reuse the imitated person's voice at a slightly slower pace, + gently filtered through the door. Their role labels identify the imitation. + +`narration/cast.json` defines roles. `direction` remains editorial metadata, not +an emotion command understood by Kokoro. Exact-text segments preserve quotations, +paragraphs and spoken-role cue timing. Small procedural knocks, chair movement +and paper rustle are placed in pauses, not over words. All original second-person +recordings have been replaced with the matching first-person performances. + +`audio/atmosphere.json` maps scenes across the nocturnal story: wind at the gates, +stove/embers in the kitchen, low air/timber movement in the hall and tower. The +ending is quiet. There are no clock ticks before the stopped clock is restarted. +Separate background loops duck under speech and obey Sound & atmosphere controls. +The effects inside a reading follow that recording's play/pause/speed controls. + +Model licences are under `assets/narration/licenses/`. Checksums, durations, +per-segment voices and cues are recorded in `narration/manifest.json`. WAV masters +and lossless FLAC archives are excluded from the APK. Atmosphere provenance is +in `audio/atmosphere_provenance.json`. + +```sh +python scripts/render_narration.py \ + --model /path/to/kokoro-v1.0.onnx \ + --voices /path/to/voices-v1.0.bin \ + --story-root assets/stories/midnight-invitation +python scripts/render_drama_atmosphere.py +python3 scripts/render_drama_previews.py +``` + +Use the pinned narration Python environment for rendering. Repeatable +`--page ` arguments regenerate selected readings while preserving others. +The preview exporter writes the current door and kitchen readings with background +audio to `artifacts/audio-pilot/`; these local review files are not app assets. + +## Validation + +```sh +flutter analyze --no-pub +flutter test --no-pub +python3 scripts/check_story_package.py assets/stories/midnight-invitation +``` + +The package checker verifies exact text/script/cue agreement, cast, PCM format, +checksums, peak levels, effect placement, lossless archive agreement and seamless +background loops. Tests also cover puzzle uniqueness, progress, read-ahead, +translations, all leaves at 1.5× text in both orientations, theme switching and +region-frame alignment with cell hit testing. `integration_test/diary_test.dart` +combines the complete story playthrough and native cast playback checks. + +The full revised diary passed 72 Flutter tests, asset verification, and the +Huawei API 26 playthrough (all twelve puzzles, all 26 native recordings, +bookmarks, read-ahead and cast controls). A separate +`integration_test/region_test.dart` captures marked cells inside the selected +block in both orientations, so visual review checks contrast as well as geometry. +Local screenshots are under `artifacts/flutter-check/halloween-*.png`. diff --git a/assets/stories/midnight-invitation/STORY.md b/assets/stories/midnight-invitation/STORY.md new file mode 100644 index 0000000..1ada3da --- /dev/null +++ b/assets/stories/midnight-invitation/STORY.md @@ -0,0 +1,411 @@ +# The Midnight Invitation + +*From the private delivery diary of Elias Ward, postman at Blackthorn.* + +## midnight.opening | 31 October · The letter I did not write + +I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell. + +My first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight. + +The handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before. + +Ada caught my wrist. “If anyone calls from behind you on that road, keep walking. And do not give the house your name.” + +I asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering. + +Outside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark. + +## midnight.pumpkin.entry | The face that watched the road + +The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years. + +I passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February. + +I kept walking. + +Thorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell. + +I lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored. + +Behind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares. + +## midnight.pumpkin.memory | Do not answer + +The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once. + +Under the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU. + +I pulled my collar over the empty place where my badge had been. + +Twelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound. + +The raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot. + +From somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice. + +## midnight.feather.entry | Twelve names and an empty line + +The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago. + +I recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning. + +Below the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E. + +I rubbed it away with my sleeve. The mark came back. + +The raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder. + +I set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting. + +## midnight.feather.memory | The woman behind the door + +The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house. + +At the door I knocked twice. A chair scraped over the floor on the other side. + +“The hall is closed. Go back before it learns your face.” + +The woman sounded close to the wood. I said, “I have a letter for the thirteenth place.” + +Silence. Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them. + +“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.” + +The letter flap lifted. Through the slit I saw an eye at the height of my knee. + +I stepped back. The flap fell shut, and the woman whispered, “Hurry.” + +## midnight.key.entry | Something in the stone owl + +The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen. + +I brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice. + +“Is that you, Elias?” + +It was Ada's voice. For one foolish instant I began to answer. + +The real woman struck the inside of the door with something heavy. “That was not me.” + +I pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest. + +I worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand. + +## midnight.key.memory | The chair that turned + +The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it. + +The woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped. + +She was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath. + +“Good. Ada remembered.” + +Twelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost. + +Through the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall. + +While I watched, it turned towards me. There was nothing beneath it to move it. + +## midnight.mask.entry | A borrowed face + +Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age. + +“Mother made these for the supper. It cannot borrow a face it has not properly seen.” + +I asked what she meant by it. + +The ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head. + +Iris pushed the box towards me. “The pattern holds the disguise together. Finish it before looking in the mirror.” + +I wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box. + +I closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon. + +## midnight.mask.memory | The wrong reflection + +I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin. + +In the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes. + +Between those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head. + +I looked away. + +“Lydia was my mother,” Iris said. “She stopped the clock before it could finish the supper. She is still holding that minute open.” + +I asked how long Iris had been alone here. + +She studied the scar on her wrist. “I can remember the years. I cannot seem to grow older in them.” + +From the dining room came the careful scrape of a chair being pulled out for a guest. + +## midnight.candle.entry | The kitchen with two shadows + +The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them. + +“I made them that evening,” she said. “I keep forgetting they will not cool.” + +Beside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door. + +I spread the paper beneath the lamp. The candle diagram had folded through the flour measurements; its broken squares were still just visible. + +Wet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it. + +Iris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips. + +## midnight.candle.memory | The extra shadow + +The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there. + +Iris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth. + +“It follows warmth,” she said. “And voices. It remembers everyone who answers.” + +Between the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch. + +Beyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada. + +I held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light. + +## midnight.moth.entry | The stair that counted me + +I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table. + +In the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty. + +There was no photograph of them leaving. + +The moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands. + +Behind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven. + +Iris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order. + +## midnight.moth.memory | What Lydia had stopped + +The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names. + +Iris read over my shoulder. “Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.” + +Lydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns. + +The next name it wanted was mine. + +At the foot of the stairs, someone cleared his throat. It sounded exactly like me. + +The moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong. + +## midnight.bell.entry | A bell without a voice + +The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it. + +Lydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it. + +Iris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound. + +“Ada is taller than that,” Iris said. + +I looked again. The coat reached the ground, but the face was scarcely above the sill. + +Whatever wore it smiled. There was someone else's face inside the smile. + +I bent over the bell's pattern. The thing at the window began tapping in time with each square I touched. + +## midnight.bell.memory | A name recovered + +The clapper fell free. I sounded the bell once. + +The face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone. + +From the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me. + +Iris gripped the edge of the table. “We can get them out.” + +I found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke. + +I reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two. + +Across the missing line ran a row of small, wet marks. They were the shape of teeth. + +## midnight.needle.entry | The seam in the invitation + +I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing. + +Iris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands. + +“Mother repaired everything,” she said. “Even things the house wanted broken.” + +The cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid. + +I put it down. The correct shape was waiting in the grid. + +Behind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear. + +## midnight.needle.memory | Written by my hand + +The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink. + +At once the paper went still. + +The writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them. + +Iris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie. + +“There is a mirror in the parlour,” she said. “Keep the mask on.” + +On the other side of the kitchen door, my humming stopped. + +A man's voice said, quite reasonably, “I am only trying to finish my delivery.” + +I knew how frightened I must sound. That was what frightened me most. + +## midnight.mirror.entry | The man in the glass + +The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest. + +My reflection was already looking at me. + +I had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar. + +The wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass. + +Iris placed the candle on the shelf. “Finish the border. Do not listen to him.” + +The man in the mirror took off his cat mask. I kept mine on. + +I worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me. + +## midnight.mirror.memory | Return to sender + +The last piece fitted. My reflection stopped moving. + +In the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand. + +There was no mistake in the delivery. I was the thing being delivered. + +Below it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied. + +Iris looked at me. “Mother kept a way back. All these years.” + +The man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock. + +I wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust. + +For the first time that night, the house made a sound like pain. + +## midnight.gate.entry | The orchard that led nowhere + +The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved. + +Between us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm. + +Through the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle. + +“Eyes on the iron,” she said. + +I wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air. + +Behind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake. + +## midnight.gate.memory | The way out + +The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog. + +I took a step towards that sound. + +A sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers. + +Leaving now would leave them here. Iris too. + +I put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock. + +The house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat. + +None of them had a face. All of them lifted one arm to show me the way upstairs. + +## midnight.moon.entry | The minute that would not end + +The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares. + +Lydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve. + +I heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder. + +I held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact. + +For seventeen years, Lydia had held this minute. I could not ask her to hold it forever. + +I put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal. + +## midnight.moon.memory | Before the first stroke + +The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound. + +It did not strike. + +A final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set. + +I followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window. + +The thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares. + +On the wall, my shadow sat down before I did. + +I stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again. + +## midnight.chair.entry | The place I would not take + +I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie. + +Under the table, something shifted its weight. + +Iris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names. + +I knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut. + +From under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself. + +I counted the cushion's squares aloud, softly, so that I would not answer. + +## midnight.chair.memory | The delivery + +The chair opened. I stepped away from it. + +At the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard. + +With each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper. + +At Lydia's name, Iris's voice broke. I rang the bell again. She finished it. + +The twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate. + +The mouth closed. + +Lydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate. + +Iris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping. + +## midnight.ending | 1 November · A note for the next round + +We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth. + +She had last seen her seventeen years ago. + +Iris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line. + +I walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone. + +I have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round. + +There is only one thing I have not told Ada. + +When I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT. + +I have locked it in the desk. + +A few minutes ago, the drawer knocked twice. + +The end. diff --git a/assets/stories/midnight-invitation/artwork/bell-v1.png b/assets/stories/midnight-invitation/artwork/bell-v1.png new file mode 100644 index 0000000..3bf50c0 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/bell-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/candle-v1.png b/assets/stories/midnight-invitation/artwork/candle-v1.png new file mode 100644 index 0000000..38dd2a4 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/candle-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/chair-v1.png b/assets/stories/midnight-invitation/artwork/chair-v1.png new file mode 100644 index 0000000..c60126f Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/chair-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/cover-v1.png b/assets/stories/midnight-invitation/artwork/cover-v1.png new file mode 100644 index 0000000..7690f47 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/cover-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/diary-page-v1.png b/assets/stories/midnight-invitation/artwork/diary-page-v1.png new file mode 100644 index 0000000..33d918b Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/diary-page-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/diary-page-v1.prompt.txt b/assets/stories/midnight-invitation/artwork/diary-page-v1.prompt.txt new file mode 100644 index 0000000..64a509b --- /dev/null +++ b/assets/stories/midnight-invitation/artwork/diary-page-v1.prompt.txt @@ -0,0 +1,3 @@ +Generated with the built-in image_gen tool, opaque output, no reference image. + +Use case: illustration-story. Asset type: production background for a portrait reading-page UI in an English gothic Halloween postman's diary, 1024x1536 portrait. Create a flat front-on single right-hand notebook page filling the entire frame, with a very narrow worn oxblood/black leather binding along left edge and thin charcoal-plum leather edges. Antique warm ivory paper, subtle graphite and watercolor details confined to extreme margins. Huge clean bright blank writing area covering x=8%-91%, y=10%-92%, barely textured, no lines, no text, absolutely no lettering. A tiny dark raven feather tucked beneath a cracked crimson wax seal ONLY in top right margin above y=9%; faint dry blackthorn silhouettes only along far right outermost 4%; subtly charred outer paper corners; stitched binding on left. Moody restrained Gothic Halloween, eerie adult ghost-story aesthetic, candle-warmed paper against dark leather, not cute. Page nearly rectangular with gently worn edges. No ocean, no island, no lighthouse, no flowers, no pumpkins in writing area, no skulls, no gore, no watermark, no photographic props or perspective, no hands. The center is empty usable light paper. No illustration may overlap the usable writing rectangle. Full opaque image, not transparent. diff --git a/assets/stories/midnight-invitation/artwork/feather-v1.png b/assets/stories/midnight-invitation/artwork/feather-v1.png new file mode 100644 index 0000000..b8e36f2 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/feather-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/gate-v1.png b/assets/stories/midnight-invitation/artwork/gate-v1.png new file mode 100644 index 0000000..18bd44f Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/gate-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/key-v1.png b/assets/stories/midnight-invitation/artwork/key-v1.png new file mode 100644 index 0000000..1f5493a Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/key-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/mask-v1.png b/assets/stories/midnight-invitation/artwork/mask-v1.png new file mode 100644 index 0000000..b47e09f Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/mask-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/mirror-v1.png b/assets/stories/midnight-invitation/artwork/mirror-v1.png new file mode 100644 index 0000000..11ab0e5 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/mirror-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/moon-v1.png b/assets/stories/midnight-invitation/artwork/moon-v1.png new file mode 100644 index 0000000..972f796 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/moon-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/moth-v1.png b/assets/stories/midnight-invitation/artwork/moth-v1.png new file mode 100644 index 0000000..4448fd3 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/moth-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/needle-v1.png b/assets/stories/midnight-invitation/artwork/needle-v1.png new file mode 100644 index 0000000..b0571c6 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/needle-v1.png differ diff --git a/assets/stories/midnight-invitation/artwork/prompts.json b/assets/stories/midnight-invitation/artwork/prompts.json new file mode 100644 index 0000000..ac51c36 --- /dev/null +++ b/assets/stories/midnight-invitation/artwork/prompts.json @@ -0,0 +1,70 @@ +{ + "method": "Built-in image_gen tool; original illustrations generated for this story.", + "assets": [ + { + "id": "cover", + "file": "cover-v1.png", + "prompt": "Use case: illustration-story. Asset type: illustrated cover vignette for Lumen's original Halloween story 'The Midnight Invitation'. Create an original hand-painted watercolour and fine graphite illustration, gently eerie and inviting, mature picture-book quality. A crooked Victorian village hall with a small clock tower showing just before midnight stands beyond an open wrought-iron garden gate, under a thin crescent moon and bare blackthorn branches. Warm amber light in a few windows, two carved pumpkin lanterns along the curving path, a raven perched on the gatepost, and a single cream envelope sealed in dark red wax resting prominently on the front gate. No people. Muted midnight indigo, dusty plum, autumn russet, moss green and candle gold. Beautiful believable architecture, granulating pigment and delicate pencil details. Landscape composition with the entire little scene centered and generous clear space around all edges. The edges of the painted scene dissolve softly into fully transparent alpha so it can sit naturally on cream notebook paper. No text, no lettering, no title, no borders, no watermark, no photorealism, no plastic 3D, no neon, no gore or horror faces." + }, + { + "id": "pumpkin", + "file": "pumpkin-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: a single squat orange jack-o-lantern with a charming crooked carved smile, two small triangular eyes, a short bent green stem and a warm candle glowing inside. Its expression is friendly and homemade. A tiny autumn leaf rests by its base. Style: original hand-painted watercolour with fine graphite outlines, realistic tactile materials, mature illustrated-storybook quality, restrained granulation, delicate pencil detail. Colour world: muted midnight indigo, dusty plum, autumn russet, moss green and warm candle gold. Center the complete object, generously padded on every side. The object must be clearly readable at a small mobile-app size. Minimal soft contact shadow; genuinely transparent background with delicate alpha watercolor edges. No surrounding scene, no page, no lettering or text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore, no cartoon face unless the pumpkin's carved face is specified." + }, + { + "id": "feather", + "file": "feather-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: a single elegant black raven feather lying diagonally, its fine central shaft glinting pale silver, the vane detailed in indigo-black with delicate individual barbs. A tiny trace of silver ink glows at its pointed tip. This is a precious found object, neither a quill in a bottle nor a bird. Style: original hand-painted watercolour with fine graphite outlines, realistic tactile materials, mature illustrated-storybook quality, restrained granulation, delicate pencil detail. Colour world: muted midnight indigo, dusty plum, autumn russet, moss green and warm candle gold. Center the complete object, generously padded on every side. The object must be clearly readable at a small mobile-app size. Minimal soft contact shadow; genuinely transparent background with delicate alpha watercolor edges. No surrounding scene, no page, no lettering or text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore, no cartoon face unless the pumpkin's carved face is specified." + }, + { + "id": "key", + "file": "key-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: one old brass door key with a crescent-moon bow, a slender shaft and three practical little teeth. Rich worn golden brass, tiny scratches and age patina, a piece of dark red thread tied through the crescent. The whole key lies at a gentle diagonal. Style: original hand-painted watercolour with fine graphite outlines, realistic tactile materials, mature illustrated-storybook quality, restrained granulation, delicate pencil detail. Colour world: muted midnight indigo, dusty plum, autumn russet, moss green and warm candle gold. Center the complete object, generously padded on every side. The object must be clearly readable at a small mobile-app size. Minimal soft contact shadow; genuinely transparent background with delicate alpha watercolor edges. No surrounding scene, no page, no lettering or text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore, no cartoon face unless the pumpkin's carved face is specified." + }, + { + "id": "mask", + "file": "mask-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: one handmade black-cat masquerade mask, just the eye-mask with two pointed ears and subtle curved cheeks, with empty eye openings and a repaired dusty-plum ribbon curling beside it. Worn black velvet, a little delicate gold stitching at one corner. It is an object lying on a table, not a cat or a person. Style: original hand-painted watercolour with fine graphite outlines, believable tactile materials, mature illustrated-storybook quality, restrained granulating pigment and delicate pencil detail. Colour world: muted midnight indigo, dusty plum, autumn russet, moss green and warm candle gold. Center the complete object with generous transparent space on every side. It must be readable at a small mobile-app size. Minimal soft contact shadow; genuinely transparent background and delicate watercolor alpha edges. No scene, no paper backdrop, no text or watermark, no border, no hands, no people, no 3D render, no neon, no gore." + }, + { + "id": "candle", + "file": "candle-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: a single short beeswax candle in a modest tarnished brass holder with a finger loop. Its small steady golden flame lights ridges of honey-yellow wax and a loose loop of green cotton at the base. Intimate, tactile, gently magical. Keep the whole holder and flame visible. Style: original hand-painted watercolour with fine graphite outlines, believable tactile materials, mature illustrated-storybook quality, restrained granulating pigment and delicate pencil detail. Colour world: muted midnight indigo, dusty plum, autumn russet, moss green and warm candle gold. Center the complete object with generous transparent space on every side. It must be readable at a small mobile-app size. Minimal soft contact shadow; genuinely transparent background and delicate watercolor alpha edges. No scene, no paper backdrop, no text or watermark, no border, no hands, no people, no 3D render, no neon, no gore." + }, + { + "id": "moth", + "file": "moth-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: a single delicate handmade paper moth with its wings spread, folded from aged cream paper with faint clock-face drawings and a tiny crescent motif in graphite. The wings are symmetrical, creased and lightly dusted with silver. A magical paper craft moth, not a photorealistic insect. No readable letters or numbers. Style: original hand-painted watercolour with fine graphite outlines, believable tactile materials, mature illustrated-storybook quality, restrained granulating pigment and delicate pencil detail. Colour world: muted midnight indigo, dusty plum, autumn russet, moss green and warm candle gold. Center the complete object with generous transparent space on every side. It must be readable at a small mobile-app size. Minimal soft contact shadow; genuinely transparent background and delicate watercolor alpha edges. No scene, no paper backdrop, no text or watermark, no border, no hands, no people, no 3D render, no neon, no gore." + }, + { + "id": "bell", + "file": "bell-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: one small old silver supper handbell, a rounded flaring bell with a short turned dark wooden handle. Twelve tiny crescent-moon marks are engraved around the silver rim. Visible tarnish and polished edges, beautiful understated antique craftsmanship. The bell is upright and complete. Style: original hand-painted watercolour and fine graphite, mature illustrated-storybook quality, realistic tactile antique materials, restrained granulation and delicate pencil detail. Palette muted midnight indigo, dusty plum, russet, moss green and warm candle gold. Center the entire object with generous transparent margin on all sides; readable at a small mobile-app size. A soft contact shadow only, genuinely transparent alpha background and delicate watercolor edges. No surrounding room, no paper backdrop, no text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore." + }, + { + "id": "needle", + "file": "needle-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: one long elegant silver sewing needle threaded with dark red cotton. The red thread makes one graceful loose loop beside the needle and passes through two tiny pieces of torn cream invitation paper that have been visibly mended with careful red stitches. The needle and stitched seam are the clear focus. The paper has no visible writing. Style: original hand-painted watercolour and fine graphite, mature illustrated-storybook quality, realistic tactile antique materials, restrained granulation and delicate pencil detail. Palette muted midnight indigo, dusty plum, russet, moss green and warm candle gold. Center the entire object with generous transparent margin on all sides; readable at a small mobile-app size. A soft contact shadow only, genuinely transparent alpha background and delicate watercolor edges. No surrounding room, no paper backdrop, no text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore." + }, + { + "id": "mirror", + "file": "mirror-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: one antique oval tabletop looking-glass with a carved dark walnut frame and a small wooden pedestal foot. A few tiny crescent decorations carved into the frame, softly cloudy silver glass reflecting only warm candlelight, with an understated plum ribbon at its base. No reflection of any person, no faces, no scene inside the glass. Style: original hand-painted watercolour and fine graphite, mature illustrated-storybook quality, realistic tactile antique materials, restrained granulation and delicate pencil detail. Palette muted midnight indigo, dusty plum, russet, moss green and warm candle gold. Center the entire object with generous transparent margin on all sides; readable at a small mobile-app size. A soft contact shadow only, genuinely transparent alpha background and delicate watercolor edges. No surrounding room, no paper backdrop, no text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore." + }, + { + "id": "gate", + "file": "gate-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: a single small old wrought-iron orchard gate shown almost straight on, with a gently arched top, thin vertical bars, a crescent detail near its latch and just a few clipped blackthorn twigs at the hinge. Its two short mossy stone supports are visible. The gate is open a little towards the viewer, suggesting a welcome. No house or landscape behind it. Style: original hand-painted watercolour with fine graphite, realistic antique materials, mature illustrated-storybook quality, restrained granulating pigment and delicate pencil detail. Palette muted midnight indigo, dusty plum, russet, moss green and warm candle gold. Center the entire object with generous transparent space on every edge. It should remain readable at a small mobile-app size. Minimal soft contact shadow, genuinely transparent alpha background with delicate watercolor edges. No surrounding room or landscape, no paper backdrop, no text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore." + }, + { + "id": "moon", + "file": "moon-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: a single small antique brass crescent-moon piece from a mechanical clock, shown face-on at a gentle angle. Warm aged gold, a few fine hand-painted midnight-blue stars on the crescent, one tiny practical pivot hole near its lower tip. The slim inner curve should make a clear crescent silhouette. No clock face, no digits, no writing. Style: original hand-painted watercolour with fine graphite, realistic antique materials, mature illustrated-storybook quality, restrained granulating pigment and delicate pencil detail. Palette muted midnight indigo, dusty plum, russet, moss green and warm candle gold. Center the entire object with generous transparent space on every edge. It should remain readable at a small mobile-app size. Minimal soft contact shadow, genuinely transparent alpha background with delicate watercolor edges. No surrounding room or landscape, no paper backdrop, no text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore." + }, + { + "id": "chair", + "file": "chair-v1.png", + "prompt": "Use case: illustration-story. Asset type: standalone discovered-object vignette for Lumen's original cozy Halloween mystery The Midnight Invitation. Subject: one old folding wooden supper chair, three-quarter view, with a simple rectangular slatted back and a deep burgundy-red cushion embroidered with a very small gold crescent motif. Worn warm walnut, honest little scratches, carefully repaired joints. The chair is fully open and empty, a welcoming place to sit. Keep all four legs, the complete back and the cushion fully visible. No table or people. Style: original hand-painted watercolour with fine graphite, realistic antique materials, mature illustrated-storybook quality, restrained granulating pigment and delicate pencil detail. Palette muted midnight indigo, dusty plum, russet, moss green and warm candle gold. Center the entire object with generous transparent space on every edge. It should remain readable at a small mobile-app size. Minimal soft contact shadow, genuinely transparent alpha background with delicate watercolor edges. No surrounding room or landscape, no paper backdrop, no text, no watermark, no border, no hands, no people, no 3D render, no neon, no gore." + } + ] +} diff --git a/assets/stories/midnight-invitation/artwork/pumpkin-v1.png b/assets/stories/midnight-invitation/artwork/pumpkin-v1.png new file mode 100644 index 0000000..f8fe667 Binary files /dev/null and b/assets/stories/midnight-invitation/artwork/pumpkin-v1.png differ diff --git a/assets/stories/midnight-invitation/audio/ambience_hall.wav b/assets/stories/midnight-invitation/audio/ambience_hall.wav new file mode 100644 index 0000000..d267ef6 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/ambience_hall.wav differ diff --git a/assets/stories/midnight-invitation/audio/ambience_kitchen.wav b/assets/stories/midnight-invitation/audio/ambience_kitchen.wav new file mode 100644 index 0000000..48b9e73 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/ambience_kitchen.wav differ diff --git a/assets/stories/midnight-invitation/audio/ambience_threshold.wav b/assets/stories/midnight-invitation/audio/ambience_threshold.wav new file mode 100644 index 0000000..07f9918 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/ambience_threshold.wav differ diff --git a/assets/stories/midnight-invitation/audio/atmosphere.json b/assets/stories/midnight-invitation/audio/atmosphere.json new file mode 100644 index 0000000..71f7792 --- /dev/null +++ b/assets/stories/midnight-invitation/audio/atmosphere.json @@ -0,0 +1,52 @@ +{ + "scenes": { + "threshold": { + "asset": "assets/stories/midnight-invitation/audio/ambience_threshold.wav" + }, + "kitchen": { + "asset": "assets/stories/midnight-invitation/audio/ambience_kitchen.wav" + }, + "hall": { + "asset": "assets/stories/midnight-invitation/audio/ambience_hall.wav" + } + }, + "pages": { + "midnight.opening": "threshold", + "midnight.pumpkin.entry": "threshold", + "midnight.pumpkin.puzzle": "threshold", + "midnight.pumpkin.memory": "threshold", + "midnight.feather.entry": "threshold", + "midnight.feather.puzzle": "threshold", + "midnight.feather.memory": "threshold", + "midnight.key.entry": "hall", + "midnight.key.puzzle": "hall", + "midnight.key.memory": "hall", + "midnight.mask.entry": "hall", + "midnight.mask.puzzle": "hall", + "midnight.mask.memory": "hall", + "midnight.candle.entry": "kitchen", + "midnight.candle.puzzle": "kitchen", + "midnight.candle.memory": "kitchen", + "midnight.moth.entry": "hall", + "midnight.moth.puzzle": "hall", + "midnight.moth.memory": "hall", + "midnight.bell.entry": "kitchen", + "midnight.bell.puzzle": "kitchen", + "midnight.bell.memory": "kitchen", + "midnight.needle.entry": "kitchen", + "midnight.needle.puzzle": "kitchen", + "midnight.needle.memory": "kitchen", + "midnight.mirror.entry": "hall", + "midnight.mirror.puzzle": "hall", + "midnight.mirror.memory": "hall", + "midnight.gate.entry": "threshold", + "midnight.gate.puzzle": "threshold", + "midnight.gate.memory": "threshold", + "midnight.moon.entry": "hall", + "midnight.moon.puzzle": "hall", + "midnight.moon.memory": "hall", + "midnight.chair.entry": "hall", + "midnight.chair.puzzle": "hall", + "midnight.chair.memory": "hall" + } +} diff --git a/assets/stories/midnight-invitation/audio/atmosphere_provenance.json b/assets/stories/midnight-invitation/audio/atmosphere_provenance.json new file mode 100644 index 0000000..08172f6 --- /dev/null +++ b/assets/stories/midnight-invitation/audio/atmosphere_provenance.json @@ -0,0 +1,36 @@ +{ + "method": "Original procedural textures, rendered offline; no third-party recordings or runtime synthesis.", + "generator": "scripts/render_drama_atmosphere.py", + "tracks": { + "threshold": { + "asset": "assets/stories/midnight-invitation/audio/ambience_threshold.wav", + "sampleRate": 24000, + "channels": 1, + "durationMs": 36000, + "seed": 103101, + "wavSha256": "600a9394439ab94e10d978e5ace494684d06f31dc51d1b6e91ea26f84461ce75", + "peak": 0.602203369140625, + "rms": 0.09999999904677948 + }, + "kitchen": { + "asset": "assets/stories/midnight-invitation/audio/ambience_kitchen.wav", + "sampleRate": 24000, + "channels": 1, + "durationMs": 36000, + "seed": 103102, + "wavSha256": "051f89514d35761e40beac13b42c82d9e24f9bb2695c9692af37f9cb2e8e7665", + "peak": 0.6500244140625, + "rms": 0.07868849884707287 + }, + "hall": { + "asset": "assets/stories/midnight-invitation/audio/ambience_hall.wav", + "sampleRate": 24000, + "channels": 1, + "durationMs": 36000, + "seed": 103103, + "wavSha256": "453c8905789947195ccaffd883d5747ad309b93260a7441df185b691aa1e2cba", + "peak": 0.6500244140625, + "rms": 0.09858738726704845 + } + } +} diff --git a/assets/stories/midnight-invitation/audio/midnight_bell_entry.wav b/assets/stories/midnight-invitation/audio/midnight_bell_entry.wav new file mode 100644 index 0000000..64f225b Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_bell_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_bell_memory.wav b/assets/stories/midnight-invitation/audio/midnight_bell_memory.wav new file mode 100644 index 0000000..016fe83 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_bell_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_candle_entry.wav b/assets/stories/midnight-invitation/audio/midnight_candle_entry.wav new file mode 100644 index 0000000..d5d3f50 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_candle_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_candle_memory.wav b/assets/stories/midnight-invitation/audio/midnight_candle_memory.wav new file mode 100644 index 0000000..78c427e Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_candle_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_chair_entry.wav b/assets/stories/midnight-invitation/audio/midnight_chair_entry.wav new file mode 100644 index 0000000..7cc75de Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_chair_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_chair_memory.wav b/assets/stories/midnight-invitation/audio/midnight_chair_memory.wav new file mode 100644 index 0000000..d654d17 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_chair_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_ending.wav b/assets/stories/midnight-invitation/audio/midnight_ending.wav new file mode 100644 index 0000000..07b936d Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_ending.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_feather_entry.wav b/assets/stories/midnight-invitation/audio/midnight_feather_entry.wav new file mode 100644 index 0000000..1f0e7bd Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_feather_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_feather_memory.wav b/assets/stories/midnight-invitation/audio/midnight_feather_memory.wav new file mode 100644 index 0000000..8ac3ee1 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_feather_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_gate_entry.wav b/assets/stories/midnight-invitation/audio/midnight_gate_entry.wav new file mode 100644 index 0000000..0c252fd Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_gate_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_gate_memory.wav b/assets/stories/midnight-invitation/audio/midnight_gate_memory.wav new file mode 100644 index 0000000..5b66910 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_gate_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_key_entry.wav b/assets/stories/midnight-invitation/audio/midnight_key_entry.wav new file mode 100644 index 0000000..a6d785e Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_key_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_key_memory.wav b/assets/stories/midnight-invitation/audio/midnight_key_memory.wav new file mode 100644 index 0000000..d263f70 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_key_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_mask_entry.wav b/assets/stories/midnight-invitation/audio/midnight_mask_entry.wav new file mode 100644 index 0000000..197f86b Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_mask_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_mask_memory.wav b/assets/stories/midnight-invitation/audio/midnight_mask_memory.wav new file mode 100644 index 0000000..be3b095 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_mask_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_mirror_entry.wav b/assets/stories/midnight-invitation/audio/midnight_mirror_entry.wav new file mode 100644 index 0000000..6a4dc5e Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_mirror_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_mirror_memory.wav b/assets/stories/midnight-invitation/audio/midnight_mirror_memory.wav new file mode 100644 index 0000000..619c57e Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_mirror_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_moon_entry.wav b/assets/stories/midnight-invitation/audio/midnight_moon_entry.wav new file mode 100644 index 0000000..149b56a Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_moon_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_moon_memory.wav b/assets/stories/midnight-invitation/audio/midnight_moon_memory.wav new file mode 100644 index 0000000..2826658 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_moon_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_moth_entry.wav b/assets/stories/midnight-invitation/audio/midnight_moth_entry.wav new file mode 100644 index 0000000..da9a02f Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_moth_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_moth_memory.wav b/assets/stories/midnight-invitation/audio/midnight_moth_memory.wav new file mode 100644 index 0000000..e8c1618 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_moth_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_needle_entry.wav b/assets/stories/midnight-invitation/audio/midnight_needle_entry.wav new file mode 100644 index 0000000..e8db938 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_needle_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_needle_memory.wav b/assets/stories/midnight-invitation/audio/midnight_needle_memory.wav new file mode 100644 index 0000000..a0fe5d2 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_needle_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_opening.wav b/assets/stories/midnight-invitation/audio/midnight_opening.wav new file mode 100644 index 0000000..c19a9c5 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_opening.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_pumpkin_entry.wav b/assets/stories/midnight-invitation/audio/midnight_pumpkin_entry.wav new file mode 100644 index 0000000..4b4b189 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_pumpkin_entry.wav differ diff --git a/assets/stories/midnight-invitation/audio/midnight_pumpkin_memory.wav b/assets/stories/midnight-invitation/audio/midnight_pumpkin_memory.wav new file mode 100644 index 0000000..e3f3946 Binary files /dev/null and b/assets/stories/midnight-invitation/audio/midnight_pumpkin_memory.wav differ diff --git a/assets/stories/midnight-invitation/audio/narration_manifest.json b/assets/stories/midnight-invitation/audio/narration_manifest.json new file mode 100644 index 0000000..2229677 --- /dev/null +++ b/assets/stories/midnight-invitation/audio/narration_manifest.json @@ -0,0 +1,3310 @@ +{ + "tracks": { + "midnight.opening": { + "pageId": "midnight.opening", + "resource": "midnight_opening", + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\nMy first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\nThe handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\nAda caught my wrist. “If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\nI asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\nOutside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "My first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Ada caught my wrist. ", + "pauseMs": 220 + }, + { + "speaker": "Ada", + "text": "“If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Outside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "pauseMs": 220 + } + ], + "file": "midnight_opening.wav", + "flacFile": "midnight_opening.flac", + "wavSha256": "248a048155f665132fbebf322db790a4360f1d4b30132515096cf3ef7296f23c", + "sampleRate": 24000, + "channels": 1, + "frames": 1581632, + "durationMs": 65901, + "textSha256": "2fdc8d91fac3ec0ec2d6c03dcd0a59fb42371eb6012bff08f1408da402a53aaf", + "flacSha256": "934cb0721ffbde9a534e44d033275a49dcb58b272a2fa57fcbc136f58e9f6295", + "cues": [ + { + "startMs": 180, + "endMs": 11359, + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12059, + "endMs": 27952, + "text": "My first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 28652, + "endMs": 36140, + "text": "The handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 36840, + "endMs": 38547, + "text": "Ada caught my wrist. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 38767, + "endMs": 43887, + "text": "“If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\n", + "speaker": "Ada", + "voice": "bf_isabella", + "speed": 0.94 + }, + { + "startMs": 44587, + "endMs": 52181, + "text": "I asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 52881, + "endMs": 65681, + "text": "Outside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_opening.wav" + }, + "midnight.pumpkin.entry": { + "pageId": "midnight.pumpkin.entry", + "resource": "midnight_pumpkin_entry", + "text": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\nI passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\nI kept walking.\n\nThorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\nI lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\nBehind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I kept walking.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "Thorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "pauseMs": 220 + } + ], + "file": "midnight_pumpkin_entry.wav", + "flacFile": "midnight_pumpkin_entry.flac", + "wavSha256": "ab6b528cc6ea4a721345f61bd5f67cedc9af2262c35e5ccf7a9745d0755492ce", + "sampleRate": 24000, + "channels": 1, + "frames": 1438336, + "durationMs": 59931, + "textSha256": "7399cfd9ebe7222d968d4b3df6aac98def29621ed83a9a51fb2dcbd10410f492", + "flacSha256": "87a1925dffc59dcd42ab48c0fcb0206bfeef904ae438c66af5dbef839db2eb43", + "cues": [ + { + "startMs": 180, + "endMs": 12425, + "text": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13125, + "endMs": 21936, + "text": "I passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22636, + "endMs": 24044, + "text": "I kept walking.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25244, + "endMs": 39303, + "text": "Thorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40003, + "endMs": 51885, + "text": "I lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 52585, + "endMs": 59711, + "text": "Behind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_pumpkin_entry.wav" + }, + "midnight.pumpkin.memory": { + "pageId": "midnight.pumpkin.memory", + "resource": "midnight_pumpkin_memory", + "text": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\nUnder the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\nI pulled my collar over the empty place where my badge had been.\n\nTwelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\nThe raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\nFrom somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Under the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I pulled my collar over the empty place where my badge had been.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Twelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "pauseMs": 220 + } + ], + "file": "midnight_pumpkin_memory.wav", + "flacFile": "midnight_pumpkin_memory.flac", + "wavSha256": "c44a4668eba180d79f62abb96f15f0ff421d5013caa034995dc586f21ef1ab9a", + "sampleRate": 24000, + "channels": 1, + "frames": 1336224, + "durationMs": 55676, + "textSha256": "dd2a57d41f2a0a88f6ff615f1f193ab4e0fef54b342f5fa51edba88961595831", + "flacSha256": "05d89aace2eda659c547f7b1df9ec8cde6b6f6b2223bfdb9f0df4e5f2bc70863", + "cues": [ + { + "startMs": 180, + "endMs": 7433, + "text": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8133, + "endMs": 23109, + "text": "Under the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 23809, + "endMs": 28204, + "text": "I pulled my collar over the empty place where my badge had been.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 28904, + "endMs": 39485, + "text": "Twelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40185, + "endMs": 47332, + "text": "The raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48032, + "endMs": 55456, + "text": "From somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_pumpkin_memory.wav" + }, + "midnight.feather.entry": { + "pageId": "midnight.feather.entry", + "resource": "midnight_feather_entry", + "text": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\nI recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\nBelow the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\nI rubbed it away with my sleeve. The mark came back.\n\nThe raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\nI set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Below the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I rubbed it away with my sleeve. The mark came back.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "pauseMs": 220 + } + ], + "file": "midnight_feather_entry.wav", + "flacFile": "midnight_feather_entry.flac", + "wavSha256": "c80d0be1603ba81d4e94c946479b7f6b3111d15cefb87137d4111f4ade510246", + "sampleRate": 24000, + "channels": 1, + "frames": 1300384, + "durationMs": 54183, + "textSha256": "2820e88a5385ae754604378fa16bbf015a017b1e9e71b2255937eee939c52ea1", + "flacSha256": "f17386a26e4f85605e1f022b068ae3cdbb27c6b3c1ba829c7d09e0753e4970ef", + "cues": [ + { + "startMs": 180, + "endMs": 12105, + "text": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12805, + "endMs": 22768, + "text": "I recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 23468, + "endMs": 30743, + "text": "Below the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31443, + "endMs": 34984, + "text": "I rubbed it away with my sleeve. The mark came back.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 35684, + "endMs": 46095, + "text": "The raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 46795, + "endMs": 53963, + "text": "I set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_feather_entry.wav" + }, + "midnight.feather.memory": { + "pageId": "midnight.feather.memory", + "resource": "midnight_feather_memory", + "text": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\nAt the door I knocked twice. A chair scraped over the floor on the other side.\n\n“The hall is closed. Go back before it learns your face.”\n\nThe woman sounded close to the wood. I said, “I have a letter for the thirteenth place.”\n\nSilence. Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\nThe letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\nI stepped back. The flap fell shut, and the woman whispered, “Hurry.”", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the door I knocked twice.", + "pauseMs": 1350, + "afterEffect": "door-knock" + }, + { + "speaker": "Elias", + "text": " A chair scraped over the floor on the other side.\n\n", + "pauseMs": 1350, + "afterEffect": "chair-shift" + }, + { + "speaker": "Iris", + "text": "“The hall is closed. Go back before it learns your face.”\n\n", + "pauseMs": 700, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The woman sounded close to the wood. I said, ", + "pauseMs": 220 + }, + { + "speaker": "Elias", + "text": "“I have a letter for the thirteenth place.”\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Silence.", + "pauseMs": 1500 + }, + { + "speaker": "Elias", + "text": " Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\n", + "pauseMs": 700, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I stepped back. The flap fell shut, and the woman whispered, ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Hurry.”", + "pauseMs": 220, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + } + ], + "file": "midnight_feather_memory.wav", + "flacFile": "midnight_feather_memory.flac", + "wavSha256": "b028965c7ba5603947e306cc46f6d75305ac9e56e7609ce8814d19953f1a5dac", + "sampleRate": 24000, + "channels": 1, + "frames": 1396288, + "durationMs": 58179, + "textSha256": "e93d3218bfab1caa19d969dd43795a9dab3f6dac5710234703eaeac3529c0980", + "flacSha256": "6dd45416f20e9eb31a21e07b0242671ba2acc06a29b537f08337751a9e00e81e", + "cues": [ + { + "startMs": 180, + "endMs": 10740, + "text": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11440, + "endMs": 13552, + "text": "At the door I knocked twice.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 14902, + "endMs": 18166, + "text": " A chair scraped over the floor on the other side.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 19516, + "endMs": 22737, + "text": "“The hall is closed. Go back before it learns your face.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 23437, + "endMs": 26445, + "text": "The woman sounded close to the wood. I said, ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 26665, + "endMs": 29268, + "text": "“I have a letter for the thirteenth place.”\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 29968, + "endMs": 30928, + "text": "Silence.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32428, + "endMs": 39297, + "text": " Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 39997, + "endMs": 46227, + "text": "“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 46927, + "endMs": 52239, + "text": "The letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 52939, + "endMs": 56800, + "text": "I stepped back. The flap fell shut, and the woman whispered, ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 57020, + "endMs": 57959, + "text": "“Hurry.”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + } + ], + "events": [ + { + "effect": "door-knock", + "startMs": 13712, + "endMs": 14712 + }, + { + "effect": "chair-shift", + "startMs": 18326, + "endMs": 19126 + } + ], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_feather_memory.wav" + }, + "midnight.key.entry": { + "pageId": "midnight.key.entry", + "resource": "midnight_key_entry", + "text": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\nI brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n“Is that you, Elias?”\n\nIt was Ada's voice. For one foolish instant I began to answer.\n\nThe real woman struck the inside of the door with something heavy. “That was not me.”\n\nI pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\nI worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n", + "pauseMs": 700 + }, + { + "speaker": "The borrowed voice", + "text": "“Is that you, Elias?”\n\n", + "pauseMs": 700, + "perspective": "behind-door" + }, + { + "speaker": "Elias", + "text": "It was Ada's voice. For one foolish instant I began to answer.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The real woman struck the inside of the door with something heavy. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“That was not me.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "pauseMs": 220 + } + ], + "file": "midnight_key_entry.wav", + "flacFile": "midnight_key_entry.flac", + "wavSha256": "cb3a236f71f239df49ec6b9185e868d93a2b826a8079161c1bb24f6720094739", + "sampleRate": 24000, + "channels": 1, + "frames": 1347040, + "durationMs": 56127, + "textSha256": "4e9fb05e00bcc50fbcbb29857e756d623f1cf24d4677fc0da2c3492fa38f2c72", + "flacSha256": "90591eb339ff8b09c0f7724b5f09adf047e3d7632ec67fdf45608d2a41fb3a9c", + "cues": [ + { + "startMs": 180, + "endMs": 13279, + "text": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13979, + "endMs": 22213, + "text": "I brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22913, + "endMs": 24727, + "text": "“Is that you, Elias?”\n\n", + "speaker": "The borrowed voice", + "voice": "bf_isabella", + "speed": 0.87 + }, + { + "startMs": 25427, + "endMs": 30312, + "text": "It was Ada's voice. For one foolish instant I began to answer.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31012, + "endMs": 35023, + "text": "The real woman struck the inside of the door with something heavy. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 35243, + "endMs": 36629, + "text": "“That was not me.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 37329, + "endMs": 47356, + "text": "I pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48056, + "endMs": 55907, + "text": "I worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_key_entry.wav" + }, + "midnight.key.memory": { + "pageId": "midnight.key.memory", + "resource": "midnight_key_memory", + "text": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\nThe woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\nShe was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n“Good. Ada remembered.”\n\nTwelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\nThrough the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\nWhile I watched, it turned towards me. There was nothing beneath it to move it.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Good. Ada remembered.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Twelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Through the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "While I watched, it turned towards me. There was nothing beneath it to move it.", + "pauseMs": 220 + } + ], + "file": "midnight_key_memory.wav", + "flacFile": "midnight_key_memory.flac", + "wavSha256": "ec0afef2285944f4dae0be7f4ccd88ff04d5f3d8b14910068314fbed7ad77290", + "sampleRate": 24000, + "channels": 1, + "frames": 1325888, + "durationMs": 55245, + "textSha256": "720b7bb59aec91b9cc22ca1ee0ad78a8471a4a4481394073b283a5b5a466b51f", + "flacSha256": "acb7c48ba4770cbe2f103445743211115601aaa426cb70fb42a9c65b59024448", + "cues": [ + { + "startMs": 180, + "endMs": 7945, + "text": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8645, + "endMs": 17627, + "text": "The woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 18327, + "endMs": 29399, + "text": "She was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 30099, + "endMs": 31741, + "text": "“Good. Ada remembered.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 32441, + "endMs": 41721, + "text": "Twelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42421, + "endMs": 49589, + "text": "Through the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 50289, + "endMs": 55025, + "text": "While I watched, it turned towards me. There was nothing beneath it to move it.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_key_memory.wav" + }, + "midnight.mask.entry": { + "pageId": "midnight.mask.entry", + "resource": "midnight_mask_entry", + "text": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\nI asked what she meant by it.\n\nThe ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\nIris pushed the box towards me. “The pattern holds the disguise together. Finish it before looking in the mirror.”\n\nI wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\nI closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I asked what she meant by it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris pushed the box towards me. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“The pattern holds the disguise together. Finish it before looking in the mirror.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "pauseMs": 220 + } + ], + "file": "midnight_mask_entry.wav", + "flacFile": "midnight_mask_entry.flac", + "wavSha256": "a6324a2c53bd4b010050da6563098a2ce20e7a251da4a111b002843271377ad6", + "sampleRate": 24000, + "channels": 1, + "frames": 1355744, + "durationMs": 56489, + "textSha256": "22672b257e0cfc68d45fac9ec4c402830df90c323d827dbc6c09fbdf6b75b229", + "flacSha256": "4ec900a825cb7f09a18cd8bfd9ad478c2839f0a9cff135ee47312946a6854f60", + "cues": [ + { + "startMs": 180, + "endMs": 12425, + "text": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13125, + "endMs": 17605, + "text": "“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 18305, + "endMs": 20396, + "text": "I asked what she meant by it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 21096, + "endMs": 28925, + "text": "The ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 29625, + "endMs": 31887, + "text": "Iris pushed the box towards me. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32107, + "endMs": 36416, + "text": "“The pattern holds the disguise together. Finish it before looking in the mirror.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 37116, + "endMs": 48657, + "text": "I wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 49357, + "endMs": 56269, + "text": "I closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_mask_entry.wav" + }, + "midnight.mask.memory": { + "pageId": "midnight.mask.memory", + "resource": "midnight_mask_memory", + "text": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\nIn the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\nBetween those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\nI looked away.\n\n“Lydia was my mother,” Iris said. “She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\nI asked how long Iris had been alone here.\n\nShe studied the scar on her wrist. “I can remember the years. I cannot seem to grow older in them.”\n\nFrom the dining room came the careful scrape of a chair being pulled out for a guest.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Between those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I looked away.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Lydia was my mother,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " Iris said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I asked how long Iris had been alone here.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She studied the scar on her wrist. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“I can remember the years. I cannot seem to grow older in them.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "From the dining room came the careful scrape of a chair being pulled out for a guest.", + "pauseMs": 220 + } + ], + "file": "midnight_mask_memory.wav", + "flacFile": "midnight_mask_memory.flac", + "wavSha256": "65621dd38706b24ca43eea2529c5bd788bbca40e363f6783d2d44addb48d3ed5", + "sampleRate": 24000, + "channels": 1, + "frames": 1325248, + "durationMs": 55219, + "textSha256": "72b5dedcb20e9483f456b2fa79506add22605a0df135f4f05d49ae828a7bbce5", + "flacSha256": "424d9a37ea7269c0c08bc89f78d1ebcbdde9f728d95755e44f700113b965258b", + "cues": [ + { + "startMs": 180, + "endMs": 6601, + "text": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 7301, + "endMs": 18629, + "text": "In the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 19329, + "endMs": 27137, + "text": "Between those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 27837, + "endMs": 29139, + "text": "I looked away.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 29839, + "endMs": 31396, + "text": "“Lydia was my mother,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 31616, + "endMs": 32725, + "text": " Iris said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32945, + "endMs": 37873, + "text": "“She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 38573, + "endMs": 41816, + "text": "I asked how long Iris had been alone here.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42516, + "endMs": 45119, + "text": "She studied the scar on her wrist. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 45339, + "endMs": 49051, + "text": "“I can remember the years. I cannot seem to grow older in them.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 49751, + "endMs": 54999, + "text": "From the dining room came the careful scrape of a chair being pulled out for a guest.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_mask_memory.wav" + }, + "midnight.candle.entry": { + "pageId": "midnight.candle.entry", + "resource": "midnight_candle_entry", + "text": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n“I made them that evening,” she said. “I keep forgetting they will not cool.”\n\nBeside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\nI spread the paper beneath the lamp. The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\nWet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\nIris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“I made them that evening,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“I keep forgetting they will not cool.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Beside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I spread the paper beneath the lamp.", + "pauseMs": 1350, + "afterEffect": "paper" + }, + { + "speaker": "Elias", + "text": " The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Wet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "pauseMs": 220 + } + ], + "file": "midnight_candle_entry.wav", + "flacFile": "midnight_candle_entry.flac", + "wavSha256": "248a1e23374560a8a563adee3503e9525ab345f64dd42f5754498f7e808e6da7", + "sampleRate": 24000, + "channels": 1, + "frames": 1388400, + "durationMs": 57850, + "textSha256": "543edf12907d4cd93c41b7fc1739be091734952536b5dd30755c99167064102d", + "flacSha256": "c4431aa9e4bb7e16bc2502dd2a62792a2d0d2e1af0cc4893da4b2e410eb95265", + "cues": [ + { + "startMs": 180, + "endMs": 13257, + "text": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13957, + "endMs": 15621, + "text": "“I made them that evening,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 15841, + "endMs": 16801, + "text": " she said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 17021, + "endMs": 19219, + "text": "“I keep forgetting they will not cool.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 19919, + "endMs": 31097, + "text": "Beside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31797, + "endMs": 34272, + "text": "I spread the paper beneath the lamp.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 35622, + "endMs": 42726, + "text": " The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 43426, + "endMs": 50018, + "text": "Wet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 50718, + "endMs": 57630, + "text": "Iris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [ + { + "effect": "paper", + "startMs": 34432, + "endMs": 35132 + } + ], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_candle_entry.wav" + }, + "midnight.candle.memory": { + "pageId": "midnight.candle.memory", + "resource": "midnight_candle_memory", + "text": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\nIris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n“It follows warmth,” she said. “And voices. It remembers everyone who answers.”\n\nBetween the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\nBeyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\nI held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“It follows warmth,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“And voices. It remembers everyone who answers.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Between the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Beyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "pauseMs": 220 + } + ], + "file": "midnight_candle_memory.wav", + "flacFile": "midnight_candle_memory.flac", + "wavSha256": "b6b4ba9d8783f1adc7f252824eeebaf3e348400501906bb68721c3c9cea443e9", + "sampleRate": 24000, + "channels": 1, + "frames": 1339616, + "durationMs": 55817, + "textSha256": "baf54ba09ce4ccfb01d0e2311864938f5bca147c0822ded4359f4186c573abd5", + "flacSha256": "5bf5cba5df783f2129b6e02c2060ef882f274c35ab3bad2905d98df485cda1b1", + "cues": [ + { + "startMs": 180, + "endMs": 8927, + "text": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 9627, + "endMs": 21509, + "text": "Iris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22209, + "endMs": 23639, + "text": "“It follows warmth,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 23859, + "endMs": 24819, + "text": " she said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25039, + "endMs": 27684, + "text": "“And voices. It remembers everyone who answers.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 28384, + "endMs": 39648, + "text": "Between the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40348, + "endMs": 47772, + "text": "Beyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48472, + "endMs": 55597, + "text": "I held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_candle_memory.wav" + }, + "midnight.moth.entry": { + "pageId": "midnight.moth.entry", + "resource": "midnight_moth_entry", + "text": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\nIn the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\nThere was no photograph of them leaving.\n\nThe moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\nBehind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\nIris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There was no photograph of them leaving.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "pauseMs": 220 + } + ], + "file": "midnight_moth_entry.wav", + "flacFile": "midnight_moth_entry.flac", + "wavSha256": "29fb93abc68a335a540106c549fd2600cfc470cecd2ec822b920d2e9f0dfa728", + "sampleRate": 24000, + "channels": 1, + "frames": 1345440, + "durationMs": 56060, + "textSha256": "d109bc33ed5a1f5d46ff62b9971ea6052ac42639da4036fdbb27e3bf378a6cb2", + "flacSha256": "c5686ad55ec4504de8e254416d660bde3ccde118e573bc4312303413a975eacd", + "cues": [ + { + "startMs": 180, + "endMs": 12745, + "text": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13445, + "endMs": 22000, + "text": "In the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22700, + "endMs": 25537, + "text": "There was no photograph of them leaving.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 26237, + "endMs": 36797, + "text": "The moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 37497, + "endMs": 44217, + "text": "Behind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 44917, + "endMs": 55840, + "text": "Iris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_moth_entry.wav" + }, + "midnight.moth.memory": { + "pageId": "midnight.moth.memory", + "resource": "midnight_moth_memory", + "text": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\nIris read over my shoulder. “Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\nLydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\nThe next name it wanted was mine.\n\nAt the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\nThe moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris read over my shoulder. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Lydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The next name it wanted was mine.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "pauseMs": 220 + } + ], + "file": "midnight_moth_memory.wav", + "flacFile": "midnight_moth_memory.flac", + "wavSha256": "a7227ffcd982eb5f25462f4c9c63def420073947c6cc1bbf375d6bd4bd4237e8", + "sampleRate": 24000, + "channels": 1, + "frames": 1417280, + "durationMs": 59053, + "textSha256": "7f44021e415a0f1483ab292e90453bed18f58da96b16ef3a62ace1272c530934", + "flacSha256": "20623a472f07e922d6e0d5b8c723da724d160b7dc543a465d3347daf22c5074a", + "cues": [ + { + "startMs": 180, + "endMs": 8052, + "text": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8752, + "endMs": 11269, + "text": "Iris read over my shoulder. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11489, + "endMs": 19980, + "text": "“Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 20680, + "endMs": 36445, + "text": "Lydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 37145, + "endMs": 39940, + "text": "The next name it wanted was mine.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40640, + "endMs": 45909, + "text": "At the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 46609, + "endMs": 58833, + "text": "The moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_moth_memory.wav" + }, + "midnight.bell.entry": { + "pageId": "midnight.bell.entry", + "resource": "midnight_bell_entry", + "text": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\nLydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\nIris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n“Ada is taller than that,” Iris said.\n\nI looked again. The coat reached the ground, but the face was scarcely above the sill.\n\nWhatever wore it smiled. There was someone else's face inside the smile.\n\nI bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Lydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Ada is taller than that,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " Iris said.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I looked again. The coat reached the ground, but the face was scarcely above the sill.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Whatever wore it smiled. There was someone else's face inside the smile.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "pauseMs": 220 + } + ], + "file": "midnight_bell_entry.wav", + "flacFile": "midnight_bell_entry.flac", + "wavSha256": "b67a5f254a617c63bb66eca3d170e190a17d1eaf239f9e35edda1dba3aa5173a", + "sampleRate": 24000, + "channels": 1, + "frames": 1325024, + "durationMs": 55209, + "textSha256": "a5e2724797b4811df71f3894d635f25f40ca3540c56f819c5c4807a5d6848bb1", + "flacSha256": "73feed7a6e6144cb8a6e3e3ec8c2a146468eb5feb6ab92323f8092fdca33f441", + "cues": [ + { + "startMs": 180, + "endMs": 13257, + "text": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13957, + "endMs": 21211, + "text": "Lydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 21911, + "endMs": 31980, + "text": "Iris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32680, + "endMs": 34429, + "text": "“Ada is taller than that,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 34649, + "endMs": 35759, + "text": " Iris said.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 36459, + "endMs": 42112, + "text": "I looked again. The coat reached the ground, but the face was scarcely above the sill.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42812, + "endMs": 47655, + "text": "Whatever wore it smiled. There was someone else's face inside the smile.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48355, + "endMs": 54989, + "text": "I bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_bell_entry.wav" + }, + "midnight.bell.memory": { + "pageId": "midnight.bell.memory", + "resource": "midnight_bell_memory", + "text": "The clapper fell free. I sounded the bell once.\n\nThe face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\nFrom the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\nIris gripped the edge of the table. “We can get them out.”\n\nI found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\nI reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\nAcross the missing line ran a row of small, wet marks. They were the shape of teeth.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The clapper fell free. I sounded the bell once.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris gripped the edge of the table. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“We can get them out.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Across the missing line ran a row of small, wet marks. They were the shape of teeth.", + "pauseMs": 220 + } + ], + "file": "midnight_bell_memory.wav", + "flacFile": "midnight_bell_memory.flac", + "wavSha256": "58783ac1b718163d7d905428b54422a154737a31b2baef2514076ce1ca31f66c", + "sampleRate": 24000, + "channels": 1, + "frames": 1295840, + "durationMs": 53993, + "textSha256": "9ac801b9bd9555f10c23d88ab479fa4ba3499227b9af28fb7e8a1cd5cc5a7654", + "flacSha256": "8abb914d9fac87ad66e04a527b8a9ace8aa3e18ff5818234f4c8b1a5b16b6c2d", + "cues": [ + { + "startMs": 180, + "endMs": 3465, + "text": "The clapper fell free. I sounded the bell once.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 4165, + "endMs": 12549, + "text": "The face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13249, + "endMs": 22039, + "text": "From the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22739, + "endMs": 25149, + "text": "Iris gripped the edge of the table. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25369, + "endMs": 26863, + "text": "“We can get them out.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 27563, + "endMs": 38976, + "text": "I found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 39676, + "endMs": 47420, + "text": "I reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48120, + "endMs": 53773, + "text": "Across the missing line ran a row of small, wet marks. They were the shape of teeth.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_bell_memory.wav" + }, + "midnight.needle.entry": { + "pageId": "midnight.needle.entry", + "resource": "midnight_needle_entry", + "text": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\nIris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n“Mother repaired everything,” she said. “Even things the house wanted broken.”\n\nThe cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\nI put it down. The correct shape was waiting in the grid.\n\nBehind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Mother repaired everything,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Even things the house wanted broken.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put it down. The correct shape was waiting in the grid.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "pauseMs": 220 + } + ], + "file": "midnight_needle_entry.wav", + "flacFile": "midnight_needle_entry.flac", + "wavSha256": "1a916610faa8dcd7c4688637afc7b806409772ffe6bf10df56195ededd9d9df3", + "sampleRate": 24000, + "channels": 1, + "frames": 1325280, + "durationMs": 55220, + "textSha256": "b6611c1e8e41512456f2e25f5cce86b897b5251c5698521e54cddd1cec217ce5", + "flacSha256": "b6576d44129ba2b7ecbb27d65c77e3b040caa75d83af6865b1a220468b016eea", + "cues": [ + { + "startMs": 180, + "endMs": 13833, + "text": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 14533, + "endMs": 24731, + "text": "Iris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25431, + "endMs": 27116, + "text": "“Mother repaired everything,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 27336, + "endMs": 28296, + "text": " she said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 28516, + "endMs": 30884, + "text": "“Even things the house wanted broken.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 31584, + "endMs": 42123, + "text": "The cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42823, + "endMs": 46684, + "text": "I put it down. The correct shape was waiting in the grid.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47384, + "endMs": 55000, + "text": "Behind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_needle_entry.wav" + }, + "midnight.needle.memory": { + "pageId": "midnight.needle.memory", + "resource": "midnight_needle_memory", + "text": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\nAt once the paper went still.\n\nThe writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\nIris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n“There is a mirror in the parlour,” she said. “Keep the mask on.”\n\nOn the other side of the kitchen door, my humming stopped.\n\nA man's voice said, quite reasonably, “I am only trying to finish my delivery.”\n\nI knew how frightened I must sound. That was what frightened me most.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At once the paper went still.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“There is a mirror in the parlour,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Keep the mask on.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "On the other side of the kitchen door, my humming stopped.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A man's voice said, quite reasonably, ", + "pauseMs": 220 + }, + { + "speaker": "The echo", + "text": "“I am only trying to finish my delivery.”\n\n", + "pauseMs": 700, + "perspective": "behind-door" + }, + { + "speaker": "Elias", + "text": "I knew how frightened I must sound. That was what frightened me most.", + "pauseMs": 220 + } + ], + "file": "midnight_needle_memory.wav", + "flacFile": "midnight_needle_memory.flac", + "wavSha256": "cfd5c607a74d0cca2db84c79da2efe8ca76e0e09946f31a47a69128e2c3fc8d0", + "sampleRate": 24000, + "channels": 1, + "frames": 1416896, + "durationMs": 59037, + "textSha256": "2e9102ecd0e61cba7f67ea784ab1048d817fd3fd3561e8a173ab3ab95345263a", + "flacSha256": "d149ce6d36f61ef42c8f30bc9570a73c9be38618cf4c6431b18b732be7b6b405", + "cues": [ + { + "startMs": 180, + "endMs": 8137, + "text": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8837, + "endMs": 10885, + "text": "At once the paper went still.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11585, + "endMs": 25431, + "text": "The writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 26131, + "endMs": 37437, + "text": "Iris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 38137, + "endMs": 39993, + "text": "“There is a mirror in the parlour,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 40213, + "endMs": 41173, + "text": " she said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 41393, + "endMs": 42801, + "text": "“Keep the mask on.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 43501, + "endMs": 47107, + "text": "On the other side of the kitchen door, my humming stopped.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47807, + "endMs": 50623, + "text": "A man's voice said, quite reasonably, ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 50843, + "endMs": 53616, + "text": "“I am only trying to finish my delivery.”\n\n", + "speaker": "The echo", + "voice": "bm_george", + "speed": 0.87 + }, + { + "startMs": 54316, + "endMs": 58817, + "text": "I knew how frightened I must sound. That was what frightened me most.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_needle_memory.wav" + }, + "midnight.mirror.entry": { + "pageId": "midnight.mirror.entry", + "resource": "midnight_mirror_entry", + "text": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\nMy reflection was already looking at me.\n\nI had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\nThe wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\nIris placed the candle on the shelf. “Finish the border. Do not listen to him.”\n\nThe man in the mirror took off his cat mask. I kept mine on.\n\nI worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "My reflection was already looking at me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris placed the candle on the shelf. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Finish the border. Do not listen to him.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The man in the mirror took off his cat mask. I kept mine on.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "pauseMs": 220 + } + ], + "file": "midnight_mirror_entry.wav", + "flacFile": "midnight_mirror_entry.flac", + "wavSha256": "651489f7a82d1bd9896e961d0421e9b022e0ab2f2103d9e5b355fe015251d93f", + "sampleRate": 24000, + "channels": 1, + "frames": 1363936, + "durationMs": 56831, + "textSha256": "73853f4477430ab46eb842b448f7ab8caf9845facbbf6cf923bd7ceddd3531e1", + "flacSha256": "a1ca5df3db6c5620c1db34619488b69b9b314568e1593dd2d35dcd4cb291c547", + "cues": [ + { + "startMs": 180, + "endMs": 8052, + "text": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8752, + "endMs": 11717, + "text": "My reflection was already looking at me.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12417, + "endMs": 22081, + "text": "I had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22781, + "endMs": 35880, + "text": "The wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 36580, + "endMs": 39289, + "text": "Iris placed the candle on the shelf. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 39509, + "endMs": 41771, + "text": "“Finish the border. Do not listen to him.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 42471, + "endMs": 46695, + "text": "The man in the mirror took off his cat mask. I kept mine on.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47395, + "endMs": 56611, + "text": "I worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_mirror_entry.wav" + }, + "midnight.mirror.memory": { + "pageId": "midnight.mirror.memory", + "resource": "midnight_mirror_memory", + "text": "The last piece fitted. My reflection stopped moving.\n\nIn the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\nThere was no mistake in the delivery. I was the thing being delivered.\n\nBelow it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\nIris looked at me. “Mother kept a way back. All these years.”\n\nThe man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\nI wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\nFor the first time that night, the house made a sound like pain.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The last piece fitted. My reflection stopped moving.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There was no mistake in the delivery. I was the thing being delivered.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Below it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris looked at me. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Mother kept a way back. All these years.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "For the first time that night, the house made a sound like pain.", + "pauseMs": 220 + } + ], + "file": "midnight_mirror_memory.wav", + "flacFile": "midnight_mirror_memory.flac", + "wavSha256": "f5124df359f8e3f9e4895b50cc6c68920bcee275b630c77130546f0ad7a3a362", + "sampleRate": 24000, + "channels": 1, + "frames": 1356160, + "durationMs": 56507, + "textSha256": "7e6a9aeef3da7bd797b8e11040a73fe5856ecb416e3802778e206520c604692a", + "flacSha256": "42407e1a872201ef26c273516d388708b3e15559b10c94a2853dc24093e93618", + "cues": [ + { + "startMs": 180, + "endMs": 3785, + "text": "The last piece fitted. My reflection stopped moving.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 4485, + "endMs": 11952, + "text": "In the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12652, + "endMs": 17217, + "text": "There was no mistake in the delivery. I was the thing being delivered.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 17917, + "endMs": 29757, + "text": "Below it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 30457, + "endMs": 32121, + "text": "Iris looked at me. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32341, + "endMs": 34773, + "text": "“Mother kept a way back. All these years.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 35473, + "endMs": 42151, + "text": "The man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42851, + "endMs": 51576, + "text": "I wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 52276, + "endMs": 56287, + "text": "For the first time that night, the house made a sound like pain.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_mirror_memory.wav" + }, + "midnight.gate.entry": { + "pageId": "midnight.gate.entry", + "resource": "midnight_gate_entry", + "text": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\nBetween us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\nThrough the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n“Eyes on the iron,” she said.\n\nI wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\nBehind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Between us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Through the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Eyes on the iron,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "pauseMs": 220 + } + ], + "file": "midnight_gate_entry.wav", + "flacFile": "midnight_gate_entry.flac", + "wavSha256": "54d87e6a129fadf237d0f4b4bc661ab9e8e89c75114bce9c7c94808929be0d9b", + "sampleRate": 24000, + "channels": 1, + "frames": 1346624, + "durationMs": 56109, + "textSha256": "c7d29ed6510731ae22e6dab5684009845d3409c76da85caf504f521ace281937", + "flacSha256": "99aff3d8595a625c6607c8bf50298f93007ad4c23bcdeaf4d676c8b612e925fc", + "cues": [ + { + "startMs": 180, + "endMs": 9972, + "text": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 10672, + "endMs": 23536, + "text": "Between us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 24236, + "endMs": 33985, + "text": "Through the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 34685, + "endMs": 36093, + "text": "“Eyes on the iron,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 36313, + "endMs": 37273, + "text": " she said.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 37973, + "endMs": 46827, + "text": "I wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47527, + "endMs": 55889, + "text": "Behind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_gate_entry.wav" + }, + "midnight.gate.memory": { + "pageId": "midnight.gate.memory", + "resource": "midnight_gate_memory", + "text": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\nI took a step towards that sound.\n\nA sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\nLeaving now would leave them here. Iris too.\n\nI put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\nThe house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\nNone of them had a face. All of them lifted one arm to show me the way upstairs.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I took a step towards that sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Leaving now would leave them here. Iris too.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "None of them had a face. All of them lifted one arm to show me the way upstairs.", + "pauseMs": 220 + } + ], + "file": "midnight_gate_memory.wav", + "flacFile": "midnight_gate_memory.flac", + "wavSha256": "074082212bb57489fb185b5d56d151e72fcce942ae2f8159d6dfa99ad202095c", + "sampleRate": 24000, + "channels": 1, + "frames": 1258816, + "durationMs": 52451, + "textSha256": "20e1f483acd5ced8974ecc9d4b9aca0c84685e98c8bf19e251a39f900546c1fb", + "flacSha256": "5c190abdbf006dc2be86af73eeb3551536104076afaee3ac0dde1f2a486986a4", + "cues": [ + { + "startMs": 180, + "endMs": 12105, + "text": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12805, + "endMs": 15323, + "text": "I took a step towards that sound.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 16023, + "endMs": 27073, + "text": "A sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 27773, + "endMs": 31016, + "text": "Leaving now would leave them here. Iris too.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31716, + "endMs": 38116, + "text": "I put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 38816, + "endMs": 46133, + "text": "The house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 46833, + "endMs": 52231, + "text": "None of them had a face. All of them lifted one arm to show me the way upstairs.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_gate_memory.wav" + }, + "midnight.moon.entry": { + "pageId": "midnight.moon.entry", + "resource": "midnight_moon_entry", + "text": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\nLydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\nI heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\nI held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\nFor seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\nI put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Lydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "For seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "pauseMs": 220 + } + ], + "file": "midnight_moon_entry.wav", + "flacFile": "midnight_moon_entry.flac", + "wavSha256": "b9bdf8ce4bbb2e4235aff5b49a5c3665d9e224343927bf9d09cce4c01601fa38", + "sampleRate": 24000, + "channels": 1, + "frames": 1338784, + "durationMs": 55783, + "textSha256": "860f383f3409b4848d6d9a2de6e938053b8526b9b3d02fad8d7ff109915a3da5", + "flacSha256": "2200e1057331cfe6961c3a0f772c839375138ba96787280b1980ce514a9fbaa1", + "cues": [ + { + "startMs": 180, + "endMs": 11273, + "text": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11973, + "endMs": 22277, + "text": "Lydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22977, + "endMs": 32279, + "text": "I heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32979, + "endMs": 40296, + "text": "I held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40996, + "endMs": 46756, + "text": "For seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47456, + "endMs": 55563, + "text": "I put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_moon_entry.wav" + }, + "midnight.moon.memory": { + "pageId": "midnight.moon.memory", + "resource": "midnight_moon_memory", + "text": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\nIt did not strike.\n\nA final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\nI followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\nThe thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\nOn the wall, my shadow sat down before I did.\n\nI stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "It did not strike.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "A final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "On the wall, my shadow sat down before I did.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "pauseMs": 220 + } + ], + "file": "midnight_moon_memory.wav", + "flacFile": "midnight_moon_memory.flac", + "wavSha256": "2c24b0a35bf6ecdb24725f4c4075d0d3ee3d64668103307234c38dc4f33b9642", + "sampleRate": 24000, + "channels": 1, + "frames": 1382432, + "durationMs": 57601, + "textSha256": "6bb20bddcbc805e8193d3347636cc69d987150773c86ea1fed106c7741ba9784", + "flacSha256": "1edd69e9f04baf74d1ad55027a866faa9eca8d66a98fd4b59e5199cfd34a99c4", + "cues": [ + { + "startMs": 180, + "endMs": 7689, + "text": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8389, + "endMs": 9840, + "text": "It did not strike.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11040, + "endMs": 22453, + "text": "A final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 23153, + "endMs": 35185, + "text": "I followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 35885, + "endMs": 44099, + "text": "The thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 44799, + "endMs": 48148, + "text": "On the wall, my shadow sat down before I did.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48848, + "endMs": 57381, + "text": "I stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_moon_memory.wav" + }, + "midnight.chair.entry": { + "pageId": "midnight.chair.entry", + "resource": "midnight_chair_entry", + "text": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\nUnder the table, something shifted its weight.\n\nIris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\nI knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\nFrom under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\nI counted the cushion's squares aloud, softly, so that I would not answer.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Under the table, something shifted its weight.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I counted the cushion's squares aloud, softly, so that I would not answer.", + "pauseMs": 220 + } + ], + "file": "midnight_chair_entry.wav", + "flacFile": "midnight_chair_entry.flac", + "wavSha256": "79c4df589f7bc9eae630f1d57e137ce151913b1fc9126f04a470bc4b571fe659", + "sampleRate": 24000, + "channels": 1, + "frames": 1304992, + "durationMs": 54375, + "textSha256": "84fe6353f8f56a2bb9d05717199620b2183b5a052bb106a4c8f604d7941d7a82", + "flacSha256": "538b1b4df15b8aa3c018b42367933b999f3fa6f96ec586a5be66580e8af42c60", + "cues": [ + { + "startMs": 180, + "endMs": 15263, + "text": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 15963, + "endMs": 19013, + "text": "Under the table, something shifted its weight.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 19713, + "endMs": 31425, + "text": "Iris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32125, + "endMs": 40147, + "text": "I knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40847, + "endMs": 48633, + "text": "From under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 49333, + "endMs": 54155, + "text": "I counted the cushion's squares aloud, softly, so that I would not answer.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_chair_entry.wav" + }, + "midnight.chair.memory": { + "pageId": "midnight.chair.memory", + "resource": "midnight_chair_memory", + "text": "The chair opened. I stepped away from it.\n\nAt the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\nWith each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\nAt Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\nThe twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\nThe mouth closed.\n\nLydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\nIris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The chair opened. I stepped away from it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "With each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The mouth closed.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "Lydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "pauseMs": 220 + } + ], + "file": "midnight_chair_memory.wav", + "flacFile": "midnight_chair_memory.flac", + "wavSha256": "331dcbd728d7cbd48c5069fd858ae11ea8ea4bed416e8453e2c568ecb38d5d09", + "sampleRate": 24000, + "channels": 1, + "frames": 1534912, + "durationMs": 63955, + "textSha256": "98786f6f8685bfd56942e68b56ce350fbc6f2d9fafad45bf86bada9ec7acf573", + "flacSha256": "8d4bdb47c2f6285bc5937045c0ef6480cf7e5b7b4057c52825b5e2984814515b", + "cues": [ + { + "startMs": 180, + "endMs": 3103, + "text": "The chair opened. I stepped away from it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 3803, + "endMs": 13765, + "text": "At the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 14465, + "endMs": 24343, + "text": "With each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25043, + "endMs": 30525, + "text": "At Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31225, + "endMs": 43641, + "text": "The twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 44341, + "endMs": 45792, + "text": "The mouth closed.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 46992, + "endMs": 55845, + "text": "Lydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 56545, + "endMs": 63735, + "text": "Iris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_chair_memory.wav" + }, + "midnight.ending": { + "pageId": "midnight.ending", + "resource": "midnight_ending", + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\nShe had last seen her seventeen years ago.\n\nIris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\nI walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\nI have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\nThere is only one thing I have not told Ada.\n\nWhen I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\nI have locked it in the desk.\n\nA few minutes ago, the drawer knocked twice.\n\nThe end.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She had last seen her seventeen years ago.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There is only one thing I have not told Ada.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "When I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I have locked it in the desk.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A few minutes ago, the drawer knocked twice.\n\n", + "pauseMs": 1350, + "afterEffect": "door-knock" + }, + { + "speaker": "Elias", + "text": "The end.", + "pauseMs": 220 + } + ], + "file": "midnight_ending.wav", + "flacFile": "midnight_ending.flac", + "wavSha256": "966809b2a55ce69d774bfe41a60c538df1faf54e5935947dd8194e46af5443a9", + "sampleRate": 24000, + "channels": 1, + "frames": 1657616, + "durationMs": 69067, + "textSha256": "7e050e812f4114bdd128d8199aede05bc56e5445367c29ea86da5219e9c48b89", + "flacSha256": "dc2a45f1944942082b31fbc6d63ec5137015c2088202b8b31d4f558cc87fc3c9", + "cues": [ + { + "startMs": 180, + "endMs": 8671, + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 9371, + "endMs": 12336, + "text": "She had last seen her seventeen years ago.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13036, + "endMs": 23276, + "text": "Iris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 23976, + "endMs": 37032, + "text": "I walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 37732, + "endMs": 44196, + "text": "I have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 44896, + "endMs": 48160, + "text": "There is only one thing I have not told Ada.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48860, + "endMs": 60145, + "text": "When I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 60845, + "endMs": 62936, + "text": "I have locked it in the desk.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 63636, + "endMs": 66495, + "text": "A few minutes ago, the drawer knocked twice.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 67845, + "endMs": 68847, + "text": "The end.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [ + { + "effect": "door-knock", + "startMs": 66655, + "endMs": 67655 + } + ], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_ending.wav" + } + } +} diff --git a/assets/stories/midnight-invitation/campaign.json b/assets/stories/midnight-invitation/campaign.json new file mode 100644 index 0000000..38a530b --- /dev/null +++ b/assets/stories/midnight-invitation/campaign.json @@ -0,0 +1,185 @@ +{ + "premise": "The private diary of Elias Ward, a Blackthorn postman. On Halloween he carried a letter in his own handwriting to a house with twelve missing guests and a thirteenth place waiting for him. A complete Gothic mystery in three chapters.", + "levels": [ + { + "id": "pumpkin", + "title": "The face that watched the road", + "memoryTitle": "Do not answer", + "object": "The pumpkin lantern", + "before": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\nI passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\nI kept walking.\n\nThorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\nI lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\nBehind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "after": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\nUnder the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\nI pulled my collar over the empty place where my badge had been.\n\nTwelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\nThe raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\nFrom somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "size": 7, + "clues": "11,23,25,35,41", + "areas": "", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/pumpkin-v1.png", + "chapterId": "gate", + "chapter": "I · The road that would not end", + "picture": "0010100001100001111101101011111111110101010111110" + }, + { + "id": "feather", + "title": "Twelve names and an empty line", + "memoryTitle": "The woman behind the door", + "object": "The raven feather", + "before": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\nI recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\nBelow the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\nI rubbed it away with my sleeve. The mark came back.\n\nThe raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\nI set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "after": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\nAt the door I knocked twice. A chair scraped over the floor on the other side.\n\n“The hall is closed. Go back before it learns your face.”\n\nThe woman sounded close to the wood. I said, “I have a letter for the thirteenth place.”\n\nSilence. Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\nThe letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\nI stepped back. The flap fell shut, and the woman whispered, “Hurry.”", + "size": 7, + "clues": "5,11,12,17,18,19,22,42", + "areas": "", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/feather-v1.png", + "chapterId": "gate", + "chapter": "I · The road that would not end", + "picture": "0000010000011000011100011100011100001100001000000" + }, + { + "id": "key", + "title": "Something in the stone owl", + "memoryTitle": "The chair that turned", + "object": "The crescent key", + "before": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\nI brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n“Is that you, Elias?”\n\nIt was Ada's voice. For one foolish instant I began to answer.\n\nThe real woman struck the inside of the door with something heavy. “That was not me.”\n\nI pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\nI worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "after": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\nThe woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\nShe was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n“Good. Ada remembered.”\n\nTwelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\nThrough the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\nWhile I watched, it turned towards me. There was nothing beneath it to move it.", + "size": 7, + "clues": "22", + "areas": "4,2,3,4;3,3,4,3", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/key-v1.png", + "chapterId": "gate", + "chapter": "I · The road that would not end", + "picture": "0111000010100001110000010000001110000100000011100" + }, + { + "id": "mask", + "title": "A borrowed face", + "memoryTitle": "The wrong reflection", + "object": "The black-cat mask", + "before": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\nI asked what she meant by it.\n\nThe ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\nIris pushed the box towards me. “The pattern holds the disguise together. Finish it before looking in the mirror.”\n\nI wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\nI closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "after": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\nIn the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\nBetween those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\nI looked away.\n\n“Lydia was my mother,” Iris said. “She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\nI asked how long Iris had been alone here.\n\nShe studied the scar on her wrist. “I can remember the years. I cannot seem to grow older in them.”\n\nFrom the dining room came the careful scrape of a chair being pulled out for a guest.", + "size": 7, + "clues": "26,45", + "areas": "0,1,4,4;3,2,4,4", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/mask-v1.png", + "chapterId": "gate", + "chapter": "I · The road that would not end", + "picture": "1100011111011111111111011101111111101111100011100" + }, + { + "id": "candle", + "title": "The kitchen with two shadows", + "memoryTitle": "The extra shadow", + "object": "The beeswax candle", + "before": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n“I made them that evening,” she said. “I keep forgetting they will not cool.”\n\nBeside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\nI spread the paper beneath the lamp. The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\nWet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\nIris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "after": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\nIris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n“It follows warmth,” she said. “And voices. It remembers everyone who answers.”\n\nBetween the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\nBeyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\nI held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "size": 7, + "clues": "40", + "areas": "1,3,4,4;0,4,4,3;0,3,4,3", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/candle-v1.png", + "chapterId": "house", + "chapter": "II · The guest beneath the floor", + "picture": "0001000001110000010000011100001110101101110111101" + }, + { + "id": "moth", + "title": "The stair that counted me", + "memoryTitle": "What Lydia had stopped", + "object": "The paper moth", + "before": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\nIn the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\nThere was no photograph of them leaving.\n\nThe moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\nBehind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\nIris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "after": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\nIris read over my shoulder. “Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\nLydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\nThe next name it wanted was mine.\n\nAt the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\nThe moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "size": 7, + "clues": "21", + "areas": "0,2,3,4;1,4,3,3;1,3,3,3", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/moth-v1.png", + "chapterId": "house", + "chapter": "II · The guest beneath the floor", + "picture": "1000001110101111111110111110111111111010111000001" + }, + { + "id": "bell", + "title": "A bell without a voice", + "memoryTitle": "A name recovered", + "object": "The silver handbell", + "before": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\nLydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\nIris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n“Ada is taller than that,” Iris said.\n\nI looked again. The coat reached the ground, but the face was scarcely above the sill.\n\nWhatever wore it smiled. There was someone else's face inside the smile.\n\nI bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "after": "The clapper fell free. I sounded the bell once.\n\nThe face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\nFrom the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\nIris gripped the edge of the table. “We can get them out.”\n\nI found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\nI reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\nAcross the missing line ran a row of small, wet marks. They were the shape of teeth.", + "size": 7, + "clues": "", + "areas": "2,0,4,4;1,0,3,3;2,0,4,3", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/bell-v1.png", + "chapterId": "house", + "chapter": "II · The guest beneath the floor", + "picture": "0001000001110000101000110110011111011111110001000" + }, + { + "id": "needle", + "title": "The seam in the invitation", + "memoryTitle": "Written by my hand", + "object": "The needle and red thread", + "before": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\nIris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n“Mother repaired everything,” she said. “Even things the house wanted broken.”\n\nThe cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\nI put it down. The correct shape was waiting in the grid.\n\nBehind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "after": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\nAt once the paper went still.\n\nThe writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\nIris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n“There is a mirror in the parlour,” she said. “Keep the mask on.”\n\nOn the other side of the kitchen door, my humming stopped.\n\nA man's voice said, quite reasonably, “I am only trying to finish my delivery.”\n\nI knew how frightened I must sound. That was what frightened me most.", + "size": 7, + "clues": "24,26,30,43", + "areas": "2,1,3,3;1,0,3,4;0,0,3,3", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/needle-v1.png", + "chapterId": "house", + "chapter": "II · The guest beneath the floor", + "picture": "0000110000111000110100110100110100010100000100000" + }, + { + "id": "mirror", + "title": "The man in the glass", + "memoryTitle": "Return to sender", + "object": "The oval looking-glass", + "before": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\nMy reflection was already looking at me.\n\nI had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\nThe wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\nIris placed the candle on the shelf. “Finish the border. Do not listen to him.”\n\nThe man in the mirror took off his cat mask. I kept mine on.\n\nI worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "after": "The last piece fitted. My reflection stopped moving.\n\nIn the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\nThere was no mistake in the delivery. I was the thing being delivered.\n\nBelow it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\nIris looked at me. “Mother kept a way back. All these years.”\n\nThe man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\nI wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\nFor the first time that night, the house made a sound like pain.", + "size": 7, + "clues": "18,25,27,28", + "areas": "2,2,4,4;1,2,4,3;0,4,3,3", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/mirror-v1.png", + "chapterId": "welcome", + "chapter": "III · Return to sender", + "picture": "0011100011011011000111100011011011000111000011100" + }, + { + "id": "gate", + "title": "The orchard that led nowhere", + "memoryTitle": "The way out", + "object": "The open garden gate", + "before": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\nBetween us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\nThrough the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n“Eyes on the iron,” she said.\n\nI wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\nBehind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "after": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\nI took a step towards that sound.\n\nA sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\nLeaving now would leave them here. Iris too.\n\nI put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\nThe house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\nNone of them had a face. All of them lifted one arm to show me the way upstairs.", + "size": 7, + "clues": "1,8,10,26", + "areas": "1,2,3,4;3,1,3,3;4,2,3,4", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/gate-v1.png", + "chapterId": "welcome", + "chapter": "III · Return to sender", + "picture": "0111110110001110010011011101100100110010011000001" + }, + { + "id": "moon", + "title": "The minute that would not end", + "memoryTitle": "Before the first stroke", + "object": "The crescent moon", + "before": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\nLydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\nI heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\nI held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\nFor seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\nI put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "after": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\nIt did not strike.\n\nA final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\nI followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\nThe thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\nOn the wall, my shadow sat down before I did.\n\nI stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "size": 7, + "clues": "8,21,36", + "areas": "1,1,4,3;2,0,4,3;0,1,4,3", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/moon-v1.png", + "chapterId": "welcome", + "chapter": "III · Return to sender", + "picture": "0001110001100001100001100000011000000110000001110" + }, + { + "id": "chair", + "title": "The place I would not take", + "memoryTitle": "The delivery", + "object": "The thirteenth chair", + "before": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\nUnder the table, something shifted its weight.\n\nIris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\nI knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\nFrom under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\nI counted the cushion's squares aloud, softly, so that I would not answer.", + "after": "The chair opened. I stepped away from it.\n\nAt the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\nWith each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\nAt Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\nThe twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\nThe mouth closed.\n\nLydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\nIris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "size": 7, + "clues": "", + "areas": "0,2,4,3;3,3,3,3;3,4,3,3", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/chair-v1.png", + "chapterId": "welcome", + "chapter": "III · Return to sender", + "picture": "0111100010010001111000100100011111001001100100010" + } + ] +} diff --git a/assets/stories/midnight-invitation/narration/cast.json b/assets/stories/midnight-invitation/narration/cast.json new file mode 100644 index 0000000..0dfdaea --- /dev/null +++ b/assets/stories/midnight-invitation/narration/cast.json @@ -0,0 +1,32 @@ +{ + "Elias": { + "voice": "bm_george", + "speed": 0.93, + "language": "en-gb", + "direction": "A postman recording a night he barely survived. Personal and restrained; fear through careful observation, not theatrical shouting." + }, + "Iris": { + "voice": "bf_emma", + "speed": 0.91, + "language": "en-gb", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + "Ada": { + "voice": "bf_isabella", + "speed": 0.94, + "language": "en-gb", + "direction": "The postmistress. A practical voice with a serious warning." + }, + "The borrowed voice": { + "voice": "bf_isabella", + "speed": 0.87, + "language": "en-gb", + "direction": "An imitation of Ada through a closed door. Do not exaggerate; its familiarity is the threat." + }, + "The echo": { + "voice": "bm_george", + "speed": 0.87, + "language": "en-gb", + "direction": "An imitation of Elias behind a door, slightly slower and distant." + } +} diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_bell_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_bell_entry.flac new file mode 100644 index 0000000..f971700 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_bell_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_bell_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_bell_memory.flac new file mode 100644 index 0000000..837bbdf Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_bell_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_candle_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_candle_entry.flac new file mode 100644 index 0000000..6de1bbd Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_candle_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_candle_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_candle_memory.flac new file mode 100644 index 0000000..17fa76c Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_candle_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_chair_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_chair_entry.flac new file mode 100644 index 0000000..e74ebbf Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_chair_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_chair_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_chair_memory.flac new file mode 100644 index 0000000..6df549e Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_chair_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_ending.flac b/assets/stories/midnight-invitation/narration/flac/midnight_ending.flac new file mode 100644 index 0000000..b841c5e Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_ending.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_feather_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_feather_entry.flac new file mode 100644 index 0000000..fc2efc1 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_feather_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_feather_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_feather_memory.flac new file mode 100644 index 0000000..b9863f6 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_feather_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_gate_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_gate_entry.flac new file mode 100644 index 0000000..7aa2f29 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_gate_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_gate_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_gate_memory.flac new file mode 100644 index 0000000..fd7a17c Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_gate_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_key_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_key_entry.flac new file mode 100644 index 0000000..5f63da2 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_key_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_key_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_key_memory.flac new file mode 100644 index 0000000..c264158 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_key_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_mask_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_mask_entry.flac new file mode 100644 index 0000000..85c6a98 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_mask_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_mask_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_mask_memory.flac new file mode 100644 index 0000000..9c0066c Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_mask_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_mirror_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_mirror_entry.flac new file mode 100644 index 0000000..2619757 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_mirror_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_mirror_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_mirror_memory.flac new file mode 100644 index 0000000..4d92e93 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_mirror_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_moon_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_moon_entry.flac new file mode 100644 index 0000000..297e61d Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_moon_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_moon_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_moon_memory.flac new file mode 100644 index 0000000..f5caf83 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_moon_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_moth_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_moth_entry.flac new file mode 100644 index 0000000..d501c35 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_moth_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_moth_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_moth_memory.flac new file mode 100644 index 0000000..8dda814 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_moth_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_needle_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_needle_entry.flac new file mode 100644 index 0000000..e474f22 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_needle_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_needle_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_needle_memory.flac new file mode 100644 index 0000000..e50dc33 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_needle_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_opening.flac b/assets/stories/midnight-invitation/narration/flac/midnight_opening.flac new file mode 100644 index 0000000..46b8e19 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_opening.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_pumpkin_entry.flac b/assets/stories/midnight-invitation/narration/flac/midnight_pumpkin_entry.flac new file mode 100644 index 0000000..e3e3bd4 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_pumpkin_entry.flac differ diff --git a/assets/stories/midnight-invitation/narration/flac/midnight_pumpkin_memory.flac b/assets/stories/midnight-invitation/narration/flac/midnight_pumpkin_memory.flac new file mode 100644 index 0000000..98449eb Binary files /dev/null and b/assets/stories/midnight-invitation/narration/flac/midnight_pumpkin_memory.flac differ diff --git a/assets/stories/midnight-invitation/narration/manifest.json b/assets/stories/midnight-invitation/narration/manifest.json new file mode 100644 index 0000000..d059040 --- /dev/null +++ b/assets/stories/midnight-invitation/narration/manifest.json @@ -0,0 +1,3362 @@ +{ + "voice": "bf_emma", + "speed": 0.82, + "language": "en-gb", + "method": "Synthetic narration rendered during development; bundled file playback only.", + "speakers": { + "Mara": { + "voice": "bf_emma", + "speed": 0.82 + }, + "Narrator": { + "voice": "bm_george", + "speed": 0.88 + }, + "Elias": { + "voice": "bm_george", + "speed": 0.93, + "language": "en-gb", + "direction": "A postman recording a night he barely survived. Personal and restrained; fear through careful observation, not theatrical shouting." + }, + "Iris": { + "voice": "bf_emma", + "speed": 0.91, + "language": "en-gb", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + "Ada": { + "voice": "bf_isabella", + "speed": 0.94, + "language": "en-gb", + "direction": "The postmistress. A practical voice with a serious warning." + }, + "The borrowed voice": { + "voice": "bf_isabella", + "speed": 0.87, + "language": "en-gb", + "direction": "An imitation of Ada through a closed door. Do not exaggerate; its familiarity is the threat." + }, + "The echo": { + "voice": "bm_george", + "speed": 0.87, + "language": "en-gb", + "direction": "An imitation of Elias behind a door, slightly slower and distant." + } + }, + "modelSha256": "7d5df8ecf7d4b1878015a32686053fd0eebe2bc377234608764cc0ef3636a6c5", + "voicesSha256": "bca610b8308e8d99f32e6fe4197e7ec01679264efed0cac9140fe9c29f1fbf7d", + "packages": { + "kokoro-onnx": "0.6.1", + "onnxruntime": "1.31.1", + "soundfile": "0.14.0", + "espeakng-loader": "0.2.4" + }, + "tracks": { + "midnight.opening": { + "pageId": "midnight.opening", + "resource": "midnight_opening", + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\nMy first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\nThe handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\nAda caught my wrist. “If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\nI asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\nOutside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "My first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Ada caught my wrist. ", + "pauseMs": 220 + }, + { + "speaker": "Ada", + "text": "“If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Outside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "pauseMs": 220 + } + ], + "file": "midnight_opening.wav", + "flacFile": "midnight_opening.flac", + "wavSha256": "248a048155f665132fbebf322db790a4360f1d4b30132515096cf3ef7296f23c", + "sampleRate": 24000, + "channels": 1, + "frames": 1581632, + "durationMs": 65901, + "textSha256": "2fdc8d91fac3ec0ec2d6c03dcd0a59fb42371eb6012bff08f1408da402a53aaf", + "flacSha256": "934cb0721ffbde9a534e44d033275a49dcb58b272a2fa57fcbc136f58e9f6295", + "cues": [ + { + "startMs": 180, + "endMs": 11359, + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12059, + "endMs": 27952, + "text": "My first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 28652, + "endMs": 36140, + "text": "The handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 36840, + "endMs": 38547, + "text": "Ada caught my wrist. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 38767, + "endMs": 43887, + "text": "“If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\n", + "speaker": "Ada", + "voice": "bf_isabella", + "speed": 0.94 + }, + { + "startMs": 44587, + "endMs": 52181, + "text": "I asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 52881, + "endMs": 65681, + "text": "Outside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_opening.wav" + }, + "midnight.pumpkin.entry": { + "pageId": "midnight.pumpkin.entry", + "resource": "midnight_pumpkin_entry", + "text": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\nI passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\nI kept walking.\n\nThorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\nI lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\nBehind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I kept walking.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "Thorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "pauseMs": 220 + } + ], + "file": "midnight_pumpkin_entry.wav", + "flacFile": "midnight_pumpkin_entry.flac", + "wavSha256": "ab6b528cc6ea4a721345f61bd5f67cedc9af2262c35e5ccf7a9745d0755492ce", + "sampleRate": 24000, + "channels": 1, + "frames": 1438336, + "durationMs": 59931, + "textSha256": "7399cfd9ebe7222d968d4b3df6aac98def29621ed83a9a51fb2dcbd10410f492", + "flacSha256": "87a1925dffc59dcd42ab48c0fcb0206bfeef904ae438c66af5dbef839db2eb43", + "cues": [ + { + "startMs": 180, + "endMs": 12425, + "text": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13125, + "endMs": 21936, + "text": "I passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22636, + "endMs": 24044, + "text": "I kept walking.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25244, + "endMs": 39303, + "text": "Thorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40003, + "endMs": 51885, + "text": "I lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 52585, + "endMs": 59711, + "text": "Behind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_pumpkin_entry.wav" + }, + "midnight.pumpkin.memory": { + "pageId": "midnight.pumpkin.memory", + "resource": "midnight_pumpkin_memory", + "text": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\nUnder the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\nI pulled my collar over the empty place where my badge had been.\n\nTwelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\nThe raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\nFrom somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Under the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I pulled my collar over the empty place where my badge had been.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Twelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "pauseMs": 220 + } + ], + "file": "midnight_pumpkin_memory.wav", + "flacFile": "midnight_pumpkin_memory.flac", + "wavSha256": "c44a4668eba180d79f62abb96f15f0ff421d5013caa034995dc586f21ef1ab9a", + "sampleRate": 24000, + "channels": 1, + "frames": 1336224, + "durationMs": 55676, + "textSha256": "dd2a57d41f2a0a88f6ff615f1f193ab4e0fef54b342f5fa51edba88961595831", + "flacSha256": "05d89aace2eda659c547f7b1df9ec8cde6b6f6b2223bfdb9f0df4e5f2bc70863", + "cues": [ + { + "startMs": 180, + "endMs": 7433, + "text": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8133, + "endMs": 23109, + "text": "Under the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 23809, + "endMs": 28204, + "text": "I pulled my collar over the empty place where my badge had been.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 28904, + "endMs": 39485, + "text": "Twelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40185, + "endMs": 47332, + "text": "The raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48032, + "endMs": 55456, + "text": "From somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_pumpkin_memory.wav" + }, + "midnight.feather.entry": { + "pageId": "midnight.feather.entry", + "resource": "midnight_feather_entry", + "text": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\nI recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\nBelow the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\nI rubbed it away with my sleeve. The mark came back.\n\nThe raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\nI set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Below the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I rubbed it away with my sleeve. The mark came back.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "pauseMs": 220 + } + ], + "file": "midnight_feather_entry.wav", + "flacFile": "midnight_feather_entry.flac", + "wavSha256": "c80d0be1603ba81d4e94c946479b7f6b3111d15cefb87137d4111f4ade510246", + "sampleRate": 24000, + "channels": 1, + "frames": 1300384, + "durationMs": 54183, + "textSha256": "2820e88a5385ae754604378fa16bbf015a017b1e9e71b2255937eee939c52ea1", + "flacSha256": "f17386a26e4f85605e1f022b068ae3cdbb27c6b3c1ba829c7d09e0753e4970ef", + "cues": [ + { + "startMs": 180, + "endMs": 12105, + "text": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12805, + "endMs": 22768, + "text": "I recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 23468, + "endMs": 30743, + "text": "Below the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31443, + "endMs": 34984, + "text": "I rubbed it away with my sleeve. The mark came back.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 35684, + "endMs": 46095, + "text": "The raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 46795, + "endMs": 53963, + "text": "I set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_feather_entry.wav" + }, + "midnight.feather.memory": { + "pageId": "midnight.feather.memory", + "resource": "midnight_feather_memory", + "text": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\nAt the door I knocked twice. A chair scraped over the floor on the other side.\n\n“The hall is closed. Go back before it learns your face.”\n\nThe woman sounded close to the wood. I said, “I have a letter for the thirteenth place.”\n\nSilence. Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\nThe letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\nI stepped back. The flap fell shut, and the woman whispered, “Hurry.”", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the door I knocked twice.", + "pauseMs": 1350, + "afterEffect": "door-knock" + }, + { + "speaker": "Elias", + "text": " A chair scraped over the floor on the other side.\n\n", + "pauseMs": 1350, + "afterEffect": "chair-shift" + }, + { + "speaker": "Iris", + "text": "“The hall is closed. Go back before it learns your face.”\n\n", + "pauseMs": 700, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The woman sounded close to the wood. I said, ", + "pauseMs": 220 + }, + { + "speaker": "Elias", + "text": "“I have a letter for the thirteenth place.”\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Silence.", + "pauseMs": 1500 + }, + { + "speaker": "Elias", + "text": " Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\n", + "pauseMs": 700, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I stepped back. The flap fell shut, and the woman whispered, ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Hurry.”", + "pauseMs": 220, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + } + ], + "file": "midnight_feather_memory.wav", + "flacFile": "midnight_feather_memory.flac", + "wavSha256": "b028965c7ba5603947e306cc46f6d75305ac9e56e7609ce8814d19953f1a5dac", + "sampleRate": 24000, + "channels": 1, + "frames": 1396288, + "durationMs": 58179, + "textSha256": "e93d3218bfab1caa19d969dd43795a9dab3f6dac5710234703eaeac3529c0980", + "flacSha256": "6dd45416f20e9eb31a21e07b0242671ba2acc06a29b537f08337751a9e00e81e", + "cues": [ + { + "startMs": 180, + "endMs": 10740, + "text": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11440, + "endMs": 13552, + "text": "At the door I knocked twice.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 14902, + "endMs": 18166, + "text": " A chair scraped over the floor on the other side.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 19516, + "endMs": 22737, + "text": "“The hall is closed. Go back before it learns your face.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 23437, + "endMs": 26445, + "text": "The woman sounded close to the wood. I said, ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 26665, + "endMs": 29268, + "text": "“I have a letter for the thirteenth place.”\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 29968, + "endMs": 30928, + "text": "Silence.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32428, + "endMs": 39297, + "text": " Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 39997, + "endMs": 46227, + "text": "“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 46927, + "endMs": 52239, + "text": "The letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 52939, + "endMs": 56800, + "text": "I stepped back. The flap fell shut, and the woman whispered, ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 57020, + "endMs": 57959, + "text": "“Hurry.”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + } + ], + "events": [ + { + "effect": "door-knock", + "startMs": 13712, + "endMs": 14712 + }, + { + "effect": "chair-shift", + "startMs": 18326, + "endMs": 19126 + } + ], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_feather_memory.wav" + }, + "midnight.key.entry": { + "pageId": "midnight.key.entry", + "resource": "midnight_key_entry", + "text": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\nI brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n“Is that you, Elias?”\n\nIt was Ada's voice. For one foolish instant I began to answer.\n\nThe real woman struck the inside of the door with something heavy. “That was not me.”\n\nI pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\nI worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n", + "pauseMs": 700 + }, + { + "speaker": "The borrowed voice", + "text": "“Is that you, Elias?”\n\n", + "pauseMs": 700, + "perspective": "behind-door" + }, + { + "speaker": "Elias", + "text": "It was Ada's voice. For one foolish instant I began to answer.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The real woman struck the inside of the door with something heavy. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“That was not me.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "pauseMs": 220 + } + ], + "file": "midnight_key_entry.wav", + "flacFile": "midnight_key_entry.flac", + "wavSha256": "cb3a236f71f239df49ec6b9185e868d93a2b826a8079161c1bb24f6720094739", + "sampleRate": 24000, + "channels": 1, + "frames": 1347040, + "durationMs": 56127, + "textSha256": "4e9fb05e00bcc50fbcbb29857e756d623f1cf24d4677fc0da2c3492fa38f2c72", + "flacSha256": "90591eb339ff8b09c0f7724b5f09adf047e3d7632ec67fdf45608d2a41fb3a9c", + "cues": [ + { + "startMs": 180, + "endMs": 13279, + "text": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13979, + "endMs": 22213, + "text": "I brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22913, + "endMs": 24727, + "text": "“Is that you, Elias?”\n\n", + "speaker": "The borrowed voice", + "voice": "bf_isabella", + "speed": 0.87 + }, + { + "startMs": 25427, + "endMs": 30312, + "text": "It was Ada's voice. For one foolish instant I began to answer.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31012, + "endMs": 35023, + "text": "The real woman struck the inside of the door with something heavy. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 35243, + "endMs": 36629, + "text": "“That was not me.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 37329, + "endMs": 47356, + "text": "I pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48056, + "endMs": 55907, + "text": "I worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_key_entry.wav" + }, + "midnight.key.memory": { + "pageId": "midnight.key.memory", + "resource": "midnight_key_memory", + "text": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\nThe woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\nShe was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n“Good. Ada remembered.”\n\nTwelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\nThrough the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\nWhile I watched, it turned towards me. There was nothing beneath it to move it.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Good. Ada remembered.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Twelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Through the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "While I watched, it turned towards me. There was nothing beneath it to move it.", + "pauseMs": 220 + } + ], + "file": "midnight_key_memory.wav", + "flacFile": "midnight_key_memory.flac", + "wavSha256": "ec0afef2285944f4dae0be7f4ccd88ff04d5f3d8b14910068314fbed7ad77290", + "sampleRate": 24000, + "channels": 1, + "frames": 1325888, + "durationMs": 55245, + "textSha256": "720b7bb59aec91b9cc22ca1ee0ad78a8471a4a4481394073b283a5b5a466b51f", + "flacSha256": "acb7c48ba4770cbe2f103445743211115601aaa426cb70fb42a9c65b59024448", + "cues": [ + { + "startMs": 180, + "endMs": 7945, + "text": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8645, + "endMs": 17627, + "text": "The woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 18327, + "endMs": 29399, + "text": "She was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 30099, + "endMs": 31741, + "text": "“Good. Ada remembered.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 32441, + "endMs": 41721, + "text": "Twelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42421, + "endMs": 49589, + "text": "Through the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 50289, + "endMs": 55025, + "text": "While I watched, it turned towards me. There was nothing beneath it to move it.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_key_memory.wav" + }, + "midnight.mask.entry": { + "pageId": "midnight.mask.entry", + "resource": "midnight_mask_entry", + "text": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\nI asked what she meant by it.\n\nThe ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\nIris pushed the box towards me. “The pattern holds the disguise together. Finish it before looking in the mirror.”\n\nI wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\nI closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I asked what she meant by it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris pushed the box towards me. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“The pattern holds the disguise together. Finish it before looking in the mirror.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "pauseMs": 220 + } + ], + "file": "midnight_mask_entry.wav", + "flacFile": "midnight_mask_entry.flac", + "wavSha256": "a6324a2c53bd4b010050da6563098a2ce20e7a251da4a111b002843271377ad6", + "sampleRate": 24000, + "channels": 1, + "frames": 1355744, + "durationMs": 56489, + "textSha256": "22672b257e0cfc68d45fac9ec4c402830df90c323d827dbc6c09fbdf6b75b229", + "flacSha256": "4ec900a825cb7f09a18cd8bfd9ad478c2839f0a9cff135ee47312946a6854f60", + "cues": [ + { + "startMs": 180, + "endMs": 12425, + "text": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13125, + "endMs": 17605, + "text": "“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 18305, + "endMs": 20396, + "text": "I asked what she meant by it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 21096, + "endMs": 28925, + "text": "The ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 29625, + "endMs": 31887, + "text": "Iris pushed the box towards me. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32107, + "endMs": 36416, + "text": "“The pattern holds the disguise together. Finish it before looking in the mirror.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 37116, + "endMs": 48657, + "text": "I wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 49357, + "endMs": 56269, + "text": "I closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_mask_entry.wav" + }, + "midnight.mask.memory": { + "pageId": "midnight.mask.memory", + "resource": "midnight_mask_memory", + "text": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\nIn the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\nBetween those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\nI looked away.\n\n“Lydia was my mother,” Iris said. “She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\nI asked how long Iris had been alone here.\n\nShe studied the scar on her wrist. “I can remember the years. I cannot seem to grow older in them.”\n\nFrom the dining room came the careful scrape of a chair being pulled out for a guest.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Between those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I looked away.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Lydia was my mother,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " Iris said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I asked how long Iris had been alone here.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She studied the scar on her wrist. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“I can remember the years. I cannot seem to grow older in them.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "From the dining room came the careful scrape of a chair being pulled out for a guest.", + "pauseMs": 220 + } + ], + "file": "midnight_mask_memory.wav", + "flacFile": "midnight_mask_memory.flac", + "wavSha256": "65621dd38706b24ca43eea2529c5bd788bbca40e363f6783d2d44addb48d3ed5", + "sampleRate": 24000, + "channels": 1, + "frames": 1325248, + "durationMs": 55219, + "textSha256": "72b5dedcb20e9483f456b2fa79506add22605a0df135f4f05d49ae828a7bbce5", + "flacSha256": "424d9a37ea7269c0c08bc89f78d1ebcbdde9f728d95755e44f700113b965258b", + "cues": [ + { + "startMs": 180, + "endMs": 6601, + "text": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 7301, + "endMs": 18629, + "text": "In the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 19329, + "endMs": 27137, + "text": "Between those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 27837, + "endMs": 29139, + "text": "I looked away.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 29839, + "endMs": 31396, + "text": "“Lydia was my mother,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 31616, + "endMs": 32725, + "text": " Iris said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32945, + "endMs": 37873, + "text": "“She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 38573, + "endMs": 41816, + "text": "I asked how long Iris had been alone here.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42516, + "endMs": 45119, + "text": "She studied the scar on her wrist. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 45339, + "endMs": 49051, + "text": "“I can remember the years. I cannot seem to grow older in them.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 49751, + "endMs": 54999, + "text": "From the dining room came the careful scrape of a chair being pulled out for a guest.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_mask_memory.wav" + }, + "midnight.candle.entry": { + "pageId": "midnight.candle.entry", + "resource": "midnight_candle_entry", + "text": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n“I made them that evening,” she said. “I keep forgetting they will not cool.”\n\nBeside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\nI spread the paper beneath the lamp. The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\nWet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\nIris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“I made them that evening,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“I keep forgetting they will not cool.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Beside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I spread the paper beneath the lamp.", + "pauseMs": 1350, + "afterEffect": "paper" + }, + { + "speaker": "Elias", + "text": " The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Wet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "pauseMs": 220 + } + ], + "file": "midnight_candle_entry.wav", + "flacFile": "midnight_candle_entry.flac", + "wavSha256": "248a1e23374560a8a563adee3503e9525ab345f64dd42f5754498f7e808e6da7", + "sampleRate": 24000, + "channels": 1, + "frames": 1388400, + "durationMs": 57850, + "textSha256": "543edf12907d4cd93c41b7fc1739be091734952536b5dd30755c99167064102d", + "flacSha256": "c4431aa9e4bb7e16bc2502dd2a62792a2d0d2e1af0cc4893da4b2e410eb95265", + "cues": [ + { + "startMs": 180, + "endMs": 13257, + "text": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13957, + "endMs": 15621, + "text": "“I made them that evening,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 15841, + "endMs": 16801, + "text": " she said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 17021, + "endMs": 19219, + "text": "“I keep forgetting they will not cool.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 19919, + "endMs": 31097, + "text": "Beside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31797, + "endMs": 34272, + "text": "I spread the paper beneath the lamp.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 35622, + "endMs": 42726, + "text": " The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 43426, + "endMs": 50018, + "text": "Wet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 50718, + "endMs": 57630, + "text": "Iris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [ + { + "effect": "paper", + "startMs": 34432, + "endMs": 35132 + } + ], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_candle_entry.wav" + }, + "midnight.candle.memory": { + "pageId": "midnight.candle.memory", + "resource": "midnight_candle_memory", + "text": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\nIris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n“It follows warmth,” she said. “And voices. It remembers everyone who answers.”\n\nBetween the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\nBeyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\nI held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“It follows warmth,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“And voices. It remembers everyone who answers.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Between the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Beyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "pauseMs": 220 + } + ], + "file": "midnight_candle_memory.wav", + "flacFile": "midnight_candle_memory.flac", + "wavSha256": "b6b4ba9d8783f1adc7f252824eeebaf3e348400501906bb68721c3c9cea443e9", + "sampleRate": 24000, + "channels": 1, + "frames": 1339616, + "durationMs": 55817, + "textSha256": "baf54ba09ce4ccfb01d0e2311864938f5bca147c0822ded4359f4186c573abd5", + "flacSha256": "5bf5cba5df783f2129b6e02c2060ef882f274c35ab3bad2905d98df485cda1b1", + "cues": [ + { + "startMs": 180, + "endMs": 8927, + "text": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 9627, + "endMs": 21509, + "text": "Iris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22209, + "endMs": 23639, + "text": "“It follows warmth,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 23859, + "endMs": 24819, + "text": " she said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25039, + "endMs": 27684, + "text": "“And voices. It remembers everyone who answers.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 28384, + "endMs": 39648, + "text": "Between the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40348, + "endMs": 47772, + "text": "Beyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48472, + "endMs": 55597, + "text": "I held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_candle_memory.wav" + }, + "midnight.moth.entry": { + "pageId": "midnight.moth.entry", + "resource": "midnight_moth_entry", + "text": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\nIn the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\nThere was no photograph of them leaving.\n\nThe moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\nBehind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\nIris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There was no photograph of them leaving.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "pauseMs": 220 + } + ], + "file": "midnight_moth_entry.wav", + "flacFile": "midnight_moth_entry.flac", + "wavSha256": "29fb93abc68a335a540106c549fd2600cfc470cecd2ec822b920d2e9f0dfa728", + "sampleRate": 24000, + "channels": 1, + "frames": 1345440, + "durationMs": 56060, + "textSha256": "d109bc33ed5a1f5d46ff62b9971ea6052ac42639da4036fdbb27e3bf378a6cb2", + "flacSha256": "c5686ad55ec4504de8e254416d660bde3ccde118e573bc4312303413a975eacd", + "cues": [ + { + "startMs": 180, + "endMs": 12745, + "text": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13445, + "endMs": 22000, + "text": "In the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22700, + "endMs": 25537, + "text": "There was no photograph of them leaving.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 26237, + "endMs": 36797, + "text": "The moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 37497, + "endMs": 44217, + "text": "Behind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 44917, + "endMs": 55840, + "text": "Iris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_moth_entry.wav" + }, + "midnight.moth.memory": { + "pageId": "midnight.moth.memory", + "resource": "midnight_moth_memory", + "text": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\nIris read over my shoulder. “Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\nLydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\nThe next name it wanted was mine.\n\nAt the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\nThe moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris read over my shoulder. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Lydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The next name it wanted was mine.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "pauseMs": 220 + } + ], + "file": "midnight_moth_memory.wav", + "flacFile": "midnight_moth_memory.flac", + "wavSha256": "a7227ffcd982eb5f25462f4c9c63def420073947c6cc1bbf375d6bd4bd4237e8", + "sampleRate": 24000, + "channels": 1, + "frames": 1417280, + "durationMs": 59053, + "textSha256": "7f44021e415a0f1483ab292e90453bed18f58da96b16ef3a62ace1272c530934", + "flacSha256": "20623a472f07e922d6e0d5b8c723da724d160b7dc543a465d3347daf22c5074a", + "cues": [ + { + "startMs": 180, + "endMs": 8052, + "text": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8752, + "endMs": 11269, + "text": "Iris read over my shoulder. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11489, + "endMs": 19980, + "text": "“Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 20680, + "endMs": 36445, + "text": "Lydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 37145, + "endMs": 39940, + "text": "The next name it wanted was mine.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40640, + "endMs": 45909, + "text": "At the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 46609, + "endMs": 58833, + "text": "The moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_moth_memory.wav" + }, + "midnight.bell.entry": { + "pageId": "midnight.bell.entry", + "resource": "midnight_bell_entry", + "text": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\nLydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\nIris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n“Ada is taller than that,” Iris said.\n\nI looked again. The coat reached the ground, but the face was scarcely above the sill.\n\nWhatever wore it smiled. There was someone else's face inside the smile.\n\nI bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Lydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Ada is taller than that,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " Iris said.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I looked again. The coat reached the ground, but the face was scarcely above the sill.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Whatever wore it smiled. There was someone else's face inside the smile.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "pauseMs": 220 + } + ], + "file": "midnight_bell_entry.wav", + "flacFile": "midnight_bell_entry.flac", + "wavSha256": "b67a5f254a617c63bb66eca3d170e190a17d1eaf239f9e35edda1dba3aa5173a", + "sampleRate": 24000, + "channels": 1, + "frames": 1325024, + "durationMs": 55209, + "textSha256": "a5e2724797b4811df71f3894d635f25f40ca3540c56f819c5c4807a5d6848bb1", + "flacSha256": "73feed7a6e6144cb8a6e3e3ec8c2a146468eb5feb6ab92323f8092fdca33f441", + "cues": [ + { + "startMs": 180, + "endMs": 13257, + "text": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13957, + "endMs": 21211, + "text": "Lydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 21911, + "endMs": 31980, + "text": "Iris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32680, + "endMs": 34429, + "text": "“Ada is taller than that,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 34649, + "endMs": 35759, + "text": " Iris said.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 36459, + "endMs": 42112, + "text": "I looked again. The coat reached the ground, but the face was scarcely above the sill.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42812, + "endMs": 47655, + "text": "Whatever wore it smiled. There was someone else's face inside the smile.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48355, + "endMs": 54989, + "text": "I bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_bell_entry.wav" + }, + "midnight.bell.memory": { + "pageId": "midnight.bell.memory", + "resource": "midnight_bell_memory", + "text": "The clapper fell free. I sounded the bell once.\n\nThe face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\nFrom the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\nIris gripped the edge of the table. “We can get them out.”\n\nI found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\nI reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\nAcross the missing line ran a row of small, wet marks. They were the shape of teeth.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The clapper fell free. I sounded the bell once.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris gripped the edge of the table. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“We can get them out.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Across the missing line ran a row of small, wet marks. They were the shape of teeth.", + "pauseMs": 220 + } + ], + "file": "midnight_bell_memory.wav", + "flacFile": "midnight_bell_memory.flac", + "wavSha256": "58783ac1b718163d7d905428b54422a154737a31b2baef2514076ce1ca31f66c", + "sampleRate": 24000, + "channels": 1, + "frames": 1295840, + "durationMs": 53993, + "textSha256": "9ac801b9bd9555f10c23d88ab479fa4ba3499227b9af28fb7e8a1cd5cc5a7654", + "flacSha256": "8abb914d9fac87ad66e04a527b8a9ace8aa3e18ff5818234f4c8b1a5b16b6c2d", + "cues": [ + { + "startMs": 180, + "endMs": 3465, + "text": "The clapper fell free. I sounded the bell once.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 4165, + "endMs": 12549, + "text": "The face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13249, + "endMs": 22039, + "text": "From the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22739, + "endMs": 25149, + "text": "Iris gripped the edge of the table. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25369, + "endMs": 26863, + "text": "“We can get them out.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 27563, + "endMs": 38976, + "text": "I found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 39676, + "endMs": 47420, + "text": "I reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48120, + "endMs": 53773, + "text": "Across the missing line ran a row of small, wet marks. They were the shape of teeth.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_bell_memory.wav" + }, + "midnight.needle.entry": { + "pageId": "midnight.needle.entry", + "resource": "midnight_needle_entry", + "text": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\nIris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n“Mother repaired everything,” she said. “Even things the house wanted broken.”\n\nThe cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\nI put it down. The correct shape was waiting in the grid.\n\nBehind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Mother repaired everything,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Even things the house wanted broken.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put it down. The correct shape was waiting in the grid.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "pauseMs": 220 + } + ], + "file": "midnight_needle_entry.wav", + "flacFile": "midnight_needle_entry.flac", + "wavSha256": "1a916610faa8dcd7c4688637afc7b806409772ffe6bf10df56195ededd9d9df3", + "sampleRate": 24000, + "channels": 1, + "frames": 1325280, + "durationMs": 55220, + "textSha256": "b6611c1e8e41512456f2e25f5cce86b897b5251c5698521e54cddd1cec217ce5", + "flacSha256": "b6576d44129ba2b7ecbb27d65c77e3b040caa75d83af6865b1a220468b016eea", + "cues": [ + { + "startMs": 180, + "endMs": 13833, + "text": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 14533, + "endMs": 24731, + "text": "Iris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25431, + "endMs": 27116, + "text": "“Mother repaired everything,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 27336, + "endMs": 28296, + "text": " she said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 28516, + "endMs": 30884, + "text": "“Even things the house wanted broken.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 31584, + "endMs": 42123, + "text": "The cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42823, + "endMs": 46684, + "text": "I put it down. The correct shape was waiting in the grid.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47384, + "endMs": 55000, + "text": "Behind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_needle_entry.wav" + }, + "midnight.needle.memory": { + "pageId": "midnight.needle.memory", + "resource": "midnight_needle_memory", + "text": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\nAt once the paper went still.\n\nThe writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\nIris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n“There is a mirror in the parlour,” she said. “Keep the mask on.”\n\nOn the other side of the kitchen door, my humming stopped.\n\nA man's voice said, quite reasonably, “I am only trying to finish my delivery.”\n\nI knew how frightened I must sound. That was what frightened me most.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At once the paper went still.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“There is a mirror in the parlour,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Keep the mask on.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "On the other side of the kitchen door, my humming stopped.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A man's voice said, quite reasonably, ", + "pauseMs": 220 + }, + { + "speaker": "The echo", + "text": "“I am only trying to finish my delivery.”\n\n", + "pauseMs": 700, + "perspective": "behind-door" + }, + { + "speaker": "Elias", + "text": "I knew how frightened I must sound. That was what frightened me most.", + "pauseMs": 220 + } + ], + "file": "midnight_needle_memory.wav", + "flacFile": "midnight_needle_memory.flac", + "wavSha256": "cfd5c607a74d0cca2db84c79da2efe8ca76e0e09946f31a47a69128e2c3fc8d0", + "sampleRate": 24000, + "channels": 1, + "frames": 1416896, + "durationMs": 59037, + "textSha256": "2e9102ecd0e61cba7f67ea784ab1048d817fd3fd3561e8a173ab3ab95345263a", + "flacSha256": "d149ce6d36f61ef42c8f30bc9570a73c9be38618cf4c6431b18b732be7b6b405", + "cues": [ + { + "startMs": 180, + "endMs": 8137, + "text": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8837, + "endMs": 10885, + "text": "At once the paper went still.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11585, + "endMs": 25431, + "text": "The writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 26131, + "endMs": 37437, + "text": "Iris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 38137, + "endMs": 39993, + "text": "“There is a mirror in the parlour,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 40213, + "endMs": 41173, + "text": " she said. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 41393, + "endMs": 42801, + "text": "“Keep the mask on.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 43501, + "endMs": 47107, + "text": "On the other side of the kitchen door, my humming stopped.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47807, + "endMs": 50623, + "text": "A man's voice said, quite reasonably, ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 50843, + "endMs": 53616, + "text": "“I am only trying to finish my delivery.”\n\n", + "speaker": "The echo", + "voice": "bm_george", + "speed": 0.87 + }, + { + "startMs": 54316, + "endMs": 58817, + "text": "I knew how frightened I must sound. That was what frightened me most.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_needle_memory.wav" + }, + "midnight.mirror.entry": { + "pageId": "midnight.mirror.entry", + "resource": "midnight_mirror_entry", + "text": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\nMy reflection was already looking at me.\n\nI had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\nThe wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\nIris placed the candle on the shelf. “Finish the border. Do not listen to him.”\n\nThe man in the mirror took off his cat mask. I kept mine on.\n\nI worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "My reflection was already looking at me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris placed the candle on the shelf. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Finish the border. Do not listen to him.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The man in the mirror took off his cat mask. I kept mine on.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "pauseMs": 220 + } + ], + "file": "midnight_mirror_entry.wav", + "flacFile": "midnight_mirror_entry.flac", + "wavSha256": "651489f7a82d1bd9896e961d0421e9b022e0ab2f2103d9e5b355fe015251d93f", + "sampleRate": 24000, + "channels": 1, + "frames": 1363936, + "durationMs": 56831, + "textSha256": "73853f4477430ab46eb842b448f7ab8caf9845facbbf6cf923bd7ceddd3531e1", + "flacSha256": "a1ca5df3db6c5620c1db34619488b69b9b314568e1593dd2d35dcd4cb291c547", + "cues": [ + { + "startMs": 180, + "endMs": 8052, + "text": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8752, + "endMs": 11717, + "text": "My reflection was already looking at me.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12417, + "endMs": 22081, + "text": "I had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22781, + "endMs": 35880, + "text": "The wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 36580, + "endMs": 39289, + "text": "Iris placed the candle on the shelf. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 39509, + "endMs": 41771, + "text": "“Finish the border. Do not listen to him.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 42471, + "endMs": 46695, + "text": "The man in the mirror took off his cat mask. I kept mine on.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47395, + "endMs": 56611, + "text": "I worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_mirror_entry.wav" + }, + "midnight.mirror.memory": { + "pageId": "midnight.mirror.memory", + "resource": "midnight_mirror_memory", + "text": "The last piece fitted. My reflection stopped moving.\n\nIn the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\nThere was no mistake in the delivery. I was the thing being delivered.\n\nBelow it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\nIris looked at me. “Mother kept a way back. All these years.”\n\nThe man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\nI wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\nFor the first time that night, the house made a sound like pain.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The last piece fitted. My reflection stopped moving.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There was no mistake in the delivery. I was the thing being delivered.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Below it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris looked at me. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Mother kept a way back. All these years.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "For the first time that night, the house made a sound like pain.", + "pauseMs": 220 + } + ], + "file": "midnight_mirror_memory.wav", + "flacFile": "midnight_mirror_memory.flac", + "wavSha256": "f5124df359f8e3f9e4895b50cc6c68920bcee275b630c77130546f0ad7a3a362", + "sampleRate": 24000, + "channels": 1, + "frames": 1356160, + "durationMs": 56507, + "textSha256": "7e6a9aeef3da7bd797b8e11040a73fe5856ecb416e3802778e206520c604692a", + "flacSha256": "42407e1a872201ef26c273516d388708b3e15559b10c94a2853dc24093e93618", + "cues": [ + { + "startMs": 180, + "endMs": 3785, + "text": "The last piece fitted. My reflection stopped moving.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 4485, + "endMs": 11952, + "text": "In the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12652, + "endMs": 17217, + "text": "There was no mistake in the delivery. I was the thing being delivered.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 17917, + "endMs": 29757, + "text": "Below it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 30457, + "endMs": 32121, + "text": "Iris looked at me. ", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32341, + "endMs": 34773, + "text": "“Mother kept a way back. All these years.”\n\n", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 35473, + "endMs": 42151, + "text": "The man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 42851, + "endMs": 51576, + "text": "I wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 52276, + "endMs": 56287, + "text": "For the first time that night, the house made a sound like pain.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_mirror_memory.wav" + }, + "midnight.gate.entry": { + "pageId": "midnight.gate.entry", + "resource": "midnight_gate_entry", + "text": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\nBetween us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\nThrough the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n“Eyes on the iron,” she said.\n\nI wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\nBehind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Between us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Through the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Eyes on the iron,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "pauseMs": 220 + } + ], + "file": "midnight_gate_entry.wav", + "flacFile": "midnight_gate_entry.flac", + "wavSha256": "54d87e6a129fadf237d0f4b4bc661ab9e8e89c75114bce9c7c94808929be0d9b", + "sampleRate": 24000, + "channels": 1, + "frames": 1346624, + "durationMs": 56109, + "textSha256": "c7d29ed6510731ae22e6dab5684009845d3409c76da85caf504f521ace281937", + "flacSha256": "99aff3d8595a625c6607c8bf50298f93007ad4c23bcdeaf4d676c8b612e925fc", + "cues": [ + { + "startMs": 180, + "endMs": 9972, + "text": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 10672, + "endMs": 23536, + "text": "Between us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 24236, + "endMs": 33985, + "text": "Through the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 34685, + "endMs": 36093, + "text": "“Eyes on the iron,”", + "speaker": "Iris", + "voice": "bf_emma", + "speed": 0.91 + }, + { + "startMs": 36313, + "endMs": 37273, + "text": " she said.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 37973, + "endMs": 46827, + "text": "I wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47527, + "endMs": 55889, + "text": "Behind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_gate_entry.wav" + }, + "midnight.gate.memory": { + "pageId": "midnight.gate.memory", + "resource": "midnight_gate_memory", + "text": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\nI took a step towards that sound.\n\nA sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\nLeaving now would leave them here. Iris too.\n\nI put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\nThe house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\nNone of them had a face. All of them lifted one arm to show me the way upstairs.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I took a step towards that sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Leaving now would leave them here. Iris too.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "None of them had a face. All of them lifted one arm to show me the way upstairs.", + "pauseMs": 220 + } + ], + "file": "midnight_gate_memory.wav", + "flacFile": "midnight_gate_memory.flac", + "wavSha256": "074082212bb57489fb185b5d56d151e72fcce942ae2f8159d6dfa99ad202095c", + "sampleRate": 24000, + "channels": 1, + "frames": 1258816, + "durationMs": 52451, + "textSha256": "20e1f483acd5ced8974ecc9d4b9aca0c84685e98c8bf19e251a39f900546c1fb", + "flacSha256": "5c190abdbf006dc2be86af73eeb3551536104076afaee3ac0dde1f2a486986a4", + "cues": [ + { + "startMs": 180, + "endMs": 12105, + "text": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 12805, + "endMs": 15323, + "text": "I took a step towards that sound.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 16023, + "endMs": 27073, + "text": "A sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 27773, + "endMs": 31016, + "text": "Leaving now would leave them here. Iris too.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31716, + "endMs": 38116, + "text": "I put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 38816, + "endMs": 46133, + "text": "The house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 46833, + "endMs": 52231, + "text": "None of them had a face. All of them lifted one arm to show me the way upstairs.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_gate_memory.wav" + }, + "midnight.moon.entry": { + "pageId": "midnight.moon.entry", + "resource": "midnight_moon_entry", + "text": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\nLydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\nI heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\nI held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\nFor seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\nI put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Lydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "For seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "pauseMs": 220 + } + ], + "file": "midnight_moon_entry.wav", + "flacFile": "midnight_moon_entry.flac", + "wavSha256": "b9bdf8ce4bbb2e4235aff5b49a5c3665d9e224343927bf9d09cce4c01601fa38", + "sampleRate": 24000, + "channels": 1, + "frames": 1338784, + "durationMs": 55783, + "textSha256": "860f383f3409b4848d6d9a2de6e938053b8526b9b3d02fad8d7ff109915a3da5", + "flacSha256": "2200e1057331cfe6961c3a0f772c839375138ba96787280b1980ce514a9fbaa1", + "cues": [ + { + "startMs": 180, + "endMs": 11273, + "text": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11973, + "endMs": 22277, + "text": "Lydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 22977, + "endMs": 32279, + "text": "I heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32979, + "endMs": 40296, + "text": "I held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40996, + "endMs": 46756, + "text": "For seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 47456, + "endMs": 55563, + "text": "I put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_moon_entry.wav" + }, + "midnight.moon.memory": { + "pageId": "midnight.moon.memory", + "resource": "midnight_moon_memory", + "text": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\nIt did not strike.\n\nA final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\nI followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\nThe thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\nOn the wall, my shadow sat down before I did.\n\nI stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "It did not strike.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "A final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "On the wall, my shadow sat down before I did.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "pauseMs": 220 + } + ], + "file": "midnight_moon_memory.wav", + "flacFile": "midnight_moon_memory.flac", + "wavSha256": "2c24b0a35bf6ecdb24725f4c4075d0d3ee3d64668103307234c38dc4f33b9642", + "sampleRate": 24000, + "channels": 1, + "frames": 1382432, + "durationMs": 57601, + "textSha256": "6bb20bddcbc805e8193d3347636cc69d987150773c86ea1fed106c7741ba9784", + "flacSha256": "1edd69e9f04baf74d1ad55027a866faa9eca8d66a98fd4b59e5199cfd34a99c4", + "cues": [ + { + "startMs": 180, + "endMs": 7689, + "text": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 8389, + "endMs": 9840, + "text": "It did not strike.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 11040, + "endMs": 22453, + "text": "A final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 23153, + "endMs": 35185, + "text": "I followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 35885, + "endMs": 44099, + "text": "The thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 44799, + "endMs": 48148, + "text": "On the wall, my shadow sat down before I did.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48848, + "endMs": 57381, + "text": "I stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_moon_memory.wav" + }, + "midnight.chair.entry": { + "pageId": "midnight.chair.entry", + "resource": "midnight_chair_entry", + "text": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\nUnder the table, something shifted its weight.\n\nIris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\nI knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\nFrom under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\nI counted the cushion's squares aloud, softly, so that I would not answer.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Under the table, something shifted its weight.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I counted the cushion's squares aloud, softly, so that I would not answer.", + "pauseMs": 220 + } + ], + "file": "midnight_chair_entry.wav", + "flacFile": "midnight_chair_entry.flac", + "wavSha256": "79c4df589f7bc9eae630f1d57e137ce151913b1fc9126f04a470bc4b571fe659", + "sampleRate": 24000, + "channels": 1, + "frames": 1304992, + "durationMs": 54375, + "textSha256": "84fe6353f8f56a2bb9d05717199620b2183b5a052bb106a4c8f604d7941d7a82", + "flacSha256": "538b1b4df15b8aa3c018b42367933b999f3fa6f96ec586a5be66580e8af42c60", + "cues": [ + { + "startMs": 180, + "endMs": 15263, + "text": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 15963, + "endMs": 19013, + "text": "Under the table, something shifted its weight.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 19713, + "endMs": 31425, + "text": "Iris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 32125, + "endMs": 40147, + "text": "I knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 40847, + "endMs": 48633, + "text": "From under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 49333, + "endMs": 54155, + "text": "I counted the cushion's squares aloud, softly, so that I would not answer.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_chair_entry.wav" + }, + "midnight.chair.memory": { + "pageId": "midnight.chair.memory", + "resource": "midnight_chair_memory", + "text": "The chair opened. I stepped away from it.\n\nAt the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\nWith each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\nAt Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\nThe twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\nThe mouth closed.\n\nLydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\nIris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The chair opened. I stepped away from it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "With each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The mouth closed.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "Lydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "pauseMs": 220 + } + ], + "file": "midnight_chair_memory.wav", + "flacFile": "midnight_chair_memory.flac", + "wavSha256": "331dcbd728d7cbd48c5069fd858ae11ea8ea4bed416e8453e2c568ecb38d5d09", + "sampleRate": 24000, + "channels": 1, + "frames": 1534912, + "durationMs": 63955, + "textSha256": "98786f6f8685bfd56942e68b56ce350fbc6f2d9fafad45bf86bada9ec7acf573", + "flacSha256": "8d4bdb47c2f6285bc5937045c0ef6480cf7e5b7b4057c52825b5e2984814515b", + "cues": [ + { + "startMs": 180, + "endMs": 3103, + "text": "The chair opened. I stepped away from it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 3803, + "endMs": 13765, + "text": "At the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 14465, + "endMs": 24343, + "text": "With each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 25043, + "endMs": 30525, + "text": "At Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 31225, + "endMs": 43641, + "text": "The twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 44341, + "endMs": 45792, + "text": "The mouth closed.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 46992, + "endMs": 55845, + "text": "Lydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 56545, + "endMs": 63735, + "text": "Iris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_chair_memory.wav" + }, + "midnight.ending": { + "pageId": "midnight.ending", + "resource": "midnight_ending", + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\nShe had last seen her seventeen years ago.\n\nIris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\nI walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\nI have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\nThere is only one thing I have not told Ada.\n\nWhen I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\nI have locked it in the desk.\n\nA few minutes ago, the drawer knocked twice.\n\nThe end.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She had last seen her seventeen years ago.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There is only one thing I have not told Ada.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "When I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I have locked it in the desk.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A few minutes ago, the drawer knocked twice.\n\n", + "pauseMs": 1350, + "afterEffect": "door-knock" + }, + { + "speaker": "Elias", + "text": "The end.", + "pauseMs": 220 + } + ], + "file": "midnight_ending.wav", + "flacFile": "midnight_ending.flac", + "wavSha256": "966809b2a55ce69d774bfe41a60c538df1faf54e5935947dd8194e46af5443a9", + "sampleRate": 24000, + "channels": 1, + "frames": 1657616, + "durationMs": 69067, + "textSha256": "7e050e812f4114bdd128d8199aede05bc56e5445367c29ea86da5219e9c48b89", + "flacSha256": "dc2a45f1944942082b31fbc6d63ec5137015c2088202b8b31d4f558cc87fc3c9", + "cues": [ + { + "startMs": 180, + "endMs": 8671, + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 9371, + "endMs": 12336, + "text": "She had last seen her seventeen years ago.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 13036, + "endMs": 23276, + "text": "Iris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 23976, + "endMs": 37032, + "text": "I walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 37732, + "endMs": 44196, + "text": "I have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 44896, + "endMs": 48160, + "text": "There is only one thing I have not told Ada.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 48860, + "endMs": 60145, + "text": "When I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 60845, + "endMs": 62936, + "text": "I have locked it in the desk.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 63636, + "endMs": 66495, + "text": "A few minutes ago, the drawer knocked twice.\n\n", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + }, + { + "startMs": 67845, + "endMs": 68847, + "text": "The end.", + "speaker": "Elias", + "voice": "bm_george", + "speed": 0.93 + } + ], + "events": [ + { + "effect": "door-knock", + "startMs": 66655, + "endMs": 67655 + } + ], + "cueJoin": "", + "asset": "assets/stories/midnight-invitation/audio/midnight_ending.wav" + } + } +} diff --git a/assets/stories/midnight-invitation/narration/scripts.json b/assets/stories/midnight-invitation/narration/scripts.json new file mode 100644 index 0000000..2188c8e --- /dev/null +++ b/assets/stories/midnight-invitation/narration/scripts.json @@ -0,0 +1,1289 @@ +[ + { + "pageId": "midnight.opening", + "resource": "midnight_opening", + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\nMy first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\nThe handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\nAda caught my wrist. “If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\nI asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\nOutside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "My first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Ada caught my wrist. ", + "pauseMs": 220 + }, + { + "speaker": "Ada", + "text": "“If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Outside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.pumpkin.entry", + "resource": "midnight_pumpkin_entry", + "text": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\nI passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\nI kept walking.\n\nThorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\nI lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\nBehind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The village bonfire disappeared behind the hedge. Its smell followed me longer than the light. Then even that was gone, replaced by damp wool and the sour smell of a room shut for years.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I passed the same broken milestone three times. On the third, my mother called from behind me. She has been dead since February.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I kept walking.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "Thorne Hall stood beyond an iron gate. Its clock showed one minute to twelve, though my watch had stopped at six. A pumpkin lantern lay on its side beneath the gatepost. Something inside scratched against the shell.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I lifted it by the stalk. There was only a candle. Its light fell on a damaged pattern cut into the stone: counted rows, counted columns, a face waiting to be restored.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind me, the voice began to cry. I put my satchel between my feet and concentrated on the squares.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.pumpkin.memory", + "resource": "midnight_pumpkin_memory", + "text": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\nUnder the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\nI pulled my collar over the empty place where my badge had been.\n\nTwelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\nThe raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\nFrom somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The completed face cast a crooked smile over the path. Every scratch inside the pumpkin stopped at once.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Under the ivy I found a brass notice: Halloween supper. A place for every traveller. Someone had scored a second message beneath it, so deeply that the letters had split the metal. IF YOU ANSWER TO YOUR NAME, IT CAN KEEP YOU.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I pulled my collar over the empty place where my badge had been.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Twelve figures stood behind the dining-room curtains. I could not see their faces, but all twelve tilted their heads at the same moment. I had made no sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The raven dropped beside the lantern. A silver-edged feather loosened from its wing and landed on my boot.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From somewhere beyond the hedge, my mother's voice said that she was cold. This time the words came out in my voice.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.feather.entry", + "resource": "midnight_feather_entry", + "text": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\nI recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\nBelow the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\nI rubbed it away with my sleeve. The mark came back.\n\nThe raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\nI set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The feather was cold enough to sting. When I held it near the gatepost, writing appeared beneath the moss: twelve names, each followed by the same date, seventeen Halloweens ago.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I recognised the first from the memorial in the church porch. Lydia Vale. Missing after the supper at Thorne Hall. I had delivered flowers there that morning.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Below the twelve names was an empty line. A wet mark crept across it, drawing the first stroke of an E.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I rubbed it away with my sleeve. The mark came back.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The raven struck the stone with its beak. Beside the list was a feather-shaped arrangement of squares, some darkened by rain. The bird struck it again, harder.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I set the lantern closer. The unfinished letter on the bottom line had begun to look like my handwriting.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.feather.memory", + "resource": "midnight_feather_memory", + "text": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\nAt the door I knocked twice. A chair scraped over the floor on the other side.\n\n“The hall is closed. Go back before it learns your face.”\n\nThe woman sounded close to the wood. I said, “I have a letter for the thirteenth place.”\n\nSilence. Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\nThe letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\nI stepped back. The flap fell shut, and the woman whispered, “Hurry.”", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The feather's silver line crossed the last square. The writing on the empty line dried and flaked away. A narrow path opened through the nettles towards the house.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the door I knocked twice.", + "pauseMs": 1350, + "afterEffect": "door-knock" + }, + { + "speaker": "Elias", + "text": " A chair scraped over the floor on the other side.\n\n", + "pauseMs": 1350, + "afterEffect": "chair-shift" + }, + { + "speaker": "Iris", + "text": "“The hall is closed. Go back before it learns your face.”\n\n", + "pauseMs": 700, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The woman sounded close to the wood. I said, ", + "pauseMs": 220 + }, + { + "speaker": "Elias", + "text": "“I have a letter for the thirteenth place.”\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Silence.", + "pauseMs": 1500 + }, + { + "speaker": "Elias", + "text": " Then a second set of footsteps approached behind her, slow and wet. The woman did not turn towards them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“The key is inside the stone owl. Listen carefully. Whatever speaks behind this door, do not tell it your name.”\n\n", + "pauseMs": 700, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The letter flap lifted. Through the slit I saw an eye at the height of my knee.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I stepped back. The flap fell shut, and the woman whispered, ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Hurry.”", + "pauseMs": 220, + "perspective": "behind-door", + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + } + ] + }, + { + "pageId": "midnight.key.entry", + "resource": "midnight_key_entry", + "text": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\nI brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n“Is that you, Elias?”\n\nIt was Ada's voice. For one foolish instant I began to answer.\n\nThe real woman struck the inside of the door with something heavy. “That was not me.”\n\nI pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\nI worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The owl's breast held a small iron panel. Beneath its beak, a key pattern had been scratched into a grid. Two overlapping rectangles cut across it, their totals almost hidden beneath lichen.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I brushed the panel clean. From the door came three knocks, exactly as hesitant as mine had been. I had only knocked twice.\n\n", + "pauseMs": 700 + }, + { + "speaker": "The borrowed voice", + "text": "“Is that you, Elias?”\n\n", + "pauseMs": 700, + "perspective": "behind-door" + }, + { + "speaker": "Elias", + "text": "It was Ada's voice. For one foolish instant I began to answer.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The real woman struck the inside of the door with something heavy. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“That was not me.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I pressed my lips together until they hurt. The owl's iron panel moved against my fingertips. Something small rattled inside its stone chest.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I worked through the shared squares. Each time I looked away, the owl's shadow on the step seemed a little closer to my hand.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.key.memory", + "resource": "midnight_key_memory", + "text": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\nThe woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\nShe was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n“Good. Ada remembered.”\n\nTwelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\nThrough the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\nWhile I watched, it turned towards me. There was nothing beneath it to move it.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The pocket opened. Inside lay a brass key with a crescent bow, polished bright as if someone had just used it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The woman pulled me through as soon as I turned it. She shut three bolts, then laid her palm flat against the wood until the scratching stopped.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She was Iris Vale. There was a streak of silver in her dark hair and a white scar around one wrist. She looked at my coat where the badge should have been and let out a breath.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Good. Ada remembered.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Twelve coats hung in the hall. Water dripped from their hems, but the floor beneath them was dry. Each hook bore a name from the gatepost.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Through the dining-room doorway I saw twelve laid places. A thirteenth chair stood folded against the wall.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "While I watched, it turned towards me. There was nothing beneath it to move it.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.mask.entry", + "resource": "midnight_mask_entry", + "text": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\nI asked what she meant by it.\n\nThe ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\nIris pushed the box towards me. “The pattern holds the disguise together. Finish it before looking in the mirror.”\n\nI wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\nI closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "Iris opened a velvet box on the hall table. Inside was a black-cat mask, one ribbon torn loose. A chequered paper pattern lay beneath it, its corners curled with age.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Mother made these for the supper. It cannot borrow a face it has not properly seen.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I asked what she meant by it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The ceiling answered with a dragging sound. It travelled above us, stopped, and began again directly over my head.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris pushed the box towards me. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“The pattern holds the disguise together. Finish it before looking in the mirror.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I wanted to leave. I tried the front door. The bolt slid back easily, but beyond the opening was the same hall, with the same woman watching me from beside the same box.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I closed it before the other Iris could speak. My hands were shaking too badly to tie the ribbon.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.mask.memory", + "resource": "midnight_mask_memory", + "text": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\nIn the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\nBetween those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\nI looked away.\n\n“Lydia was my mother,” Iris said. “She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\nI asked how long Iris had been alone here.\n\nShe studied the scar on her wrist. “I can remember the years. I cannot seem to grow older in them.”\n\nFrom the dining room came the careful scrape of a chair being pulled out for a guest.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I put on the repaired mask. Its paper smelled of smoke, although it was cold against my skin.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the hall mirror, twelve people stood behind my shoulder. Their clothes matched the coats on the hooks. A woman in a green dress raised one hand. She had Iris's eyes.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Between those people stood something taller than the doorway. Where its face should have been, the mirror showed the back of my own head.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I looked away.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Lydia was my mother,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " Iris said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“She stopped the clock before it could finish the supper. She is still holding that minute open.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I asked how long Iris had been alone here.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She studied the scar on her wrist. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“I can remember the years. I cannot seem to grow older in them.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "From the dining room came the careful scrape of a chair being pulled out for a guest.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.candle.entry", + "resource": "midnight_candle_entry", + "text": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n“I made them that evening,” she said. “I keep forgetting they will not cool.”\n\nBeside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\nI spread the paper beneath the lamp. The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\nWet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\nIris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The kitchen stove was warm. That ordinary fact nearly undid me. There were apple cakes on the table, hard as stones beneath a soft coat of dust. Iris moved them aside without looking at them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“I made them that evening,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“I keep forgetting they will not cool.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Beside the stove lay a beeswax candle wrapped in Lydia's recipe. A note in the margin read: One flame. One shadow. Count again before opening any door.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I spread the paper beneath the lamp.", + "pauseMs": 1350, + "afterEffect": "paper" + }, + { + "speaker": "Elias", + "text": " The candle diagram had folded through the flour measurements; its broken squares were still just visible.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Wet footsteps crossed the ceiling. A drop fell into the empty basin, though there was no stain above it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris stood beside me. On the wall behind her were two shadows. One was holding its finger to its lips.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.candle.memory", + "resource": "midnight_candle_memory", + "text": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\nIris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n“It follows warmth,” she said. “And voices. It remembers everyone who answers.”\n\nBetween the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\nBeyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\nI held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The restored candle pattern revealed a line hidden along the crease: Keep a light at the empty place. Never let the guest sit there.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris lit the wick from the stove. Her second shadow recoiled, stretching up the wall until its head disappeared into the ceiling. I heard a breath being drawn through closed teeth.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“It follows warmth,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“And voices. It remembers everyone who answers.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Between the recipe pages, a pale paper moth unfolded itself. One wing carried part of a clock face. It circled the candle and settled on the kitchen latch.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Beyond the door, something whispered my mother's pet name for me. I had never written it on a letter. I had never told Ada.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I held the candle closer. The whisper stopped. Under the door, a strip of darkness withdrew against the light.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.moth.entry", + "resource": "midnight_moth_entry", + "text": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\nIn the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\nThere was no photograph of them leaving.\n\nThe moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\nBehind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\nIris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I followed the moth upstairs with the candle held in front of my mask. The banister was wet. Every photograph showed the same supper, taken from slightly different places around the table.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the first, twelve guests smiled at the camera. In the next, they were looking beneath the table. In the last, their chairs were empty.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There was no photograph of them leaving.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The moth settled into a tiled recess outside the clock room. Its paper wings fitted a broken mosaic. Moonlight crossed the pattern in two broad bands.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind us, the stairs creaked one by one. I counted nine steps. Then ten. Then eleven.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris had counted too. She held her hand above the candle to steady its flame. Neither of us looked down the twelve-step staircase while I put the moth's pattern in order.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.moth.memory", + "resource": "midnight_moth_memory", + "text": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\nIris read over my shoulder. “Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\nLydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\nThe next name it wanted was mine.\n\nAt the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\nThe moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The mosaic loosened. Beneath it lay a page from Lydia's own notebook, its ink faded except for twelve names.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris read over my shoulder. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Mother left a place for anyone who had nowhere else to go. Something answered from the cellar. By the time she understood, it had learned all their names.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "Lydia's last lines described the thirteenth guest. It had no name of its own. It needed a living person to accept its place before the clock struck twelve. She had stopped the mechanism and hidden instructions in the household patterns.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The next name it wanted was mine.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the foot of the stairs, someone cleared his throat. It sounded exactly like me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The moth flew down through the banisters towards the kitchen cupboard. I followed without speaking. Behind me, my own voice began reading the names aloud, getting every one of them wrong.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.bell.entry", + "resource": "midnight_bell_entry", + "text": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\nLydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\nIris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n“Ada is taller than that,” Iris said.\n\nI looked again. The coat reached the ground, but the face was scarcely above the sill.\n\nWhatever wore it smiled. There was someone else's face inside the smile.\n\nI bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The cupboard held twelve plates and a silver handbell wrapped in a tea towel. Its clapper was trapped in folded paper. Around the rim ran twelve tiny crescents, each polished where a thumb had touched it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Lydia's handwriting covered the fold: Let the bell carry the true names. The mouth below cannot speak over it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris kept watch at the kitchen window. Beyond the glass stood Ada, her face pale above her postmistress's coat. She was knocking without making a sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Ada is taller than that,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " Iris said.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I looked again. The coat reached the ground, but the face was scarcely above the sill.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Whatever wore it smiled. There was someone else's face inside the smile.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I bent over the bell's pattern. The thing at the window began tapping in time with each square I touched.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.bell.memory", + "resource": "midnight_bell_memory", + "text": "The clapper fell free. I sounded the bell once.\n\nThe face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\nFrom the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\nIris gripped the edge of the table. “We can get them out.”\n\nI found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\nI reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\nAcross the missing line ran a row of small, wet marks. They were the shape of teeth.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The clapper fell free. I sounded the bell once.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The face beyond the window flattened against the glass. For a moment it looked like paper pressed against a wet pane. Then it was gone.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From the hall, the woman in green whispered her name. Lydia Vale. It was the first voice in that house that did not ask anything of me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris gripped the edge of the table. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“We can get them out.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "I found more writing inside the tea towel: Open the orchard way. Set the moon in motion. Read the twelve names. Return the invitation before the final stroke.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I reached into my satchel. The envelope had split along its seal. The invitation inside was torn neatly in two.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Across the missing line ran a row of small, wet marks. They were the shape of teeth.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.needle.entry", + "resource": "midnight_needle_entry", + "text": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\nIris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n“Mother repaired everything,” she said. “Even things the house wanted broken.”\n\nThe cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\nI put it down. The correct shape was waiting in the grid.\n\nBehind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I laid both pieces on the kitchen table. The tear had passed through the delivery instruction, leaving half a word on each side. When I moved them together, the edges pulled apart as if the paper were breathing.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris fetched her mother's sewing tin. Red cotton lay coiled around a silver needle. Inside the lid was another pattern, crossed by three narrow bands.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Mother repaired everything,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Even things the house wanted broken.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The cotton would not pass through the needle's eye. I tried three times. Then I noticed that the needle in my hand had no reflection in the tin's polished lid.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put it down. The correct shape was waiting in the grid.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind the kitchen door, someone began to hum. It was the tune I hummed on my rounds when I thought nobody could hear.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.needle.memory", + "resource": "midnight_needle_memory", + "text": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\nAt once the paper went still.\n\nThe writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\nIris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n“There is a mirror in the parlour,” she said. “Keep the mask on.”\n\nOn the other side of the kitchen door, my humming stopped.\n\nA man's voice said, quite reasonably, “I am only trying to finish my delivery.”\n\nI knew how frightened I must sound. That was what frightened me most.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The needle caught the light. This time the thread passed through. I stitched the two halves together, taking care not to cover the ink.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At once the paper went still.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The writing on the invitation slanted backwards. I knew every stroke of it: the crushed a, the uneven capitals, the d that never quite closed. My hand had written those words. I remembered none of them.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris held the candle while I turned the page. In the red stitches, another sentence had appeared in tiny, ordinary letters: Read the address where a face cannot lie.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“There is a mirror in the parlour,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Keep the mask on.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "On the other side of the kitchen door, my humming stopped.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A man's voice said, quite reasonably, ", + "pauseMs": 220 + }, + { + "speaker": "The echo", + "text": "“I am only trying to finish my delivery.”\n\n", + "pauseMs": 700, + "perspective": "behind-door" + }, + { + "speaker": "Elias", + "text": "I knew how frightened I must sound. That was what frightened me most.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.mirror.entry", + "resource": "midnight_mirror_entry", + "text": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\nMy reflection was already looking at me.\n\nI had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\nThe wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\nIris placed the candle on the shelf. “Finish the border. Do not listen to him.”\n\nThe man in the mirror took off his cat mask. I kept mine on.\n\nI worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The parlour mirror was covered with linen. Iris lifted one corner while I held the invitation against my chest.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "My reflection was already looking at me.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I had not yet raised my head. I know that. I was watching the hem of the linen when I felt its attention, like cold water down the back of my collar.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The wooden frame was missing several small pieces. Wherever a piece was absent, the reflection moved a fraction before I did. The backwards writing broke into fragments across the clouded glass.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris placed the candle on the shelf. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Finish the border. Do not listen to him.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The man in the mirror took off his cat mask. I kept mine on.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I worked from the surviving squares in the frame. He leaned nearer, mouthing something I could not hear, and pointed to the empty chair behind me.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.mirror.memory", + "resource": "midnight_mirror_memory", + "text": "The last piece fitted. My reflection stopped moving.\n\nIn the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\nThere was no mistake in the delivery. I was the thing being delivered.\n\nBelow it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\nIris looked at me. “Mother kept a way back. All these years.”\n\nThe man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\nI wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\nFor the first time that night, the house made a sound like pain.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The last piece fitted. My reflection stopped moving.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "In the cleared glass, the address read: To the bearer. The thirteenth place is yours. Deliver yourself by hand.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There was no mistake in the delivery. I was the thing being delivered.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Below it, Lydia's stitches shone red: RETURN TO SENDER. Open the way for the twelve. Burn this at the empty place as the clock strikes. Leave the thirteenth chair unoccupied.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris looked at me. ", + "pauseMs": 220 + }, + { + "speaker": "Iris", + "text": "“Mother kept a way back. All these years.”\n\n", + "pauseMs": 700, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": "The man in the mirror opened his mouth. From somewhere beneath the floor came a long, patient knock.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I wrote RETURN TO SENDER across the envelope with the raven's feather. My ink was black. On the paper it dried the colour of rust.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "For the first time that night, the house made a sound like pain.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.gate.entry", + "resource": "midnight_gate_entry", + "text": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\nBetween us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\nThrough the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n“Eyes on the iron,” she said.\n\nI wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\nBehind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The orchard doors opened into fog. I could see the village lanterns beyond the far wall, close enough to reach in a minute. Their light never moved.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Between us and the road stood a gate buried in blackthorn. Its latch had twisted into a pattern of bars and empty squares. I pulled at it until the iron cut a shallow line across my palm.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Through the fog, Ada called that the post office was closing. Then my mother called. Then Iris, although Iris stood beside me holding the candle.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Iris", + "text": "“Eyes on the iron,”", + "pauseMs": 220, + "direction": "A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end." + }, + { + "speaker": "Elias", + "text": " she said.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I wiped my hand on my coat and examined the overlapping bands. Every gap I restored let through a breath of real night air.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Behind us, the twelve coats had gathered in the doorway. Their sleeves moved as if someone inside them was struggling to wake.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.gate.memory", + "resource": "midnight_gate_memory", + "text": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\nI took a step towards that sound.\n\nA sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\nLeaving now would leave them here. Iris too.\n\nI put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\nThe house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\nNone of them had a face. All of them lifted one arm to show me the way upstairs.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The gate opened with a rusty sigh. Beyond it I could finally hear the village bonfire: one log collapsing, someone coughing, an ordinary dog barking at an ordinary dog.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I took a step towards that sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A sleeve caught my arm. There was no hand inside it. The coat's little name label brushed my wrist, and I remembered the empty church memorial beneath the flowers.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Leaving now would leave them here. Iris too.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put the lantern on the outer gatepost, where it could mark the path. Then I went back for the clock.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The house seemed larger on the return. Its upper windows were black, and in each stood a man wearing my coat.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "None of them had a face. All of them lifted one arm to show me the way upstairs.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.moon.entry", + "resource": "midnight_moon_entry", + "text": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\nLydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\nI heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\nI held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\nFor seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\nI put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The clock room smelled of cold metal. Beneath the stopped hands, a painted moon had fallen from its track. Its brass mounting was divided into counted squares.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Lydia had jammed the crescent under a catch. Removing it would let the hands reach midnight; setting it correctly would open the path she had left for the twelve.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I heard Iris close the stair door below me. Something struck it from the other side, softly at first, then with the steady force of a shoulder.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I held the candle beside the mounting. The moth landed on my wrist. Its wings trembled with each impact.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "For seventeen years, Lydia had held this minute. I could not ask her to hold it forever.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I put my fingers on the first square. Somewhere inside the clock, a second pair of fingers touched the other side of the metal.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.moon.memory", + "resource": "midnight_moon_memory", + "text": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\nIt did not strike.\n\nA final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\nI followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\nThe thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\nOn the wall, my shadow sat down before I did.\n\nI stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The moon rose along its track. A weight lifted. The clock inhaled, and the whole house leaned towards the sound.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "It did not strike.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "A final wire ran from the mechanism down through the floor. Beside it Lydia had scratched a chair into the brass. The clock would wait until the empty place was properly set.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I followed the wire downstairs. Iris stood in the dining-room doorway, holding the bell. Behind her, twelve pale figures waited beside twelve chairs. Lydia was nearest the window.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The thirteenth chair remained folded. Its cushion had caught beneath the frame, hiding a pattern of red and gold squares.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "On the wall, my shadow sat down before I did.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I stayed standing. The scar around Iris's wrist had begun to darken, as though an unseen hand were closing over it again.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.chair.entry", + "resource": "midnight_chair_entry", + "text": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\nUnder the table, something shifted its weight.\n\nIris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\nI knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\nFrom under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\nI counted the cushion's squares aloud, softly, so that I would not answer.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "I set the candle beside the thirteenth plate and laid the marked envelope across it. The chair resisted when I tried to unfold it. Its cushion had twisted into the hinges; the embroidered squares showed how the folds should lie.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Under the table, something shifted its weight.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris raised the bell. I could see through Lydia now, to the orchard gate beyond the glass. The other guests were fading too. We had opened the way, but the house still had their names.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I knelt beside the chair, keeping my knees clear of the space beneath it. The red thread in the invitation pulled taut.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "From under the table, my mother's voice asked me to sit beside her. She sounded tired. She sounded almost herself.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I counted the cushion's squares aloud, softly, so that I would not answer.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.chair.memory", + "resource": "midnight_chair_memory", + "text": "The chair opened. I stepped away from it.\n\nAt the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\nWith each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\nAt Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\nThe twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\nThe mouth closed.\n\nLydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\nIris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "The chair opened. I stepped away from it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At the first stroke, I touched the invitation to the candle. Iris rang the bell and read the first name. The first guest turned towards the orchard.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "With each stroke she read another. The coats fell empty. The shadows beneath the table drew together into one long arm, reaching for the burning paper.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "At Lydia's name, Iris's voice broke. I rang the bell again. She finished it.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The twelfth stroke began. The invitation burned white, then black. A mouth opened beneath the chair, wide enough to take the candlelight. I dropped the last ash into the empty plate.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "The mouth closed.\n\n", + "pauseMs": 1200 + }, + { + "speaker": "Elias", + "text": "Lydia touched her daughter's cheek. For one moment I saw warmth return to Iris's face. Then Lydia followed the others through the gate.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris and I ran. Behind us, the thirteenth chair folded itself with a sound like a bone snapping.", + "pauseMs": 220 + } + ] + }, + { + "pageId": "midnight.ending", + "resource": "midnight_ending", + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\nShe had last seen her seventeen years ago.\n\nIris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\nI walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\nI have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\nThere is only one thing I have not told Ada.\n\nWhen I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\nI have locked it in the desk.\n\nA few minutes ago, the drawer knocked twice.\n\nThe end.", + "speaker": "Elias", + "production": "diary-drama-v2", + "segments": [ + { + "speaker": "Elias", + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "She had last seen her seventeen years ago.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "Iris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "There is only one thing I have not told Ada.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "When I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "I have locked it in the desk.\n\n", + "pauseMs": 700 + }, + { + "speaker": "Elias", + "text": "A few minutes ago, the drawer knocked twice.\n\n", + "pauseMs": 1350, + "afterEffect": "door-knock" + }, + { + "speaker": "Elias", + "text": "The end.", + "pauseMs": 220 + } + ] + } +] diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_bell_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_bell_entry.wav new file mode 100644 index 0000000..64f225b Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_bell_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_bell_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_bell_memory.wav new file mode 100644 index 0000000..016fe83 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_bell_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_candle_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_candle_entry.wav new file mode 100644 index 0000000..d5d3f50 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_candle_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_candle_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_candle_memory.wav new file mode 100644 index 0000000..78c427e Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_candle_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_chair_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_chair_entry.wav new file mode 100644 index 0000000..7cc75de Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_chair_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_chair_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_chair_memory.wav new file mode 100644 index 0000000..d654d17 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_chair_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_ending.wav b/assets/stories/midnight-invitation/narration/wav/midnight_ending.wav new file mode 100644 index 0000000..07b936d Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_ending.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_feather_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_feather_entry.wav new file mode 100644 index 0000000..1f0e7bd Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_feather_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_feather_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_feather_memory.wav new file mode 100644 index 0000000..8ac3ee1 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_feather_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_gate_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_gate_entry.wav new file mode 100644 index 0000000..0c252fd Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_gate_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_gate_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_gate_memory.wav new file mode 100644 index 0000000..5b66910 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_gate_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_key_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_key_entry.wav new file mode 100644 index 0000000..a6d785e Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_key_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_key_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_key_memory.wav new file mode 100644 index 0000000..d263f70 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_key_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_mask_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_mask_entry.wav new file mode 100644 index 0000000..197f86b Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_mask_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_mask_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_mask_memory.wav new file mode 100644 index 0000000..be3b095 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_mask_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_mirror_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_mirror_entry.wav new file mode 100644 index 0000000..6a4dc5e Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_mirror_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_mirror_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_mirror_memory.wav new file mode 100644 index 0000000..619c57e Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_mirror_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_moon_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_moon_entry.wav new file mode 100644 index 0000000..149b56a Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_moon_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_moon_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_moon_memory.wav new file mode 100644 index 0000000..2826658 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_moon_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_moth_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_moth_entry.wav new file mode 100644 index 0000000..da9a02f Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_moth_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_moth_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_moth_memory.wav new file mode 100644 index 0000000..e8c1618 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_moth_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_needle_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_needle_entry.wav new file mode 100644 index 0000000..e8db938 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_needle_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_needle_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_needle_memory.wav new file mode 100644 index 0000000..a0fe5d2 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_needle_memory.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_opening.wav b/assets/stories/midnight-invitation/narration/wav/midnight_opening.wav new file mode 100644 index 0000000..c19a9c5 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_opening.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_pumpkin_entry.wav b/assets/stories/midnight-invitation/narration/wav/midnight_pumpkin_entry.wav new file mode 100644 index 0000000..4b4b189 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_pumpkin_entry.wav differ diff --git a/assets/stories/midnight-invitation/narration/wav/midnight_pumpkin_memory.wav b/assets/stories/midnight-invitation/narration/wav/midnight_pumpkin_memory.wav new file mode 100644 index 0000000..e3f3946 Binary files /dev/null and b/assets/stories/midnight-invitation/narration/wav/midnight_pumpkin_memory.wav differ diff --git a/assets/stories/midnight-invitation/notebook.json b/assets/stories/midnight-invitation/notebook.json new file mode 100644 index 0000000..c69654a --- /dev/null +++ b/assets/stories/midnight-invitation/notebook.json @@ -0,0 +1,291 @@ +{ + "pages": [ + { + "id": "midnight.opening", + "type": "dedication", + "title": "31 October · The letter I did not write", + "text": "I am writing this with the kitchen door locked. It is daylight. I have checked that twice. If I set down what happened in the proper order, perhaps I shall stop hearing the bell.\n\nMy first Halloween round should have ended at six. Ada found one last envelope beneath the counter, dry despite the water spreading from it. The address was Thorne Hall. Beneath it: The thirteenth place. Deliver by hand before midnight.\n\nThe handwriting was mine. Even the broken loop of the letter d was mine. I had never seen the envelope before.\n\nAda caught my wrist. “If anyone calls from behind you on that road, keep walking. And do not give the house your name.”\n\nI asked whether this was a joke for the new postman. She took the brass name badge from my coat without answering.\n\nOutside, a raven waited on the empty bicycle rack. Behind it, every window in the street reflected a light in the abandoned tower. When I turned to look at the tower itself, it was dark.", + "speaker": "Elias Ward · private delivery diary", + "illustrationAsset": "assets/stories/midnight-invitation/artwork/cover-v1.png", + "caption": "Blackthorn. An account written after the Halloween delivery." + }, + { + "id": "midnight.pumpkin.entry", + "type": "entry", + "title": "The face that watched the road", + "campaignIndex": 0, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary", + "caption": "I · The road that would not end" + }, + { + "id": "midnight.pumpkin.puzzle", + "type": "puzzle", + "title": "The face that watched the road", + "campaignIndex": 0, + "text": "Light exactly as many cells as each row and column total shows. Tap to cycle light → cross → clear, and mark every cell. Small dots are fixed clues." + }, + { + "id": "midnight.pumpkin.memory", + "type": "memory", + "title": "Do not answer", + "campaignIndex": 0, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.feather.entry", + "type": "entry", + "title": "Twelve names and an empty line", + "campaignIndex": 1, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.feather.puzzle", + "type": "puzzle", + "title": "Twelve names and an empty line", + "campaignIndex": 1, + "text": "Use rows and columns together. A finished line helps you decide which cells in a crossing line must stay dark." + }, + { + "id": "midnight.feather.memory", + "type": "memory", + "title": "The woman behind the door", + "campaignIndex": 1, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.key.entry", + "type": "entry", + "title": "Something in the stone owl", + "campaignIndex": 2, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.key.puzzle", + "type": "puzzle", + "title": "Something in the stone owl", + "campaignIndex": 2, + "text": "A and B are overlapping areas with their own totals. A shared cell counts in both. Compare the shared and unshared squares to find the next mark." + }, + { + "id": "midnight.key.memory", + "type": "memory", + "title": "The chair that turned", + "campaignIndex": 2, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.mask.entry", + "type": "entry", + "title": "A borrowed face", + "campaignIndex": 3, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.mask.puzzle", + "type": "puzzle", + "title": "A borrowed face", + "campaignIndex": 3 + }, + { + "id": "midnight.mask.memory", + "type": "memory", + "title": "The wrong reflection", + "campaignIndex": 3, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.candle.entry", + "type": "entry", + "title": "The kitchen with two shadows", + "campaignIndex": 4, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary", + "caption": "II · The guest beneath the floor" + }, + { + "id": "midnight.candle.puzzle", + "type": "puzzle", + "title": "The kitchen with two shadows", + "campaignIndex": 4 + }, + { + "id": "midnight.candle.memory", + "type": "memory", + "title": "The extra shadow", + "campaignIndex": 4, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.moth.entry", + "type": "entry", + "title": "The stair that counted me", + "campaignIndex": 5, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.moth.puzzle", + "type": "puzzle", + "title": "The stair that counted me", + "campaignIndex": 5 + }, + { + "id": "midnight.moth.memory", + "type": "memory", + "title": "What Lydia had stopped", + "campaignIndex": 5, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.bell.entry", + "type": "entry", + "title": "A bell without a voice", + "campaignIndex": 6, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.bell.puzzle", + "type": "puzzle", + "title": "A bell without a voice", + "campaignIndex": 6 + }, + { + "id": "midnight.bell.memory", + "type": "memory", + "title": "A name recovered", + "campaignIndex": 6, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.needle.entry", + "type": "entry", + "title": "The seam in the invitation", + "campaignIndex": 7, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.needle.puzzle", + "type": "puzzle", + "title": "The seam in the invitation", + "campaignIndex": 7 + }, + { + "id": "midnight.needle.memory", + "type": "memory", + "title": "Written by my hand", + "campaignIndex": 7, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.mirror.entry", + "type": "entry", + "title": "The man in the glass", + "campaignIndex": 8, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary", + "caption": "III · Return to sender" + }, + { + "id": "midnight.mirror.puzzle", + "type": "puzzle", + "title": "The man in the glass", + "campaignIndex": 8 + }, + { + "id": "midnight.mirror.memory", + "type": "memory", + "title": "Return to sender", + "campaignIndex": 8, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.gate.entry", + "type": "entry", + "title": "The orchard that led nowhere", + "campaignIndex": 9, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.gate.puzzle", + "type": "puzzle", + "title": "The orchard that led nowhere", + "campaignIndex": 9 + }, + { + "id": "midnight.gate.memory", + "type": "memory", + "title": "The way out", + "campaignIndex": 9, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.moon.entry", + "type": "entry", + "title": "The minute that would not end", + "campaignIndex": 10, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.moon.puzzle", + "type": "puzzle", + "title": "The minute that would not end", + "campaignIndex": 10 + }, + { + "id": "midnight.moon.memory", + "type": "memory", + "title": "Before the first stroke", + "campaignIndex": 10, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.chair.entry", + "type": "entry", + "title": "The place I would not take", + "campaignIndex": 11, + "textSource": "before", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.chair.puzzle", + "type": "puzzle", + "title": "The place I would not take", + "campaignIndex": 11 + }, + { + "id": "midnight.chair.memory", + "type": "memory", + "title": "The delivery", + "campaignIndex": 11, + "textSource": "after", + "speaker": "Elias Ward · private delivery diary" + }, + { + "id": "midnight.ending", + "type": "closing", + "title": "1 November · A note for the next round", + "text": "We reached the post office at dawn. Ada opened the door before I knocked. When she saw Iris, she put both hands over her mouth.\n\nShe had last seen her seventeen years ago.\n\nIris slept in the chair beside the stove. This time the cakes Ada brought her cooled normally. The scar on her wrist had faded to a thin white line.\n\nI walked back as far as the orchard in daylight. Thorne Hall was empty. Its clock showed twelve, and the names on the gatepost had weathered into ordinary scratches. The blank thirteenth line was gone.\n\nI have finished the account. My badge is back on my coat. Tomorrow I shall ask for the morning round.\n\nThere is only one thing I have not told Ada.\n\nWhen I emptied my satchel, I found a small square of paper that had not burned. On it, in my handwriting, were four words: DELIVERY ATTEMPTED. RECIPIENT ABSENT.\n\nI have locked it in the desk.\n\nA few minutes ago, the drawer knocked twice.\n\nThe end.", + "speaker": "Elias Ward · private delivery diary", + "campaignIndex": 11 + } + ] +} diff --git a/assets/stories/midnight-invitation/puzzle-report.json b/assets/stories/midnight-invitation/puzzle-report.json new file mode 100644 index 0000000..768dc07 --- /dev/null +++ b/assets/stories/midnight-invitation/puzzle-report.json @@ -0,0 +1,4925 @@ +[ + { + "id": "pumpkin", + "givens": "11,23,25,35,41", + "areas": "", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 5, + "resolvedCells": 44, + "initialDirectMoves": 21, + "deductionRounds": 4, + "comparisonSteps": 0, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 7, + "narrowestRound": 2, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 21, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 2, + "value": 1 + }, + { + "cell": 9, + "value": 1 + }, + { + "cell": 16, + "value": 1 + }, + { + "cell": 30, + "value": 1 + }, + { + "cell": 37, + "value": 1 + }, + { + "cell": 44, + "value": 1 + } + ], + "explanation": "Column 3 needs 6 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 21, + "value": 1 + }, + { + "cell": 22, + "value": 1 + }, + { + "cell": 24, + "value": 1 + }, + { + "cell": 26, + "value": 1 + }, + { + "cell": 27, + "value": 1 + } + ], + "explanation": "Row 4 needs 5 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 28, + "value": 1 + }, + { + "cell": 29, + "value": 1 + }, + { + "cell": 31, + "value": 1 + }, + { + "cell": 33, + "value": 1 + }, + { + "cell": 34, + "value": 1 + } + ], + "explanation": "Row 5 needs 7 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 32, + "value": 1 + }, + { + "cell": 4, + "value": 1 + }, + { + "cell": 18, + "value": 1 + }, + { + "cell": 39, + "value": 1 + }, + { + "cell": 46, + "value": 1 + } + ], + "explanation": "Column 5 needs 5 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 14, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + }, + { + "cell": 7, + "value": 0 + }, + { + "cell": 14, + "value": 0 + }, + { + "cell": 42, + "value": 0 + } + ], + "explanation": "Column 1 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 1, + "value": 0 + }, + { + "cell": 3, + "value": 0 + }, + { + "cell": 5, + "value": 0 + } + ], + "explanation": "Row 1 needs 0 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 6, + "value": 0 + }, + { + "cell": 13, + "value": 0 + }, + { + "cell": 20, + "value": 0 + }, + { + "cell": 48, + "value": 0 + } + ], + "explanation": "Column 7 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 36, + "value": 0 + }, + { + "cell": 38, + "value": 0 + }, + { + "cell": 40, + "value": 0 + } + ], + "explanation": "Row 6 needs 0 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 7, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 15, + "value": 1 + }, + { + "cell": 17, + "value": 1 + }, + { + "cell": 19, + "value": 1 + } + ], + "explanation": "Row 3 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 10, + "value": 1 + }, + { + "cell": 45, + "value": 1 + } + ], + "explanation": "Column 4 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 43, + "value": 1 + }, + { + "cell": 47, + "value": 1 + } + ], + "explanation": "Row 7 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 8, + "value": 0 + } + ], + "explanation": "Column 2 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 12, + "value": 0 + } + ], + "explanation": "Column 6 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "feather", + "givens": "5,11,12,17,18,19,22,42", + "areas": "", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 8, + "resolvedCells": 41, + "initialDirectMoves": 30, + "deductionRounds": 4, + "comparisonSteps": 0, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 7, + "narrowestRound": 1, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 30, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + }, + { + "cell": 1, + "value": 0 + }, + { + "cell": 2, + "value": 0 + }, + { + "cell": 3, + "value": 0 + }, + { + "cell": 4, + "value": 0 + }, + { + "cell": 6, + "value": 0 + } + ], + "explanation": "Row 1 needs 0 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 7, + "value": 0 + }, + { + "cell": 8, + "value": 0 + }, + { + "cell": 9, + "value": 0 + }, + { + "cell": 10, + "value": 0 + }, + { + "cell": 13, + "value": 0 + } + ], + "explanation": "Row 2 needs 0 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 14, + "value": 0 + }, + { + "cell": 15, + "value": 0 + }, + { + "cell": 16, + "value": 0 + }, + { + "cell": 20, + "value": 0 + } + ], + "explanation": "Row 3 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 21, + "value": 0 + }, + { + "cell": 28, + "value": 0 + }, + { + "cell": 35, + "value": 0 + } + ], + "explanation": "Column 1 needs 0 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 26, + "value": 0 + }, + { + "cell": 33, + "value": 0 + }, + { + "cell": 40, + "value": 0 + }, + { + "cell": 47, + "value": 0 + } + ], + "explanation": "Column 6 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 43, + "value": 0 + }, + { + "cell": 44, + "value": 0 + }, + { + "cell": 45, + "value": 0 + }, + { + "cell": 46, + "value": 0 + }, + { + "cell": 48, + "value": 0 + } + ], + "explanation": "Row 7 needs 0 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 27, + "value": 0 + }, + { + "cell": 34, + "value": 0 + }, + { + "cell": 41, + "value": 0 + } + ], + "explanation": "Column 7 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 7, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 29, + "value": 1 + }, + { + "cell": 36, + "value": 1 + } + ], + "explanation": "Column 2 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 23, + "value": 1 + }, + { + "cell": 30, + "value": 1 + }, + { + "cell": 37, + "value": 1 + } + ], + "explanation": "Column 3 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 24, + "value": 1 + }, + { + "cell": 25, + "value": 1 + } + ], + "explanation": "Row 4 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 3, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 32, + "value": 0 + }, + { + "cell": 39, + "value": 0 + } + ], + "explanation": "Column 5 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 38, + "value": 0 + } + ], + "explanation": "Row 6 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 1, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 31, + "value": 1 + } + ], + "explanation": "Column 4 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "key", + "givens": "22", + "areas": "4,2,3,4;3,3,4,3", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 1, + "resolvedCells": 48, + "initialDirectMoves": 21, + "deductionRounds": 5, + "comparisonSteps": 2, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 11, + "narrowestRound": 1, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 21, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + }, + { + "cell": 7, + "value": 0 + }, + { + "cell": 14, + "value": 0 + }, + { + "cell": 21, + "value": 0 + }, + { + "cell": 28, + "value": 0 + }, + { + "cell": 35, + "value": 0 + }, + { + "cell": 42, + "value": 0 + } + ], + "explanation": "Column 1 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 5, + "value": 0 + }, + { + "cell": 12, + "value": 0 + }, + { + "cell": 19, + "value": 0 + }, + { + "cell": 26, + "value": 0 + }, + { + "cell": 33, + "value": 0 + }, + { + "cell": 40, + "value": 0 + }, + { + "cell": 47, + "value": 0 + } + ], + "explanation": "Column 6 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 6, + "value": 0 + }, + { + "cell": 13, + "value": 0 + }, + { + "cell": 20, + "value": 0 + }, + { + "cell": 27, + "value": 0 + }, + { + "cell": 34, + "value": 0 + }, + { + "cell": 41, + "value": 0 + }, + { + "cell": 48, + "value": 0 + } + ], + "explanation": "Column 7 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 10, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Row 6", + "Area A" + ], + "marks": [ + { + "cell": 36, + "value": 0 + }, + { + "cell": 30, + "value": 1 + }, + { + "cell": 31, + "value": 1 + }, + { + "cell": 32, + "value": 1 + }, + { + "cell": 44, + "value": 1 + }, + { + "cell": 45, + "value": 1 + }, + { + "cell": 46, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Row 6 (1 lights left) and Area A (7 left). Difference: -6.", + "cellsCompared": 10, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area A", + "Area B" + ], + "marks": [ + { + "cell": 37, + "value": 1 + }, + { + "cell": 24, + "value": 0 + }, + { + "cell": 25, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Area A (7 lights left) and Area B (4 left). Difference: 3.", + "cellsCompared": 11, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 23, + "value": 1 + } + ], + "explanation": "Row 4 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 29, + "value": 0 + } + ], + "explanation": "Row 5 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 4, + "value": 0 + }, + { + "cell": 11, + "value": 0 + }, + { + "cell": 18, + "value": 0 + } + ], + "explanation": "Column 5 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 39, + "value": 0 + }, + { + "cell": 38, + "value": 0 + } + ], + "explanation": "Row 6 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 43, + "value": 0 + } + ], + "explanation": "Row 7 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 1, + "value": 1 + }, + { + "cell": 2, + "value": 1 + }, + { + "cell": 3, + "value": 1 + } + ], + "explanation": "Row 1 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 8, + "value": 1 + }, + { + "cell": 15, + "value": 1 + } + ], + "explanation": "Column 2 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 16, + "value": 1 + }, + { + "cell": 17, + "value": 1 + } + ], + "explanation": "Row 3 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 10, + "value": 1 + } + ], + "explanation": "Column 4 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 1, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 9, + "value": 0 + } + ], + "explanation": "Row 2 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "mask", + "givens": "26,45", + "areas": "0,1,4,4;3,2,4,4", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 2, + "resolvedCells": 47, + "initialDirectMoves": 14, + "deductionRounds": 6, + "comparisonSteps": 3, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 13, + "narrowestRound": 2, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 14, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 14, + "value": 1 + }, + { + "cell": 15, + "value": 1 + }, + { + "cell": 16, + "value": 1 + }, + { + "cell": 17, + "value": 1 + }, + { + "cell": 18, + "value": 1 + }, + { + "cell": 19, + "value": 1 + }, + { + "cell": 20, + "value": 1 + } + ], + "explanation": "Row 3 needs 7 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 28, + "value": 1 + }, + { + "cell": 29, + "value": 1 + }, + { + "cell": 30, + "value": 1 + }, + { + "cell": 31, + "value": 1 + }, + { + "cell": 32, + "value": 1 + }, + { + "cell": 33, + "value": 1 + }, + { + "cell": 34, + "value": 1 + } + ], + "explanation": "Row 5 needs 7 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 10, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Row 7", + "Area B" + ], + "marks": [ + { + "cell": 42, + "value": 0 + }, + { + "cell": 43, + "value": 0 + }, + { + "cell": 48, + "value": 0 + }, + { + "cell": 23, + "value": 1 + }, + { + "cell": 24, + "value": 1 + }, + { + "cell": 25, + "value": 1 + }, + { + "cell": 37, + "value": 1 + }, + { + "cell": 38, + "value": 1 + }, + { + "cell": 39, + "value": 1 + }, + { + "cell": 40, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Row 7 (2 lights left) and Area B (9 left). Difference: -7.", + "cellsCompared": 13, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 3, + "value": 0 + }, + { + "cell": 10, + "value": 0 + } + ], + "explanation": "Column 4 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 6, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 7, + "value": 1 + }, + { + "cell": 8, + "value": 1 + }, + { + "cell": 9, + "value": 1 + }, + { + "cell": 11, + "value": 1 + }, + { + "cell": 12, + "value": 1 + }, + { + "cell": 13, + "value": 1 + } + ], + "explanation": "Row 2 needs 6 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 7, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Row 1", + "Area A" + ], + "marks": [ + { + "cell": 0, + "value": 1 + }, + { + "cell": 5, + "value": 1 + }, + { + "cell": 6, + "value": 1 + }, + { + "cell": 22, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Row 1 (4 lights left) and Area A (1 left). Difference: 3.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Column 2", + "Area A" + ], + "marks": [ + { + "cell": 36, + "value": 1 + }, + { + "cell": 2, + "value": 0 + }, + { + "cell": 4, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Column 2 (2 lights left) and Area A (1 left). Difference: 1.", + "cellsCompared": 5, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 1, + "value": 1 + } + ], + "explanation": "Row 1 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 44, + "value": 1 + } + ], + "explanation": "Column 3 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 21, + "value": 1 + }, + { + "cell": 27, + "value": 1 + } + ], + "explanation": "Row 4 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 46, + "value": 1 + } + ], + "explanation": "Column 5 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 35, + "value": 0 + }, + { + "cell": 41, + "value": 0 + } + ], + "explanation": "Row 6 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 47, + "value": 0 + } + ], + "explanation": "Column 6 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "candle", + "givens": "40", + "areas": "1,3,4,4;0,4,4,3;0,3,4,3", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 1, + "resolvedCells": 48, + "initialDirectMoves": 13, + "deductionRounds": 6, + "comparisonSteps": 3, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 14, + "narrowestRound": 3, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 13, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + }, + { + "cell": 7, + "value": 0 + }, + { + "cell": 14, + "value": 0 + }, + { + "cell": 21, + "value": 0 + }, + { + "cell": 28, + "value": 0 + }, + { + "cell": 35, + "value": 0 + }, + { + "cell": 42, + "value": 0 + } + ], + "explanation": "Column 1 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 5, + "value": 0 + }, + { + "cell": 12, + "value": 0 + }, + { + "cell": 19, + "value": 0 + }, + { + "cell": 26, + "value": 0 + }, + { + "cell": 33, + "value": 0 + }, + { + "cell": 47, + "value": 0 + } + ], + "explanation": "Column 6 needs 0 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 43, + "value": 1 + }, + { + "cell": 44, + "value": 1 + }, + { + "cell": 45, + "value": 1 + }, + { + "cell": 46, + "value": 1 + }, + { + "cell": 48, + "value": 1 + } + ], + "explanation": "Row 7 needs 5 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 13, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Column 5", + "Area B" + ], + "marks": [ + { + "cell": 32, + "value": 1 + }, + { + "cell": 39, + "value": 1 + }, + { + "cell": 6, + "value": 0 + }, + { + "cell": 13, + "value": 0 + }, + { + "cell": 20, + "value": 0 + }, + { + "cell": 27, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Column 5 (4 lights left) and Area B (2 left). Difference: 2.", + "cellsCompared": 10, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area B", + "Area C" + ], + "marks": [ + { + "cell": 10, + "value": 1 + }, + { + "cell": 17, + "value": 1 + }, + { + "cell": 24, + "value": 1 + }, + { + "cell": 3, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Area B (2 lights left) and Area C (6 left). Difference: -4.", + "cellsCompared": 12, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area A", + "Area B" + ], + "marks": [ + { + "cell": 31, + "value": 1 + }, + { + "cell": 34, + "value": 1 + }, + { + "cell": 4, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Area A (8 lights left) and Area B (2 left). Difference: 6.", + "cellsCompared": 14, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 7, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 1, + "value": 0 + }, + { + "cell": 2, + "value": 0 + } + ], + "explanation": "Row 1 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 15, + "value": 0 + }, + { + "cell": 16, + "value": 0 + }, + { + "cell": 18, + "value": 0 + } + ], + "explanation": "Row 3 needs 0 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 38, + "value": 0 + } + ], + "explanation": "Column 4 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 41, + "value": 1 + } + ], + "explanation": "Column 7 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 7, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 9, + "value": 1 + }, + { + "cell": 23, + "value": 1 + }, + { + "cell": 30, + "value": 1 + } + ], + "explanation": "Column 3 needs 4 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 37, + "value": 1 + }, + { + "cell": 36, + "value": 1 + } + ], + "explanation": "Row 6 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 11, + "value": 1 + }, + { + "cell": 25, + "value": 1 + } + ], + "explanation": "Column 5 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 3, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 8, + "value": 0 + } + ], + "explanation": "Row 2 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 22, + "value": 0 + } + ], + "explanation": "Row 4 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 29, + "value": 0 + } + ], + "explanation": "Row 5 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "moth", + "givens": "21", + "areas": "0,2,3,4;1,4,3,3;1,3,3,3", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 1, + "resolvedCells": 48, + "initialDirectMoves": 18, + "deductionRounds": 6, + "comparisonSteps": 3, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 11, + "narrowestRound": 2, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 18, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 0, + "value": 1 + }, + { + "cell": 7, + "value": 1 + }, + { + "cell": 14, + "value": 1 + }, + { + "cell": 28, + "value": 1 + }, + { + "cell": 35, + "value": 1 + }, + { + "cell": 42, + "value": 1 + } + ], + "explanation": "Column 1 needs 6 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 15, + "value": 1 + }, + { + "cell": 16, + "value": 1 + }, + { + "cell": 17, + "value": 1 + }, + { + "cell": 18, + "value": 1 + }, + { + "cell": 19, + "value": 1 + }, + { + "cell": 20, + "value": 1 + } + ], + "explanation": "Row 3 needs 7 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 29, + "value": 1 + }, + { + "cell": 30, + "value": 1 + }, + { + "cell": 31, + "value": 1 + }, + { + "cell": 32, + "value": 1 + }, + { + "cell": 33, + "value": 1 + }, + { + "cell": 34, + "value": 1 + } + ], + "explanation": "Row 5 needs 7 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 14, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Row 2", + "Area A" + ], + "marks": [ + { + "cell": 8, + "value": 1 + }, + { + "cell": 13, + "value": 1 + }, + { + "cell": 2, + "value": 0 + }, + { + "cell": 3, + "value": 0 + }, + { + "cell": 5, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Row 2 (4 lights left) and Area A (2 left). Difference: 2.", + "cellsCompared": 10, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Column 5", + "Area C" + ], + "marks": [ + { + "cell": 4, + "value": 0 + }, + { + "cell": 39, + "value": 0 + }, + { + "cell": 46, + "value": 0 + }, + { + "cell": 10, + "value": 1 + }, + { + "cell": 12, + "value": 1 + }, + { + "cell": 24, + "value": 1 + }, + { + "cell": 26, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Column 5 (1 lights left) and Area C (5 left). Difference: -4.", + "cellsCompared": 9, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area A", + "Area C" + ], + "marks": [ + { + "cell": 9, + "value": 0 + }, + { + "cell": 25, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Area A (2 lights left) and Area C (5 left). Difference: -3.", + "cellsCompared": 11, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 11, + "value": 0 + } + ], + "explanation": "Row 2 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Area B" + ], + "marks": [ + { + "cell": 27, + "value": 0 + } + ], + "explanation": "Area B needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 22, + "value": 1 + }, + { + "cell": 23, + "value": 1 + } + ], + "explanation": "Row 4 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 6, + "value": 1 + }, + { + "cell": 41, + "value": 1 + }, + { + "cell": 48, + "value": 1 + } + ], + "explanation": "Column 7 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 6, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 1, + "value": 0 + } + ], + "explanation": "Row 1 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 37, + "value": 0 + }, + { + "cell": 44, + "value": 0 + } + ], + "explanation": "Column 3 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 43, + "value": 0 + }, + { + "cell": 45, + "value": 0 + }, + { + "cell": 47, + "value": 0 + } + ], + "explanation": "Row 7 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 3, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 36, + "value": 1 + } + ], + "explanation": "Column 2 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 38, + "value": 1 + } + ], + "explanation": "Column 4 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 40, + "value": 1 + } + ], + "explanation": "Column 6 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "bell", + "givens": "", + "areas": "2,0,4,4;1,0,3,3;2,0,4,3", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 0, + "resolvedCells": 49, + "initialDirectMoves": 7, + "deductionRounds": 7, + "comparisonSteps": 3, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 8, + "narrowestRound": 2, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 7, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 35, + "value": 1 + }, + { + "cell": 36, + "value": 1 + }, + { + "cell": 37, + "value": 1 + }, + { + "cell": 38, + "value": 1 + }, + { + "cell": 39, + "value": 1 + }, + { + "cell": 40, + "value": 1 + }, + { + "cell": 41, + "value": 1 + } + ], + "explanation": "Row 6 needs 7 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 12, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + }, + { + "cell": 7, + "value": 0 + }, + { + "cell": 14, + "value": 0 + }, + { + "cell": 21, + "value": 0 + }, + { + "cell": 28, + "value": 0 + }, + { + "cell": 42, + "value": 0 + } + ], + "explanation": "Column 1 needs 0 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 6, + "value": 0 + }, + { + "cell": 13, + "value": 0 + }, + { + "cell": 20, + "value": 0 + }, + { + "cell": 27, + "value": 0 + }, + { + "cell": 34, + "value": 0 + }, + { + "cell": 48, + "value": 0 + } + ], + "explanation": "Column 7 needs 0 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 29, + "value": 1 + }, + { + "cell": 30, + "value": 1 + }, + { + "cell": 31, + "value": 1 + }, + { + "cell": 32, + "value": 1 + }, + { + "cell": 33, + "value": 1 + } + ], + "explanation": "Row 5 needs 5 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Column 2", + "Area C" + ], + "marks": [ + { + "cell": 1, + "value": 0 + }, + { + "cell": 43, + "value": 0 + }, + { + "cell": 16, + "value": 1 + }, + { + "cell": 23, + "value": 1 + }, + { + "cell": 8, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Column 2 (1 lights left) and Area C (3 left). Difference: -2.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Column 2", + "Area B" + ], + "marks": [ + { + "cell": 9, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Column 2 (1 lights left) and Area B (4 left). Difference: -3.", + "cellsCompared": 8, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area A", + "Area C" + ], + "marks": [ + { + "cell": 17, + "value": 0 + }, + { + "cell": 24, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Area A (3 lights left) and Area C (3 left). Difference: 0.", + "cellsCompared": 6, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 2, + "value": 0 + }, + { + "cell": 44, + "value": 0 + } + ], + "explanation": "Column 3 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 22, + "value": 1 + }, + { + "cell": 25, + "value": 1 + }, + { + "cell": 26, + "value": 1 + } + ], + "explanation": "Row 4 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 3, + "value": 1 + }, + { + "cell": 10, + "value": 1 + }, + { + "cell": 45, + "value": 1 + } + ], + "explanation": "Column 4 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 7, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 4, + "value": 0 + }, + { + "cell": 5, + "value": 0 + } + ], + "explanation": "Row 1 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 15, + "value": 0 + } + ], + "explanation": "Column 2 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 12, + "value": 0 + }, + { + "cell": 19, + "value": 0 + } + ], + "explanation": "Column 6 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 47, + "value": 0 + }, + { + "cell": 46, + "value": 0 + } + ], + "explanation": "Row 7 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 11, + "value": 1 + } + ], + "explanation": "Row 2 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 18, + "value": 1 + } + ], + "explanation": "Row 3 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "needle", + "givens": "24,26,30,43", + "areas": "2,1,3,3;1,0,3,4;0,0,3,3", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 4, + "resolvedCells": 45, + "initialDirectMoves": 12, + "deductionRounds": 7, + "comparisonSteps": 3, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 14, + "narrowestRound": 1, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 12, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 42, + "value": 0 + }, + { + "cell": 44, + "value": 0 + }, + { + "cell": 45, + "value": 0 + }, + { + "cell": 46, + "value": 0 + }, + { + "cell": 47, + "value": 0 + }, + { + "cell": 48, + "value": 0 + } + ], + "explanation": "Row 7 needs 0 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 6, + "value": 0 + }, + { + "cell": 13, + "value": 0 + }, + { + "cell": 20, + "value": 0 + }, + { + "cell": 27, + "value": 0 + }, + { + "cell": 34, + "value": 0 + }, + { + "cell": 41, + "value": 0 + } + ], + "explanation": "Column 7 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 16, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Column 2", + "Area A" + ], + "marks": [ + { + "cell": 1, + "value": 0 + }, + { + "cell": 8, + "value": 0 + }, + { + "cell": 36, + "value": 0 + }, + { + "cell": 16, + "value": 1 + }, + { + "cell": 17, + "value": 1 + }, + { + "cell": 23, + "value": 1 + }, + { + "cell": 31, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Column 2 (2 lights left) and Area A (6 left). Difference: -4.", + "cellsCompared": 10, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Column 3", + "Area C" + ], + "marks": [ + { + "cell": 37, + "value": 1 + }, + { + "cell": 0, + "value": 0 + }, + { + "cell": 7, + "value": 0 + }, + { + "cell": 14, + "value": 0 + }, + { + "cell": 15, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Column 3 (3 lights left) and Area C (1 left). Difference: 2.", + "cellsCompared": 11, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area A", + "Area C" + ], + "marks": [ + { + "cell": 22, + "value": 1 + }, + { + "cell": 29, + "value": 1 + }, + { + "cell": 2, + "value": 0 + }, + { + "cell": 9, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Area A (6 lights left) and Area C (1 left). Difference: 5.", + "cellsCompared": 14, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 3, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 10, + "value": 1 + }, + { + "cell": 11, + "value": 1 + }, + { + "cell": 12, + "value": 1 + } + ], + "explanation": "Row 2 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 3, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 3, + "value": 0 + }, + { + "cell": 38, + "value": 0 + } + ], + "explanation": "Column 4 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Area B" + ], + "marks": [ + { + "cell": 21, + "value": 0 + } + ], + "explanation": "Area B needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 4, + "value": 1 + }, + { + "cell": 5, + "value": 1 + } + ], + "explanation": "Row 1 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 28, + "value": 1 + }, + { + "cell": 35, + "value": 1 + } + ], + "explanation": "Column 1 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 25, + "value": 1 + } + ], + "explanation": "Row 4 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 32, + "value": 0 + }, + { + "cell": 33, + "value": 0 + } + ], + "explanation": "Row 5 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 18, + "value": 0 + } + ], + "explanation": "Column 5 needs 0 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 39, + "value": 0 + }, + { + "cell": 40, + "value": 0 + } + ], + "explanation": "Row 6 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 1, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 19, + "value": 1 + } + ], + "explanation": "Row 3 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "mirror", + "givens": "18,25,27,28", + "areas": "2,2,4,4;1,2,4,3;0,4,3,3", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 4, + "resolvedCells": 45, + "initialDirectMoves": 5, + "deductionRounds": 8, + "comparisonSteps": 3, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 11, + "narrowestRound": 2, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 4, + "value": 1 + }, + { + "cell": 11, + "value": 1 + }, + { + "cell": 32, + "value": 1 + }, + { + "cell": 39, + "value": 1 + }, + { + "cell": 46, + "value": 1 + } + ], + "explanation": "Column 5 needs 5 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 7, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Column 3", + "Area B" + ], + "marks": [ + { + "cell": 2, + "value": 1 + }, + { + "cell": 37, + "value": 1 + }, + { + "cell": 44, + "value": 1 + }, + { + "cell": 10, + "value": 0 + }, + { + "cell": 17, + "value": 0 + }, + { + "cell": 24, + "value": 0 + }, + { + "cell": 31, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Column 3 (5 lights left) and Area B (2 left). Difference: 3.", + "cellsCompared": 11, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 3, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 3, + "value": 1 + }, + { + "cell": 38, + "value": 1 + }, + { + "cell": 45, + "value": 1 + } + ], + "explanation": "Column 4 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 12, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + }, + { + "cell": 1, + "value": 0 + }, + { + "cell": 5, + "value": 0 + }, + { + "cell": 6, + "value": 0 + } + ], + "explanation": "Row 1 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 35, + "value": 0 + }, + { + "cell": 36, + "value": 0 + }, + { + "cell": 40, + "value": 0 + }, + { + "cell": 41, + "value": 0 + } + ], + "explanation": "Row 6 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 42, + "value": 0 + }, + { + "cell": 43, + "value": 0 + }, + { + "cell": 47, + "value": 0 + }, + { + "cell": 48, + "value": 0 + } + ], + "explanation": "Row 7 needs 0 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 8, + "value": 1 + }, + { + "cell": 15, + "value": 1 + }, + { + "cell": 22, + "value": 1 + }, + { + "cell": 29, + "value": 1 + } + ], + "explanation": "Column 2 needs 4 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 12, + "value": 1 + }, + { + "cell": 19, + "value": 1 + }, + { + "cell": 26, + "value": 1 + }, + { + "cell": 33, + "value": 1 + } + ], + "explanation": "Column 6 needs 4 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Column 3", + "Area A" + ], + "marks": [ + { + "cell": 9, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Column 3 (2 lights left) and Area A (1 left). Difference: 1.", + "cellsCompared": 4, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Column 7", + "Area C" + ], + "marks": [ + { + "cell": 34, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Column 7 (1 lights left) and Area C (1 left). Difference: 0.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 3, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 7, + "value": 0 + }, + { + "cell": 13, + "value": 0 + } + ], + "explanation": "Row 2 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 30, + "value": 1 + } + ], + "explanation": "Row 5 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 14, + "value": 1 + }, + { + "cell": 21, + "value": 1 + } + ], + "explanation": "Column 1 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 16, + "value": 0 + }, + { + "cell": 23, + "value": 0 + } + ], + "explanation": "Column 3 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 20, + "value": 1 + } + ], + "explanation": "Column 7 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "gate", + "givens": "1,8,10,26", + "areas": "1,2,3,4;3,1,3,3;4,2,3,4", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 4, + "resolvedCells": 45, + "initialDirectMoves": 5, + "deductionRounds": 7, + "comparisonSteps": 4, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 14, + "narrowestRound": 2, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 15, + "value": 0 + }, + { + "cell": 22, + "value": 0 + }, + { + "cell": 29, + "value": 0 + }, + { + "cell": 36, + "value": 0 + }, + { + "cell": 43, + "value": 0 + } + ], + "explanation": "Column 2 needs 0 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 21, + "value": 1 + }, + { + "cell": 23, + "value": 1 + }, + { + "cell": 24, + "value": 1 + }, + { + "cell": 25, + "value": 1 + }, + { + "cell": 27, + "value": 1 + } + ], + "explanation": "Row 4 needs 5 more lights in 5 unmarked cells.", + "cellsCompared": 5, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 12, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Column 4", + "Area C" + ], + "marks": [ + { + "cell": 3, + "value": 1 + }, + { + "cell": 17, + "value": 1 + }, + { + "cell": 30, + "value": 0 + }, + { + "cell": 37, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Column 4 (4 lights left) and Area C (2 left). Difference: 2.", + "cellsCompared": 14, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area B", + "Area C" + ], + "marks": [ + { + "cell": 32, + "value": 0 + }, + { + "cell": 33, + "value": 0 + }, + { + "cell": 39, + "value": 0 + }, + { + "cell": 40, + "value": 0 + }, + { + "cell": 44, + "value": 0 + }, + { + "cell": 46, + "value": 0 + }, + { + "cell": 47, + "value": 0 + }, + { + "cell": 45, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Area B (2 lights left) and Area C (2 left). Difference: 0.", + "cellsCompared": 12, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 31, + "value": 1 + }, + { + "cell": 38, + "value": 1 + } + ], + "explanation": "Column 4 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 28, + "value": 1 + }, + { + "cell": 34, + "value": 1 + } + ], + "explanation": "Row 5 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 35, + "value": 1 + }, + { + "cell": 41, + "value": 1 + } + ], + "explanation": "Row 6 needs 3 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 7" + ], + "marks": [ + { + "cell": 42, + "value": 1 + }, + { + "cell": 48, + "value": 1 + } + ], + "explanation": "Row 7 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Row 2", + "Area A" + ], + "marks": [ + { + "cell": 7, + "value": 1 + }, + { + "cell": 13, + "value": 1 + }, + { + "cell": 19, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Row 2 (3 lights left) and Area A (1 left). Difference: 2.", + "cellsCompared": 8, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Column 6", + "Area A" + ], + "marks": [ + { + "cell": 16, + "value": 0 + }, + { + "cell": 18, + "value": 0 + }, + { + "cell": 5, + "value": 1 + }, + { + "cell": 9, + "value": 0 + }, + { + "cell": 11, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Column 6 (2 lights left) and Area A (1 left). Difference: 1.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 12, + "value": 1 + } + ], + "explanation": "Row 2 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 14, + "value": 1 + }, + { + "cell": 20, + "value": 1 + } + ], + "explanation": "Row 3 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 2, + "value": 1 + } + ], + "explanation": "Column 3 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 4, + "value": 1 + } + ], + "explanation": "Column 5 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + } + ], + "explanation": "Column 1 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 6, + "value": 0 + } + ], + "explanation": "Column 7 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "moon", + "givens": "8,21,36", + "areas": "1,1,4,3;2,0,4,3;0,1,4,3", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 3, + "resolvedCells": 46, + "initialDirectMoves": 13, + "deductionRounds": 8, + "comparisonSteps": 4, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 10, + "narrowestRound": 2, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 13, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + }, + { + "cell": 7, + "value": 0 + }, + { + "cell": 14, + "value": 0 + }, + { + "cell": 28, + "value": 0 + }, + { + "cell": 35, + "value": 0 + }, + { + "cell": 42, + "value": 0 + } + ], + "explanation": "Column 1 needs 0 more lights in 6 unmarked cells.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 6, + "value": 0 + }, + { + "cell": 13, + "value": 0 + }, + { + "cell": 20, + "value": 0 + }, + { + "cell": 27, + "value": 0 + }, + { + "cell": 34, + "value": 0 + }, + { + "cell": 41, + "value": 0 + }, + { + "cell": 48, + "value": 0 + } + ], + "explanation": "Column 7 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Row 4", + "Area B" + ], + "marks": [ + { + "cell": 24, + "value": 0 + }, + { + "cell": 25, + "value": 0 + }, + { + "cell": 26, + "value": 0 + }, + { + "cell": 15, + "value": 1 + }, + { + "cell": 16, + "value": 1 + }, + { + "cell": 29, + "value": 1 + }, + { + "cell": 30, + "value": 1 + }, + { + "cell": 37, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Row 4 (1 lights left) and Area B (6 left). Difference: -5.", + "cellsCompared": 10, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 6, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 17, + "value": 0 + }, + { + "cell": 18, + "value": 0 + }, + { + "cell": 19, + "value": 0 + } + ], + "explanation": "Row 3 needs 0 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 31, + "value": 0 + }, + { + "cell": 32, + "value": 0 + }, + { + "cell": 33, + "value": 0 + } + ], + "explanation": "Row 5 needs 0 more lights in 3 unmarked cells.", + "cellsCompared": 3, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 4, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 3, + "value": 1 + }, + { + "cell": 10, + "value": 1 + }, + { + "cell": 38, + "value": 1 + }, + { + "cell": 45, + "value": 1 + } + ], + "explanation": "Column 4 needs 4 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 39, + "value": 0 + }, + { + "cell": 40, + "value": 0 + } + ], + "explanation": "Row 6 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Column 3", + "Area A" + ], + "marks": [ + { + "cell": 2, + "value": 0 + }, + { + "cell": 44, + "value": 0 + }, + { + "cell": 22, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Column 3 (1 lights left) and Area A (2 left). Difference: -1.", + "cellsCompared": 5, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Row 4", + "Area A" + ], + "marks": [ + { + "cell": 9, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Row 4 (1 lights left) and Area A (2 left). Difference: -1.", + "cellsCompared": 3, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area A", + "Area C" + ], + "marks": [ + { + "cell": 1, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Area A (2 lights left) and Area C (2 left). Difference: 0.", + "cellsCompared": 5, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 6, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 4, + "value": 1 + }, + { + "cell": 5, + "value": 1 + } + ], + "explanation": "Row 1 needs 2 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 11, + "value": 0 + }, + { + "cell": 12, + "value": 0 + } + ], + "explanation": "Row 2 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 43, + "value": 0 + } + ], + "explanation": "Column 2 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 23, + "value": 0 + } + ], + "explanation": "Column 3 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 46, + "value": 1 + } + ], + "explanation": "Column 5 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 47, + "value": 1 + } + ], + "explanation": "Column 6 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + }, + { + "id": "chair", + "givens": "", + "areas": "0,2,4,3;3,3,3,3;3,4,3,3", + "report": { + "status": "solved", + "message": "Solved by visible deductions; no hypothetical lookahead needed.", + "solutionCountCappedAtTwo": 1, + "cellCount": 49, + "givens": 0, + "resolvedCells": 49, + "initialDirectMoves": 21, + "deductionRounds": 8, + "comparisonSteps": 3, + "assumptionSteps": 0, + "maxAssumptionDepthUsed": 0, + "lookaheadDepth": 0, + "lookaheadLimit": 0, + "maxCellsCompared": 11, + "narrowestRound": 1, + "searchNodes": 0, + "remainingCells": [], + "rounds": [ + { + "newCells": 21, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 1" + ], + "marks": [ + { + "cell": 0, + "value": 0 + }, + { + "cell": 7, + "value": 0 + }, + { + "cell": 14, + "value": 0 + }, + { + "cell": 21, + "value": 0 + }, + { + "cell": 28, + "value": 0 + }, + { + "cell": 35, + "value": 0 + }, + { + "cell": 42, + "value": 0 + } + ], + "explanation": "Column 1 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 2" + ], + "marks": [ + { + "cell": 1, + "value": 1 + }, + { + "cell": 8, + "value": 1 + }, + { + "cell": 15, + "value": 1 + }, + { + "cell": 22, + "value": 1 + }, + { + "cell": 29, + "value": 1 + }, + { + "cell": 36, + "value": 1 + }, + { + "cell": 43, + "value": 1 + } + ], + "explanation": "Column 2 needs 7 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 7" + ], + "marks": [ + { + "cell": 6, + "value": 0 + }, + { + "cell": 13, + "value": 0 + }, + { + "cell": 20, + "value": 0 + }, + { + "cell": 27, + "value": 0 + }, + { + "cell": 34, + "value": 0 + }, + { + "cell": 41, + "value": 0 + }, + { + "cell": 48, + "value": 0 + } + ], + "explanation": "Column 7 needs 0 more lights in 7 unmarked cells.", + "cellsCompared": 7, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 4, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 5" + ], + "marks": [ + { + "cell": 30, + "value": 1 + }, + { + "cell": 31, + "value": 1 + }, + { + "cell": 32, + "value": 1 + }, + { + "cell": 33, + "value": 1 + } + ], + "explanation": "Row 5 needs 4 more lights in 4 unmarked cells.", + "cellsCompared": 4, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 5, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Row 4", + "Area C" + ], + "marks": [ + { + "cell": 23, + "value": 0 + }, + { + "cell": 24, + "value": 0 + }, + { + "cell": 39, + "value": 1 + }, + { + "cell": 40, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Row 4 (1 lights left) and Area C (3 left). Difference: -2.", + "cellsCompared": 6, + "assumptionDepth": 0 + }, + { + "rule": "comparison", + "clues": [ + "Area B", + "Area C" + ], + "marks": [ + { + "cell": 38, + "value": 0 + } + ], + "explanation": "Cancel shared unmarked cells in Area B (3 lights left) and Area C (3 left). Difference: 0.", + "cellsCompared": 6, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 1, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 6" + ], + "marks": [ + { + "cell": 37, + "value": 0 + } + ], + "explanation": "Row 6 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 8, + "steps": [ + { + "rule": "comparison", + "clues": [ + "Row 2", + "Area A" + ], + "marks": [ + { + "cell": 12, + "value": 0 + }, + { + "cell": 2, + "value": 1 + }, + { + "cell": 3, + "value": 1 + }, + { + "cell": 4, + "value": 1 + }, + { + "cell": 16, + "value": 1 + }, + { + "cell": 17, + "value": 1 + }, + { + "cell": 18, + "value": 1 + }, + { + "cell": 25, + "value": 1 + } + ], + "explanation": "Cancel shared unmarked cells in Row 2 (1 lights left) and Area A (8 left). Difference: -7.", + "cellsCompared": 11, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 7, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 1" + ], + "marks": [ + { + "cell": 5, + "value": 0 + } + ], + "explanation": "Row 1 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 3" + ], + "marks": [ + { + "cell": 19, + "value": 0 + } + ], + "explanation": "Row 3 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 3" + ], + "marks": [ + { + "cell": 9, + "value": 0 + }, + { + "cell": 44, + "value": 0 + } + ], + "explanation": "Column 3 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Row 4" + ], + "marks": [ + { + "cell": 26, + "value": 0 + } + ], + "explanation": "Row 4 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 4" + ], + "marks": [ + { + "cell": 10, + "value": 0 + }, + { + "cell": 45, + "value": 0 + } + ], + "explanation": "Column 4 needs 0 more lights in 2 unmarked cells.", + "cellsCompared": 2, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 2, + "steps": [ + { + "rule": "direct", + "clues": [ + "Row 2" + ], + "marks": [ + { + "cell": 11, + "value": 1 + } + ], + "explanation": "Row 2 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + }, + { + "rule": "direct", + "clues": [ + "Column 6" + ], + "marks": [ + { + "cell": 47, + "value": 1 + } + ], + "explanation": "Column 6 needs 1 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + }, + { + "newCells": 1, + "steps": [ + { + "rule": "direct", + "clues": [ + "Column 5" + ], + "marks": [ + { + "cell": 46, + "value": 0 + } + ], + "explanation": "Column 5 needs 0 more lights in 1 unmarked cells.", + "cellsCompared": 1, + "assumptionDepth": 0 + } + ] + } + ] + } + } +] diff --git a/docs/CODE_MAP.md b/docs/CODE_MAP.md index 6fd8aaf..a658170 100644 --- a/docs/CODE_MAP.md +++ b/docs/CODE_MAP.md @@ -8,10 +8,10 @@ - **What it is:** an offline illustrated logic-puzzle notebook ("Lumen", version 2.0.2+11). - **Stack:** Flutter 3.47.5 / Dart 3.13.4, Material widgets, no backend and no account. -- **Entry point:** `main()` in `lib/main.dart` → `StoryLibrary.load()` + `Progress.load()` → open selected story/language → `Game(...)` → `await game.restore()` → `runApp(LumenApp(game: game))`. `Book.load()` remains an English Mara compatibility loader for existing tests/tools. +- **Entry point:** `main()` in `lib/main.dart` → `StoryLibrary.load()` + `Progress.load()` → open selected story/language → `Game(...)` → `await game.restore()` → `game.showLibrary()` → `runApp(LumenApp(game: game))`. The shelf is the first window; `restore()` has already positioned each book's saved leaf so choosing a book resumes it. `Book.load()` remains an English Mara compatibility loader for existing tests/tools. - **State:** one `Game extends ChangeNotifier` (`lib/domain/game.dart`) owns the current screen, puzzle session, marks, undo history and progress. `_NotebookState` listens to it and rebuilds the active screen. -- **Screens:** `Screen { home, story, contents, briefing, game, reveal }`, rendered by six builder methods in `_NotebookState`. -- **Story content:** an offline catalogue in `assets/library.json`; Mara has twelve authored 7×7 pictures, and the short Paper Boat example demonstrates English/German story packages. Daily and classic boards are generated 5×5 puzzles. +- **Screens:** `Screen { library, home, story, contents, briefing, game, reveal }`, rendered by seven builder methods in `_NotebookState`. +- **Story content:** an offline catalogue in `assets/library.json`; Mara has twelve authored 7×7 pictures; Paper Boat demonstrates English/German packages; The Midnight Invitation is a complete English Halloween special (38 leaves, twelve puzzles, thirteen illustrations, 26 recorded passages). Daily and classic boards are generated 5×5 puzzles. - **Persistence:** local `SharedPreferencesAsync` behind `lib/services/progress.dart`; legacy Java saves are never imported. - **Platform:** Android is the tested target; iOS scaffolding exists but is unvalidated. `legacy/` is archived Java 1.7 and is excluded from builds and analysis. @@ -78,7 +78,7 @@ flowchart TD board["board.dart
Board · PencilMark · PixelPicture · PatternStamp"] discovery["discovery.dart
Discovery · transition · replay"] end - main["main.dart
LumenApp · Notebook
six screen builders · dialogs"] + main["main.dart
LumenApp · Notebook
seven screen builders · dialogs"] game["domain/game.dart
Game (ChangeNotifier)
Screen/Mode · session · awards"] puzzle["domain/puzzle.dart
Puzzle · LogicSolver · JavaRandom · Difficulty"] thinking["domain/thinking.dart
ThinkingAnalyzer · ThinkingReport"] @@ -138,7 +138,7 @@ Dependency rules: ## Runtime wiring -- `main()` sets the system overlay style, registers the Dancing Script OFL licence, initializes date symbols, loads the catalogue and progress, resolves the saved story and requested language, constructs `Game`, awaits `game.restore()`, then runs `LumenApp`. +- `main()` sets the system overlay style, registers the Dancing Script OFL licence, initializes date symbols, loads the catalogue and progress, resolves the saved story and requested language, constructs `Game`, awaits `game.restore()`, opens the shelf with `game.showLibrary()`, then runs `LumenApp`. - `LumenApp` is a `MaterialApp` with seed colour `blue` (`#274956`), cream surface (`#f3e7cc`), `fontFamily: 'MaraHand'` and `Notebook` as `home`. - `_NotebookState` creates exactly one `Narrator(g.book.tracks)` and one `Ads(enabled: widget.adsEnabled)`, subscribes to `Game` with `_changed`, and starts ads after the first frame. - `_changed()` replaces narration tracks when the active book/language changes, stops narration when the route string (`storyId:language:screen:storyIndex|campaignIndex`) changes, then rebuilds. @@ -177,6 +177,7 @@ stateDiagram-v2 | Screen | Builder in `_NotebookState` | Leaf key | Content | `onTurn` | | --- | --- | --- | --- | --- | +| `library` | `libraryScreen()` | `library` | Bookshelf: every catalogue entry as a card with cover, languages, restored patterns and settings | none (cards call `selectStory`) | | `home` | `home()` | none (own `Scaffold` body) | Harbour art, notebook cover, daily ritual, difficulty, rules, privacy, licences | none | | `story` | `story()` | `story-` | Sixteen cottage leaves: dedication, four entry/puzzle/memory beats, note, inspection, closing | `turn()` | | `contents` | `contents()` | `contents-` | Four chapter entries, ribbon bookmark, reading resume and optional cottage scraps; chapter navigation | none | @@ -188,6 +189,7 @@ stateDiagram-v2 | Method | Effect | | --- | --- | +| `showLibrary()` | `Screen.library`; cancels pending board generation. Never written to `flutter_screen`, so each book's saved route survives and the app opens on the shelf | | `home()` | `Screen.home`; cancels pending board generation | | `openNotebook()` | `showStory(index of notebook_last_page, else 0)` | | `showStory(i)` | Clamp `i` to available pages; set campaign mode and the record’s campaign index; on a puzzle leaf load its `story_v1_` unless already loaded; persist last page and `viewed_`; `Screen.story` | @@ -207,7 +209,7 @@ stateDiagram-v2 - **Boot/app:** `main`, `LumenApp`, `Notebook`, `_NotebookState`. - **Lifecycle/router:** `initState`, `_changed`, `didChangeAppLifecycleState`, `dispose`, `build`, `back`. -- **Screens:** `home`, `story`, `contents`, `briefing`, `game`, `reveal`. +- **Screens:** `libraryScreen`, `home`, `story`, `contents`, `briefing`, `game`, `reveal`. - **Puzzle UI:** `puzzleBody`, `areaPicker`, `board`, `puzzleNotes`, `splitPuzzle`, `hint`, `nextPractice`. - **Story extras:** `reading` (narrator cue highlight), `audio` (play/pause, stop, speed), `illustration`, `navigation`, `bookmark`, `openLetter`, `inspect`, `speed`. - **Leaf turning:** `turn`, `turnCampaign`, `nextCampaign`. @@ -255,7 +257,7 @@ Content pipelines: - All visible handwriting uses `hand(size)` (`MaraHand` → Dancing Script). Colours live in `lib/ui/paper.dart`: `ink` `#36413c`, `blue` `#274956`, `muted` `#796b55`, `cream` `#f3e7cc`, `amber` `#e0b568`. - `writing()` adds paper spacing; `folio()` is the small blue label above a leaf's content. -- The home folio stays above the scroll viewport so its lettering remains fully visible during scrolling; the title, illustrations and actions scroll below it. +- The home folio stays above the scroll viewport so its lettering remains fully visible during scrolling; the title, illustrations and actions scroll below it. Home is keyed by story ID, so selecting a different story opens at its cover instead of retaining the preceding book’s home scroll offset. - `InkButton` is the only button style: transparent, underlined ink text, minimum 48 px touch target, optional `primary` emphasis, wrapped in `PageSwipeBlocker`. ### Paper and leaves @@ -287,11 +289,11 @@ Content pipelines: See [Story packages and translations](STORY_PACKAGES.md) for the authoring schema and a complete recipe. - `StoryLibrary` reads `assets/library.json` and caches books by stable story ID and resolved language. `Book.loadDefinition()` merges only display fields from locale overlays, validates IDs/references/grid shapes, and derives chapters from stable `chapterId` values. -- `Game.selectStory()` cancels old puzzle work and restores that story's route/marks; `selectLanguage()` replaces localized content without replacing the live grid or undo stack. The library dialog and language picker are reachable from home; language is also available while reading. +- `Game.selectStory()` cancels old puzzle work and restores that story's route/marks; `selectLanguage()` replaces localized content without replacing the live grid or undo stack. `Game.showLibrary()` opens the bookshelf, which is the app's first window; `bookCard`/`shelfBooks` load every book once per requested language, and a broken package is skipped so the rest of the shelf stays usable. The shelf is responsive: dense single-column cards below 480 logical pixels, a two-column grid from 720 px, and a centred column capped at 860 px; Settings scrolls with the books. The language picker is reachable from the shelf's Settings and from a book's home; language is also available while reading. - `LumenApp` rebuilds its locale/theme and `CopyScope` from `Game`. Flutter localization delegates handle standard controls and RTL direction. `CopyText` translates UI messages separately from authored passages, which `reading()` displays directly. The board explicitly remains LTR so its spatial solution does not change with language. - Mara's special note/inspection pages live in `lib/ui/mara_story.dart`; `standardStory()` supports new packages without Mara-specific assumptions. Existing ambience scenes apply only to Mara. - Languages resolve exact tag → base language → original story language; individual missing fields also use original text. Translated books only use explicitly supplied locale narration manifests, so English recordings do not automatically play over translated text. -- The shipped Paper Boat package demonstrates English/German content; Mara's story text is still English. Both English and German app UI catalogues are bundled. +- The shipped Paper Boat package demonstrates English/German content; Mara's story text is still English. `assets/stories/midnight-invitation/` adds the complete Halloween story with its own narrated English content and original generated artwork. Both English and German app UI catalogues are bundled. ## Persistence key map @@ -406,14 +408,19 @@ Board key formats (``): | `integration_test/autoplay_test.dart` | Real-device delayed playback of bundled WAVs, cancellation when entering a puzzle and Stop preventing restart | | `test/ambience_test.dart` | Scene mapping, voice ducking, mute/background stop, stale loading requests, backend failure/recovery and disposal | | `integration_test/soundscape_test.dart` | Real-device decoding of all 24 new continuations, bridge/narration mixing, saved mute and automatic Mara-to-narrator handoff | +| `test/halloween_test.dart` | Complete Halloween structure, twelve unique/no-assumption puzzles, all prose/audio/image assets, read-ahead, independent saves and exactly-once completion | +| `test/halloween_widget_test.dart` | All 38 Halloween leaves at 1.5× text in both orientations, gated discovery artwork and bookmarks from later chapters | +| `integration_test/halloween_test.dart` | Complete on-device Halloween flow, all 26 native WAV decodes, play/pause/resume, twelve discoveries, read-ahead, bookmarks and ending | | `test/library_test.dart` | All registered packages/locales, unique puzzles, identity-safe overlays, fallback/audio, independent story saves, live language switching, variable chapters, UI placeholders and invalid content | -| `test/library_widget_test.dart` | Actual library/language controls, translated metadata, German at larger text in both orientations, Arabic RTL/font behavior | +| `test/library_widget_test.dart` | Bookshelf as the app's first window (all books listed and one opened), actual library/language controls, translated metadata, German at larger text in both orientations, Arabic RTL/font behavior | | `test/puzzle_test.dart` | 40 Java reference boards (signed 64-bit seeds), 300 graded boards, solver counts vs. exhaustive search, campaign uniqueness/no-guess, streaks, fresh progress, read-ahead, daily awards and practice levels | | `test/widget_test.dart` | Pattern-to-art timing/replay, back-to-solved-grid navigation, rewarded hints in all modes, declined/unavailable ads and duplicate/stale callbacks, page swipes vs. grid drags, swipes over text/blank paper, vertical scrolling and cancelled drags, small/landscape/1.5× text, landscape two-column puzzle leaf, illustrated campaign reveals and pixel fallback at 1.5× text | -| `integration_test/library_test.dart` | Isolated on-device library selection, English/German switching, shared marks/bookmark/undo, story isolation, read-ahead and exactly-once completion; four screenshots | +| `integration_test/library_test.dart` | Isolated on-device bookshelf start, English/German switching, shared marks/bookmark/undo, story isolation, read-ahead and exactly-once completion; five screenshots | | `integration_test/notebook_test.dart` | On-device QA flow: six leaves, real WAV playback and pause/resume, bookmarks/discoveries, match and lantern solves, exactly-once awards, QA disk round-trip, screenshots | | `integration_test/cottage_test.dart` | All sixteen leaves, larger-text portrait/landscape, bookmarks, legacy-key marks, all four awards, all 23 narrator tracks and isolated test persistence; eight screenshots | | `integration_test/discovery_art_test.dart` | QA tablet screenshots of all twelve discoveries and the opening match memory, portrait/landscape at 1.5× text; checks reachable controls and unchanged awards | +| `tool/shelf_screenshots_test.dart` | Renders the bookshelf at phone (360×640, 390×844, 1.5× text) and tablet (800×1280, 1280×800) metrics, asserts every card and Settings stay reachable without overflow, and writes `artifacts/library/shelf-*.png` | +| `scripts/check_story_package.py` | Independent story script/cue/audio/master/archive and illustration validation | | `scripts/check_narration_assets.py` | Script text ↔ manifest ↔ WAV masters checksums | | `scripts/check_flutter_install.py` | Read-only installed-app smoke check and screenshots | | `scripts/render_narration.py` | Renders the fixed WAV masters and FLAC archives; the app never synthesises speech | @@ -484,7 +491,7 @@ Each run checks four discoveries in both orientations at 1.5× text, including n - **Widget tests use a test font.** Glyphs render as squares, so text wraps far more than Dancing Script. Use geometry assertions and, for visual work, load the real font with `FontLoader('MaraHand')` or check on the device before trusting a layout. - **`pumpAndSettle` can struggle with the full app.** Prefer a bounded `pump()` loop when mounting `LumenApp`; the audio streams keep notifying and may prevent settling. -- **`Game.restore()` must be awaited before `runApp`.** Otherwise the app opens on `home` and ignores the saved screen. +- **`Game.restore()` must be awaited before `runApp`.** The shelf is shown first, but selecting a book calls `restore()`; without that route data the book opens on `home` and ignores its saved screen. - **Story page 3 is index 2.** Solving the opening match puzzle awards the first campaign entry (`story_v1_0`) and jumps to story page 4 (`showStory(3)`), skipping the campaign reveal. - **`showStory()` sets campaign mode and the page record’s campaign index (0 if absent).** Daily and classic starts set their own mode afterwards; keep that order. - **`startPractice` discards stale results** with `_request`. Do not remove that guard when refactoring. @@ -531,3 +538,15 @@ python3 scripts/check_soundscape_assets.py` after structural edits. - The map is hand-maintained; no generator or CI check keeps it current, so treat drift as a bug. _Last reviewed against version 2.0.2+11._ + +The cast diary audio system adds `lib/domain/soundscape.dart` (package-defined loops), +`narration/cast.json` and segmented scripts in the Halloween package, plus +`scripts/audio_drama.py` for offline cast validation/Foley. `Book.atmosphere` +binds stable page IDs to nonverbal loops independently of language. Native +cast/mixing coverage is in `integration_test/drama_test.dart`. + +Halloween now uses `Book.paperAsset` through `PaperSkin` on all notebook pages. +`tool/compile_midnight_diary.py` compiles the first-person `STORY.md` manuscript +into stable content and cast scripts. `RegionButton` provides a filled selected +state; `Board` overlays a pointer-transparent frame around the selected region. +`test/region_selection_test.dart` verifies frame geometry, marking and book skins. diff --git a/docs/README.md b/docs/README.md index 3f39c56..69c32ad 100644 --- a/docs/README.md +++ b/docs/README.md @@ -3,6 +3,7 @@ | Document | Purpose | | --- | --- | | [Code map](CODE_MAP.md) | Agent-oriented architecture, dependency graph, screen state machine, puzzle pipeline, UI/layout rules, persistence keys, asset and service flows, test map, invariants, change recipes and gotchas | +| [Halloween special](../assets/stories/midnight-invitation/README.md) | The Midnight Invitation: manuscript, artwork prompts, narration provenance and puzzle proofs | | [Story packages and translations](STORY_PACKAGES.md) | Add stories to the library, author puzzles/pages, translate content and UI, and preserve saves across languages | | [Thinking-depth tool](THINKING_DEPTH.md) | CLI usage, reasoning model, depth limits, reports and human-difficulty interpretation | | [Project README](../README.md) | Features, artwork, narration, build and verification commands, publishing notes | diff --git a/docs/STORY_PACKAGES.md b/docs/STORY_PACKAGES.md index b510a93..88d2421 100644 --- a/docs/STORY_PACKAGES.md +++ b/docs/STORY_PACKAGES.md @@ -186,10 +186,89 @@ translations, independent story saves, live undo after translation, chapter progression, stale async language loads, and invalid content. `test/library_widget_test.dart` exercises the actual selectors, German at 1.5× text in both orientations, and Arabic direction/font behavior with a fixed -puzzle layout. `integration_test/library_test.dart` runs the library flow on -the tablet with an in-memory game and ads disabled (`QA_TEST=true`, preferably -the isolated `check` flavor). Screenshots are written under +puzzle layout. `integration_test/library_test.dart` starts on the bookshelf and then runs the +library flow on the tablet with an in-memory game and ads disabled (`QA_TEST=true`, +preferably the isolated `check` flavor). Screenshots are written under `artifacts/flutter-check/library-*.png` by the existing integration driver. +`flutter test tool/shelf_screenshots_test.dart` renders the shelf at phone and +tablet metrics into `artifacts/library/shelf-*.png` without a device. For every device installation, follow the root `AGENTS.md`: build and verify the intended APK first, then fresh-install its package with no restored app data. + +## Cast readings and scene atmosphere + +A page can remain one transport-controlled WAV while containing several voices. +The Midnight Invitation diary uses `narration/cast.json` for stable role-to-voice +assignments and optional `segments` in `narration/scripts.json`: + +```json +{ + "speaker": "Iris", + "text": "“I always do.”\n\n", + "pauseMs": 900, + "direction": "Understated, almost to herself." +} +``` + +Concatenating segment text **without a separator** must reproduce the page text +exactly, including whitespace and punctuation. Each segment names a cast member; +optional `speed`, `sentencePause`, `pauseMs`, `perspective` and `afterEffect` +control the offline performance. `direction` is a production note for a human +or a future expressive speech engine; Kokoro does not interpret emotion prompts. +The current renderer supports `near` / `behind-door` perspective and three soft +procedural effects (`door-knock`, `chair-shift`, `paper`) placed in the pauses. +These effects are part of the reading, so pause/replay/speed changes keep them in +sync. The atmosphere switch controls the separate background layer. + +Render selected pages with repeatable `--page ` arguments to +`scripts/render_narration.py --story-root ...`. Other tracks are +preserved. Per-segment cue speakers drive highlighting and the live speaker label; +the role remains displayed through its pause. Generated drama tracks use +`cueJoin: ""`; legacy paragraph tracks retain their double-newline convention. +Master WAV, runtime WAV and FLAC archive checks remain mandatory. + +For a translation, keep role/page IDs stable and author new text segments, voices +and timings for that language. Use a speech engine with suitable target-language +voices and publish the resulting manifest through that locale's `tracksAsset`. +English cue offsets or spoken tracks must not be reused over translated text. + +A catalogue entry may also specify an independent `atmosphereAsset`: + +```json +{ + "scenes": { + "kitchen": {"asset": "assets/stories/example/audio/kitchen.wav"} + }, + "pages": { + "example.candle.entry": "kitchen", + "example.candle.puzzle": "kitchen" + } +} +``` + +Use actual page IDs and bundled WAV paths. This manifest is shared across locales +and must contain nonverbal sound only. Unmapped pages are quiet. Adjacent pages +using the same asset retain the loop; another scene fades between loops. Leaving +the story, muting, or backgrounding stops it. Background volume lowers under the +reading; existing Sound & atmosphere controls apply to every story. The original +Mara chapter mapping remains supported. + +`test/drama_test.dart` covers language isolation, invalid bindings, live cast +labels, ducking, loop continuity and leaving the book. The dedicated device test +is `integration_test/drama_test.dart`. Pilot review mixes can be exported with +`python3 scripts/render_drama_previews.py`; they are local artifacts, not bundled +in the app. + +## Story-specific notebook paper + +Set optional `paperAsset` on a catalogue entry to a bundled page-background image. +It applies to reading, contents and puzzle pages through `PaperSkin`; absent +values preserve the original notebook. A locale overlay may override `paperAsset`. +Keep the reading rectangle clear (approximately x=8–91%, y=12–91% of a portrait +1024×1536 page), and keep any decorations in the margins. Verify portrait, +landscape, larger text and a switch back to another book. + +The selected puzzle region uses both a filled/checkmarked button and a continuous +outline. Keep its overlay transparent and pointer-transparent: an opaque shadow +or fill above the grid can conceal marks even when hit testing still works. diff --git a/integration_test/cottage_test.dart b/integration_test/cottage_test.dart index 885e89f..4aa96d4 100644 --- a/integration_test/cottage_test.dart +++ b/integration_test/cottage_test.dart @@ -72,8 +72,12 @@ void main() { await tester.tap(target); await tester.pumpAndSettle(); final marks = List.of(game.cells); - await tap('Bookmark'); - final savedId = game.progress.text('notebook_manual_bookmark'); + await tester.binding.handlePopRoute(); + await tester.pumpAndSettle(); + expect(game.screen, Screen.home); + game.openNotebook(); + await tester.pumpAndSettle(); + final savedId = game.progress.text('notebook_last_page'); expect(savedId, page.id); final restored = Game(book, Progress.memory(game.progress.snapshot)); await restored.restore(); @@ -127,7 +131,7 @@ void main() { final lastCell = tester.getRect(find.byKey(const ValueKey('cell-48'))); expect( lastCell.bottom, - lessThan(tester.getTopLeft(find.text('Contents')).dy), + lessThan(tester.getTopLeft(find.text('Next leaf →')).dy), ); await binding.takeScreenshot('cottage-compass-landscape'); for (var i = 0; i < 4; i++) { diff --git a/integration_test/diary_test.dart b/integration_test/diary_test.dart new file mode 100644 index 0000000..53bc207 --- /dev/null +++ b/integration_test/diary_test.dart @@ -0,0 +1,7 @@ +import 'halloween_test.dart' as story; +import 'drama_test.dart' as audio; + +void main() { + story.main(); + audio.main(); +} diff --git a/integration_test/drama_test.dart b/integration_test/drama_test.dart new file mode 100644 index 0000000..9174751 --- /dev/null +++ b/integration_test/drama_test.dart @@ -0,0 +1,120 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; +import 'package:lumen/domain/game.dart'; +import 'package:lumen/domain/library.dart'; +import 'package:lumen/main.dart'; +import 'package:lumen/services/ambience.dart'; +import 'package:lumen/services/narrator.dart'; +import 'package:lumen/services/progress.dart'; + +void main() { + final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized(); + testWidgets( + 'two drama scenes play with atmosphere and live character labels', + (tester) async { + expect(const bool.fromEnvironment('QA_TEST'), true); + final library = await StoryLibrary.load(); + final book = await library.open('midnight-invitation'); + final game = Game( + book, + Progress.memory({'story_access_level': 11, 'language': 'en'}), + library: library, + ); + final voice = Narrator(book.tracks); + final ambience = Ambience(); + game.showStory( + book.pages.indexWhere((p) => p.id == 'midnight.feather.memory'), + ); + await tester.pumpWidget( + MaterialApp( + debugShowCheckedModeBanner: false, + home: Notebook( + game: game, + adsEnabled: false, + narrator: voice, + ambience: ambience, + ), + ), + ); + await tester.pumpAndSettle(); + await voice.stop(); + await ambience.settled; + expect(ambience.error, isEmpty); + await binding.convertFlutterSurfaceToImage(); + + Future tap(String label) async { + await tester.ensureVisible(find.text(label)); + await tester.pumpAndSettle(); + await tester.tap(find.text(label)); + await tester.pumpAndSettle(); + } + + Future reach(int ms) async { + final deadline = DateTime.now().add(const Duration(seconds: 65)); + while (voice.position.inMilliseconds < ms && + DateTime.now().isBefore(deadline)) { + await Future.delayed(const Duration(milliseconds: 180)); + await tester.pump(); + expect(voice.error, isEmpty); + } + expect(voice.position.inMilliseconds, greaterThanOrEqualTo(ms)); + } + + await tap('Play this reading'); + debugPrint('DRAMA_MIX_READY: threshold atmosphere and cast reading'); + final doorCues = book.tracks['midnight.feather.memory']['cues'] as List; + final firstIris = + doorCues.firstWhere((c) => c['speaker'] == 'Iris')['startMs'] as int; + for (final role in ['Iris', 'Elias']) { + final cue = (book.tracks['midnight.feather.memory']['cues'] as List) + .firstWhere( + (c) => + c['speaker'] == role && + c['startMs'] > (role == 'Elias' ? firstIris : 0), + ); + await reach(cue['startMs'] + 150); + expect(voice.speaker, role); + expect(find.text('$role · recorded story'), findsOneWidget); + expect(ambience.error, isEmpty); + } + await tap('Pause recording'); + final paused = voice.position; + await Future.delayed(const Duration(milliseconds: 700)); + expect((voice.position - paused).inMilliseconds.abs(), lessThan(150)); + await tap('Resume recording'); + await reach(paused.inMilliseconds + 500); + await binding.takeScreenshot('drama-threshold-playing'); + + game.showStory( + book.pages.indexWhere((p) => p.id == 'midnight.candle.entry'), + ); + await tester.pumpAndSettle(); + await voice.stop(); + await ambience.settled; + expect(ambience.error, isEmpty); + expect(voice.page, isEmpty); + await tap('Play this reading'); + final iris = (book.tracks['midnight.candle.entry']['cues'] as List) + .firstWhere((c) => c['speaker'] == 'Iris'); + await reach(iris['startMs'] + 150); + expect(find.text('Iris · recorded story'), findsOneWidget); + await tap('Pause recording'); + await tap('Sound & atmosphere'); + await tester.tap(find.byType(SwitchListTile)); + await tester.pumpAndSettle(); + await ambience.settled; + expect(game.progress.flag('ambience_enabled'), false); + await tap('Keep going'); + await binding.takeScreenshot('drama-kitchen-paused'); + game.home(); + await tester.pumpAndSettle(); + await ambience.settled; + expect(voice.page, isEmpty); + expect(ambience.error, isEmpty); + expect(tester.takeException(), isNull); + await tester.pumpWidget(const SizedBox()); + await tester.pumpAndSettle(); + }, + ); +} diff --git a/integration_test/halloween_test.dart b/integration_test/halloween_test.dart new file mode 100644 index 0000000..0b93cef --- /dev/null +++ b/integration_test/halloween_test.dart @@ -0,0 +1,175 @@ +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; +import 'package:lumen/domain/book.dart'; +import 'package:lumen/domain/game.dart'; +import 'package:lumen/domain/library.dart'; +import 'package:lumen/main.dart'; +import 'package:lumen/services/narrator.dart'; +import 'package:lumen/services/progress.dart'; + +void main() { + final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized(); + testWidgets( + 'complete Halloween story, twelve discoveries and all native recordings', + (tester) async { + expect(const bool.fromEnvironment('QA_TEST'), true); + Future orient(DeviceOrientation orientation) async { + await SystemChrome.setPreferredOrientations([orientation]); + final portrait = orientation == DeviceOrientation.portraitUp; + for (var i = 0; i < 30; i++) { + await tester.pump(const Duration(milliseconds: 100)); + final size = tester.view.physicalSize; + if ((size.height > size.width) == portrait) { + await tester.pumpAndSettle(); + return; + } + } + fail('Device did not enter $orientation'); + } + + await orient(DeviceOrientation.portraitUp); + final library = await StoryLibrary.load(); + final mara = await library.open('mara-island'); + final store = Progress.memory({'language': 'en'}); + final g = Game(mara, store, library: library); + final voice = Narrator(mara.tracks); + await tester.pumpWidget( + MaterialApp( + debugShowCheckedModeBanner: false, + theme: ThemeData(fontFamily: 'MaraHand'), + home: Notebook(game: g, adsEnabled: false, narrator: voice), + ), + ); + await tester.pumpAndSettle(); + await binding.convertFlutterSurfaceToImage(); + Future tap(String text) async { + final f = find.text(text); + await tester.ensureVisible(f); + await tester.pumpAndSettle(); + await tester.tap(f); + await tester.pumpAndSettle(); + } + + Future shot(String name) async { + await tester.pumpAndSettle(); + await binding.takeScreenshot(name); + } + + await tap('Story library'); + await tap('The Midnight Invitation'); + expect(g.book.id, 'midnight-invitation'); + await shot('halloween-00-cover'); + await tap('Open The Midnight Invitation · 0 / 12'); + expect(g.storyPage.id, 'midnight.opening'); + await voice.stop(); + await tester.pumpAndSettle(); + await shot('halloween-01-opening'); + // The actual on-page controls must play, pause and resume a native WAV. + await tester.ensureVisible(find.text('Play this reading')); + await tester.tap(find.text('Play this reading')); + await Future.delayed(const Duration(seconds: 2)); + await tester.pumpAndSettle(); + expect(voice.error, isEmpty); + expect(voice.playing, true); + await tester.ensureVisible(find.text('Pause recording')); + await tester.tap(find.text('Pause recording')); + await tester.pumpAndSettle(); + final paused = voice.position; + expect(paused.inMilliseconds, greaterThan(500)); + await tester.tap(find.text('Resume recording')); + await Future.delayed(const Duration(seconds: 1)); + await voice.pause(); + expect(voice.position, greaterThan(paused)); + await voice.stop(); + // Decode every new bundled recording on the tablet, not just its metadata. + for (final id in g.book.tracks.keys) { + await voice.toggle(id, 1); + await Future.delayed(const Duration(milliseconds: 350)); + await voice.pause(); + expect(voice.error, isEmpty, reason: id); + expect(voice.position.inMilliseconds, greaterThan(100), reason: id); + await voice.stop(); + } + final book = g.book; + for (var index = 0; index < book.levels.length; index++) { + g.showStory(book.pageFor(index, StoryPageType.entry)); + await tester.pumpAndSettle(); + await tap('Next leaf →'); + expect(g.storyPage.type, StoryPageType.puzzle); + final p = g.puzzle!; + expect(find.text('Undo a mark'), findsNothing); + expect(find.image(AssetImage(book.paperAsset!)), findsOneWidget); + if (index == 2) { + await tester.ensureVisible(find.byKey(const ValueKey('area-1'))); + await tester.tap(find.byKey(const ValueKey('area-1'))); + await tester.pumpAndSettle(); + expect(g.selectedArea, 1); + await shot('halloween-region-selected-landscape'); + await orient(DeviceOrientation.portraitUp); + await tester.ensureVisible( + find.byKey(const ValueKey('selected-region-outline')), + ); + await shot('halloween-region-selected-portrait'); + await orient(DeviceOrientation.landscapeLeft); + } + if (index == 0) { + final cell = p.given.indexOf(false); + await tester.ensureVisible(find.byKey(ValueKey('cell-$cell'))); + await tester.tap(find.byKey(ValueKey('cell-$cell'))); + await tester.pumpAndSettle(); + final marks = List.of(g.cells); + await tap('Next leaf →'); + await tap('Read ahead'); + expect(g.recoveredCount, 0); + expect( + find.image(AssetImage(book.levels[0].illustrationAsset!)), + findsNothing, + ); + await tap('← Previous leaf'); + expect(g.cells, marks); + await orient(DeviceOrientation.landscapeLeft); + await shot('halloween-02-puzzle-landscape'); + } + for (var c = 0; c < g.cells.length; c++) { + while (g.cells[c] != (p.solution[c] == 1 ? 1 : 2)) { + g.mark(c); + } + } + await tester.pumpAndSettle(); + expect(g.storyPage.type, StoryPageType.memory); + expect(g.recoveredCount, index + 1); + expect(g.solved, index + 1); + expect( + find.image(AssetImage(book.levels[index].illustrationAsset!)), + findsOneWidget, + ); + if ([0, 5, 8, 11].contains(index)) { + await shot('halloween-discovery-$index'); + } + expect(tester.takeException(), isNull); + } + await tap('Next leaf →'); + expect(g.storyPage.id, 'midnight.ending'); + await shot('halloween-03-ending'); + await tester.binding.handlePopRoute(); + await tester.pumpAndSettle(); + expect(g.screen, Screen.home); + g.openNotebook(); + await tester.pumpAndSettle(); + final restarted = Game(book, Progress.memory(store.snapshot)); + await restarted.restore(); + expect(restarted.storyPage.id, 'midnight.ending'); + expect(restarted.recoveredCount, 12); + expect(restarted.progress.text('notebook_last_page'), 'midnight.ending'); + await tap('Back to contents'); + expect(g.screen, Screen.contents); + await shot('halloween-04-completed-contents'); + expect(g.recoveredCount, 12); + expect(tester.takeException(), isNull); + await tester.pumpWidget(const SizedBox()); + await SystemChrome.setPreferredOrientations([]); + }, + ); +} diff --git a/integration_test/library_test.dart b/integration_test/library_test.dart index f8f9ec3..717e319 100644 --- a/integration_test/library_test.dart +++ b/integration_test/library_test.dart @@ -18,18 +18,28 @@ void main() { await library.open('mara-island'), Progress.memory({'language': 'en'}), library: library, - ); + )..showLibrary(); await tester.pumpWidget(LumenApp(game: g, adsEnabled: false)); await tester.pumpAndSettle(); await binding.convertFlutterSurfaceToImage(); - Future tap(String text) async { + // The shelf loads every installed book asynchronously. + Future waitFor(String text) async { + for (var i = 0; i < 100 && find.text(text).evaluate().isEmpty; i++) { + await tester.pump(const Duration(milliseconds: 100)); + } await tester.ensureVisible(find.text(text)); await tester.pumpAndSettle(); + } + + Future tap(String text) async { + await waitFor(text); await tester.tap(find.text(text)); await tester.pumpAndSettle(); } - await tap('Story library'); + expect(g.screen, Screen.library); + await waitFor('The paper boat'); + await binding.takeScreenshot('library-shelf'); await tap('The paper boat'); expect(g.book.id, 'paper-boat'); await tap('Open The paper boat · 0 / 1'); @@ -38,13 +48,17 @@ void main() { await tester.tap(find.byKey(const ValueKey('cell-0'))); await tester.pumpAndSettle(); final marks = List.of(g.cells); - await tap('Bookmark'); + await tester.binding.handlePopRoute(); + await tester.pumpAndSettle(); + expect(g.screen, Screen.home); + await tap('Settings'); await tap('Language'); await tap('Deutsch'); expect(g.book.language, 'de'); + g.openNotebook(); + await tester.pumpAndSettle(); expect(g.cells, marks); expect(g.canUndo, true); - expect(g.progress.text('notebook_manual_bookmark'), 'boat.puzzle'); expect(find.text('Eine kleine Überfahrt'), findsOneWidget); await binding.takeScreenshot('library-german-puzzle'); await tap('Nächste Seite →'); diff --git a/integration_test/notebook_test.dart b/integration_test/notebook_test.dart index 0cf781a..cb192f7 100644 --- a/integration_test/notebook_test.dart +++ b/integration_test/notebook_test.dart @@ -57,7 +57,7 @@ void main() { tester .getBottomRight(find.text('A recorded reading, kept with this page')) .dy, - lessThan(tester.getTopLeft(find.text('Contents')).dy), + lessThan(tester.getTopLeft(find.text('Next leaf →')).dy), ); await shot('02-cottage'); // Actual native WAV playback, all five files. Position must survive pause/resume. @@ -82,7 +82,7 @@ void main() { expect(g.storyIndex, 2); expect( tester.getBottomRight(find.text('Hint · rewarded ad')).dy, - lessThan(tester.getTopLeft(find.text('Contents')).dy), + lessThan(tester.getTopLeft(find.text('Next leaf →')).dy), ); await shot('03-puzzle'); final before = List.of(g.cells); @@ -115,7 +115,12 @@ void main() { await tap('Unfold Gran’s note'); expect(store.flag('notebook_note_open'), true); await shot('05-open-note'); - await tap('Bookmark'); + await tester.binding.handlePopRoute(); + await tester.pumpAndSettle(); + expect(g.screen, Screen.home); + g.openNotebook(); + await tester.pumpAndSettle(); + expect(g.storyIndex, 4); await tap('Next leaf →'); await shot('06-lantern'); expect( @@ -125,8 +130,10 @@ void main() { findsNothing, ); expect(store.flag('notebook_handle_seen'), false); - await tap('Contents'); - await tap('Return to my ribbon bookmark'); + await tester.binding.handlePopRoute(); + await tester.pumpAndSettle(); + g.showStory(4); + await tester.pumpAndSettle(); expect(g.storyIndex, 4); final restarted = Game(book, Progress.memory(store.snapshot)); await restarted.restore(); diff --git a/integration_test/phone_test.dart b/integration_test/phone_test.dart new file mode 100644 index 0000000..3a9b262 --- /dev/null +++ b/integration_test/phone_test.dart @@ -0,0 +1,126 @@ +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; +import 'package:lumen/domain/book.dart'; +import 'package:lumen/domain/game.dart'; +import 'package:lumen/domain/library.dart'; +import 'package:lumen/main.dart'; +import 'package:lumen/services/progress.dart'; + +import 'halloween_test.dart' as halloween; +import 'library_test.dart' as library_flow; +import 'region_test.dart' as regions; + +void main() { + final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized(); + testWidgets('phone reading and puzzle controls fit default and larger text', ( + tester, + ) async { + expect(const bool.fromEnvironment('QA_TEST'), true); + final library = await StoryLibrary.load(); + final book = await library.open('midnight-invitation'); + final game = Game( + book, + Progress.memory({'language': 'en', 'ambience_enabled': false}), + library: library, + ); + var scale = 1.0; + Widget app() => MaterialApp( + debugShowCheckedModeBanner: false, + theme: ThemeData(fontFamily: 'MaraHand'), + builder: (context, child) => MediaQuery( + data: MediaQuery.of(context) + .copyWith(textScaler: TextScaler.linear(scale)), + child: child!, + ), + home: Notebook(game: game, adsEnabled: false), + ); + await tester.pumpWidget(app()); + await tester.pumpAndSettle(); + await binding.convertFlutterSurfaceToImage(); + Future orient(DeviceOrientation orientation) async { + await SystemChrome.setPreferredOrientations([orientation]); + for (var i = 0; i < 40; i++) { + await tester.pump(const Duration(milliseconds: 100)); + final size = tester.view.physicalSize; + if ((size.height > size.width) == + (orientation == DeviceOrientation.portraitUp)) { + await tester.pumpAndSettle(); + return; + } + } + fail('Phone did not rotate to $orientation'); + } + + for (final textScale in [1.0, 1.3]) { + scale = textScale; + await tester.pumpWidget(app()); + for (final orientation in [ + DeviceOrientation.portraitUp, + DeviceOrientation.landscapeLeft, + ]) { + await orient(orientation); + final layout = orientation == DeviceOrientation.portraitUp + ? 'portrait' + : 'landscape'; + final tag = 'phone-$layout-${(scale * 100).round()}'; + game.home(); + await tester.pumpAndSettle(); + expect(find.text(book.title), findsOneWidget); + await binding.takeScreenshot('$tag-home'); + for (final pageId in [ + 'midnight.opening', + 'midnight.key.puzzle', + 'midnight.candle.entry', + 'midnight.mirror.puzzle', + 'midnight.ending', + ]) { + game.showStory(book.pages.indexWhere((p) => p.id == pageId)); + await tester.pumpAndSettle(); + final next = pageId == 'midnight.ending' + ? 'Back to contents' + : 'Next leaf →'; + expect( + find.text(next).hitTestable(), + findsOneWidget, + reason: '$tag $pageId', + ); + expect(find.text('Contents'), findsNothing, reason: '$tag $pageId'); + if (game.storyPage.type == StoryPageType.puzzle) { + for (final index in [0, game.cells.length - 1]) { + final cell = find.byKey(ValueKey('cell-$index')); + expect( + cell.hitTestable(), + findsOneWidget, + reason: '$tag $pageId', + ); + expect( + tester.getRect(cell).bottom, + lessThan(tester.getRect(find.text(next)).top), + reason: '$tag $pageId', + ); + } + final hint = find.text('Hint · rewarded ad'); + await tester.ensureVisible(hint); + await tester.pumpAndSettle(); + expect(hint.hitTestable(), findsOneWidget, reason: '$tag $pageId'); + final cell = find.byKey(const ValueKey('cell-0')); + debugPrint('PHONE_GRID $tag $pageId cell=${tester.getSize(cell)}'); + await tester.ensureVisible(find.byKey(const ValueKey('area-1'))); + await tester.tap(find.byKey(const ValueKey('area-1'))); + await tester.pumpAndSettle(); + expect(game.selectedArea, 1); + } + await binding.takeScreenshot('$tag-${pageId.replaceAll('.', '-')}'); + expect(tester.takeException(), isNull, reason: '$tag $pageId'); + } + } + } + await tester.pumpWidget(const SizedBox()); + await SystemChrome.setPreferredOrientations([]); + }); + halloween.main(); + regions.main(); + library_flow.main(); +} diff --git a/integration_test/region_test.dart b/integration_test/region_test.dart new file mode 100644 index 0000000..93d33bb --- /dev/null +++ b/integration_test/region_test.dart @@ -0,0 +1,72 @@ +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:integration_test/integration_test.dart'; +import 'package:lumen/domain/book.dart'; +import 'package:lumen/domain/game.dart'; +import 'package:lumen/domain/library.dart'; +import 'package:lumen/main.dart'; +import 'package:lumen/services/progress.dart'; + +void main() { + final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized(); + testWidgets( + 'selected region keeps pencil marks visible in both orientations', + (tester) async { + expect(const bool.fromEnvironment('QA_TEST'), true); + final library = await StoryLibrary.load(); + final book = await library.open('midnight-invitation'); + final game = Game(book, Progress.memory(), library: library); + game.showStory(book.pageFor(2, StoryPageType.puzzle)); + await tester.pumpWidget(LumenApp(game: game, adsEnabled: false)); + await tester.pumpAndSettle(); + await binding.convertFlutterSurfaceToImage(); + for (final orientation in [ + DeviceOrientation.portraitUp, + DeviceOrientation.landscapeLeft, + ]) { + await SystemChrome.setPreferredOrientations([orientation]); + final portrait = orientation == DeviceOrientation.portraitUp; + for (var i = 0; i < 30; i++) { + await tester.pump(const Duration(milliseconds: 100)); + if ((tester.view.physicalSize.height > + tester.view.physicalSize.width) == + portrait) { + break; + } + } + await tester.pumpAndSettle(); + await tester.ensureVisible(find.byKey(const ValueKey('area-1'))); + await tester.tap(find.byKey(const ValueKey('area-1'))); + await tester.pumpAndSettle(); + final p = game.puzzle!; + final region = p.regions[1]; + final targets = List.generate(p.size * p.size, (i) => i) + .where((i) => region.contains(i, p.size) && !p.given[i]) + .take(2) + .toList(); + for (var i = 0; i < targets.length; i++) { + final cell = targets[i]; + final finder = find.byKey(ValueKey('cell-$cell')); + await tester.ensureVisible(finder); + while (game.cells[cell] != i + 1) { + await tester.tap(finder); + await tester.pumpAndSettle(); + } + } + expect(find.text('Undo a mark'), findsNothing); + expect(find.image(AssetImage(book.paperAsset!)), findsOneWidget); + await tester.ensureVisible( + find.byKey(const ValueKey('selected-region-outline')), + ); + await tester.pumpAndSettle(); + await binding.takeScreenshot( + 'halloween-region-selected-${portrait ? 'portrait' : 'landscape'}', + ); + expect(tester.takeException(), isNull); + } + await tester.pumpWidget(const SizedBox()); + await SystemChrome.setPreferredOrientations([]); + }, + ); +} diff --git a/lib/domain/book.dart b/lib/domain/book.dart index b7bc2a9..6598762 100644 --- a/lib/domain/book.dart +++ b/lib/domain/book.dart @@ -4,6 +4,7 @@ import 'package:flutter/services.dart'; import 'puzzle.dart'; import 'library.dart'; +import 'soundscape.dart'; class CampaignLevel { CampaignLevel(Map data) @@ -97,13 +98,15 @@ class Book { this.defaultLanguage = 'en', this.presentation = 'mara', this.coverAsset = 'assets/artwork/home-notebook-cover-v2.png', + this.paperAsset, this.continueAt = 4, this.initiallyAccessible = 3, this.fontFamily = 'MaraHand', this.copy = const {}, + this.atmosphere = const {}, }); final String id, title, description, language, defaultLanguage, presentation; - final String? coverAsset, fontFamily; + final String? coverAsset, paperAsset, fontFamily; final int? continueAt; final int initiallyAccessible; final Map copy; @@ -111,6 +114,7 @@ class Book { final List levels; final List pages; final Map tracks; + final Map atmosphere; bool get isMara => presentation == 'mara'; List get chapters => levels.map((l) => l.chapterId).toSet().toList(); List chapterLevels(int chapter) => [ @@ -281,11 +285,29 @@ class Book { final tracks = trackPath == null ? {} : Map.from((await read(trackPath))['tracks']); + final atmosphere = {}; + if (definition.atmosphereAsset != null) { + final data = await read(definition.atmosphereAsset!); + final scenes = data['scenes'] as Map; + final pageIds = pages.map((p) => p.id).toSet(); + for (final entry in (data['pages'] as Map).entries) { + final asset = scenes[entry.value]?['asset']; + if (!pageIds.contains(entry.key) || + asset is! String || + !asset.startsWith('assets/') || + asset.contains('..') || + !asset.endsWith('.wav')) { + throw FormatException('Invalid atmosphere: ${entry.key}'); + } + atmosphere[entry.key as String] = Soundscape(asset); + } + } return Book( translation['premise'] as String? ?? campaign['premise'], levels, pages, tracks, + atmosphere: Map.unmodifiable(atmosphere), id: definition.id, title: translation['title'] as String? ?? definition.title, description: @@ -294,6 +316,7 @@ class Book { defaultLanguage: definition.defaultLanguage, presentation: definition.presentation, coverAsset: translation['coverAsset'] as String? ?? definition.coverAsset, + paperAsset: translation['paperAsset'] as String? ?? definition.paperAsset, continueAt: definition.continueAt, initiallyAccessible: definition.initiallyAccessible.clamp( 0, diff --git a/lib/domain/game.dart b/lib/domain/game.dart index 53d3ef0..dcb364a 100644 --- a/lib/domain/game.dart +++ b/lib/domain/game.dart @@ -8,7 +8,7 @@ import 'book.dart'; import 'library.dart'; import 'puzzle.dart'; -enum Screen { home, story, contents, briefing, game, reveal } +enum Screen { library, home, story, contents, briefing, game, reveal } enum Mode { daily, classic, campaign } @@ -149,6 +149,35 @@ class Game extends ChangeNotifier { notifyListeners(); } + /// Claim one of three reading breaks, persisted independently for each book. + /// Existing chapter-ad records count toward the same lifetime cap. + bool claimBookAd(int position, int total) { + final oldCount = List.generate( + book.levels.length, + (i) => i, + ).where((i) => progress.flag('storyAd_$i')).length; + final used = List.generate( + 3, + (i) => i + 1, + ).where((slot) => progress.flag('storyAd_break_$slot')).length; + if (oldCount + used >= 3) return false; + final slot = (position * 3 ~/ total).clamp(0, 3); + if (slot == 0 || progress.flag('storyAd_break_$slot')) return false; + unawaited(progress.set('storyAd_break_$slot', true)); + return true; + } + + /// The shelf is the app's first window. It is deliberately not written to a + /// story's saved route (`flutter_screen`), so every book keeps its own reading + /// position and the next launch still opens the shelf. + void showLibrary() { + if (library == null) return; + _request++; + busy = false; + screen = Screen.library; + notifyListeners(); + } + void home() { _request++; busy = false; diff --git a/lib/domain/library.dart b/lib/domain/library.dart index 98cb788..556a2a4 100644 --- a/lib/domain/library.dart +++ b/lib/domain/library.dart @@ -12,6 +12,7 @@ class StoryDefinition { title = data['title'], description = data['description'] ?? '', coverAsset = data['coverAsset'], + paperAsset = data['paperAsset'], defaultLanguage = (data['defaultLanguage'] as String? ?? 'en') .replaceAll('_', '-') .toLowerCase(), @@ -19,6 +20,7 @@ class StoryDefinition { notebookAsset = data['notebookAsset'], scriptsAsset = data['scriptsAsset'], tracksAsset = data['tracksAsset'], + atmosphereAsset = data['atmosphereAsset'], presentation = data['presentation'] ?? 'standard', continueAt = data['continueAt'], initiallyAccessible = data['initiallyAccessible'] ?? 0, @@ -29,7 +31,11 @@ class StoryDefinition { final String id, title, description, defaultLanguage, presentation; final String campaignAsset, notebookAsset; - final String? coverAsset, scriptsAsset, tracksAsset; + final String? coverAsset, + paperAsset, + scriptsAsset, + tracksAsset, + atmosphereAsset; final int? continueAt; final int initiallyAccessible; final Map languages; diff --git a/lib/domain/soundscape.dart b/lib/domain/soundscape.dart new file mode 100644 index 0000000..b8fe6a9 --- /dev/null +++ b/lib/domain/soundscape.dart @@ -0,0 +1,15 @@ +/// A bundled, language-independent loop. Story packages can supply their own. +class Soundscape { + const Soundscape(this.asset); + final String asset; + + static const cottage = Soundscape('assets/audio/ambience_cottage.wav'); + static const harbour = Soundscape('assets/audio/ambience_harbour.wav'); + static const bridge = Soundscape('assets/audio/ambience_bridge.wav'); + static const tower = Soundscape('assets/audio/ambience_tower.wav'); + + @override + bool operator ==(Object other) => other is Soundscape && asset == other.asset; + @override + int get hashCode => asset.hashCode; +} diff --git a/lib/main.dart b/lib/main.dart index 26dea4e..cd20fd4 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -53,6 +53,9 @@ Future main() async { final game = Game(book, progress, library: library) ..deviceLanguage = deviceLanguage; await game.restore(); + // The shelf is the first window. `restore()` has already positioned each + // book's saved leaf, so choosing a book resumes exactly where it was left. + game.showLibrary(); runApp(LumenApp(game: game)); } @@ -126,11 +129,13 @@ class Notebook extends StatefulWidget { required this.game, required this.adsEnabled, this.narrator, + this.ambience, this.ads, }); final Game game; final bool adsEnabled; final Narrator? narrator; + final Ambience? ambience; final Ads? ads; @override State createState() => _NotebookState(); @@ -144,6 +149,8 @@ class _NotebookState extends State with WidgetsBindingObserver { late final Ads ads; bool _foreground = true; String _route = ''; + Future>? _shelf; + String _shelfLanguage = ''; String get route => '${g.book.id}:${g.book.language}:${g.screen.name}:${g.screen == Screen.story ? g.storyIndex : g.campaignIndex}'; @override @@ -151,7 +158,7 @@ class _NotebookState extends State with WidgetsBindingObserver { super.initState(); unawaited(initializeDateFormatting()); narrator = widget.narrator ?? Narrator(g.book.tracks); - ambience = Ambience(); + ambience = widget.ambience ?? Ambience(); narrator.addListener(_syncAtmosphere); ads = widget.ads ?? Ads(enabled: widget.adsEnabled); g.addListener(_changed); @@ -204,7 +211,13 @@ class _NotebookState extends State with WidgetsBindingObserver { Screen.reveal, ].contains(g.screen); ambience.update( - scene: inStory && g.book.isMara ? soundscapeFor(g.campaignIndex) : null, + scene: !inStory + ? null + : g.book.isMara + ? soundscapeFor(g.campaignIndex) + : g.screen == Screen.story + ? g.book.atmosphere[g.storyPage.id] + : null, enabled: atmosphereEnabled, foreground: _foreground, narrating: narrator.playing || narrator.loading, @@ -300,7 +313,7 @@ class _NotebookState extends State with WidgetsBindingObserver { Future turn(int direction) async { if (direction > 0 && g.storyIndex == g.book.pages.length - 1) { - crossToHarbour(); + readingBreak(g.book.pages.length, crossToHarbour); return; } final next = (g.storyIndex + direction).clamp(0, g.book.pages.length - 1); @@ -318,7 +331,29 @@ class _NotebookState extends State with WidgetsBindingObserver { } await prefs.set('notebook_read_ahead', true); } - if (mounted && g.storyPage.id == pageId) g.showStory(next); + if (mounted && g.storyPage.id == pageId) { + if (direction > 0) { + readingBreak(next, () => g.showStory(next)); + } else { + g.showStory(next); + } + } + } + + void readingBreak(int position, VoidCallback next) { + final book = g.book; + final legacyLevels = book.continueAt == null + ? 0 + : book.levels.length - book.continueAt!; + final total = book.pages.length + legacyLevels * 3; + if (g.claimBookAd(position, total)) { + unawaited(narrator.stop()); + ads.between(() { + if (mounted && g.book == book) next(); + }); + } else { + next(); + } } void crossToHarbour() { @@ -369,7 +404,10 @@ class _NotebookState extends State with WidgetsBindingObserver { void nextCampaign() { final index = g.campaignIndex; if (index == g.book.levels.length - 1) { - g.contents(); + readingBreak( + g.book.pages.length + (index - (g.book.continueAt ?? 0) + 1) * 3, + g.contents, + ); return; } // Reading access is distinct from completed puzzles and their awards. @@ -380,14 +418,10 @@ class _NotebookState extends State with WidgetsBindingObserver { if (mounted) g.briefing(index + 1); } - if (g.recovered(index) && - g.book.chapterLevels(g.book.chapterFor(index)).last == index && - !prefs.flag('storyAd_$index')) { - unawaited(prefs.set('storyAd_$index', true)); - ads.between(next); - } else { - next(); - } + readingBreak( + g.book.pages.length + (index - (g.book.continueAt ?? 0) + 1) * 3, + next, + ); } void back() { @@ -395,64 +429,59 @@ class _NotebookState extends State with WidgetsBindingObserver { g.home(); return; } - switch (g.screen) { - case Screen.story: - if (g.storyIndex > 0) { - turn(-1); - } else { - g.home(); - } - case Screen.reveal: - g.startCampaign(g.campaignIndex); - case Screen.briefing: - g.contents(); - case Screen.game: - if (g.mode == Mode.campaign) { - g.contents(); - } else { - g.home(); - } - case Screen.contents: - g.home(); - case Screen.home: - break; + if (g.screen == Screen.library) return; + if (g.screen == Screen.home) { + // With a catalogue the shelf is the app's root; without one (widget tests + // and embedders) the book's home stays the first and last leaf. + if (g.library != null) g.showLibrary(); + return; } + g.home(); } @override - Widget build(BuildContext context) => PopScope( - canPop: g.screen == Screen.home && !g.busy, - onPopInvokedWithResult: (didPop, result) { - if (!didPop) back(); - }, - child: Scaffold( - body: Stack( - children: [ - switch (g.screen) { - Screen.home => home(), - Screen.story => story(), - Screen.contents => contents(), - Screen.briefing => briefing(), - Screen.game => game(), - Screen.reveal => reveal(), - }, - if (g.busy) - Positioned.fill( - child: ColoredBox( - color: cream.withValues(alpha: .9), - child: Center( - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - const CircularProgressIndicator(color: blue), - writing('Finding a fresh pattern…'), - InkButton('Back to the notebook', g.home), - ], + Widget build(BuildContext context) => PaperSkin( + // The shelf is shared by every book, so it uses the default notebook page + // rather than the paper of whichever book was last open. + asset: g.screen == Screen.library ? null : g.book.paperAsset, + child: PopScope( + canPop: + (g.screen == Screen.library || + (g.screen == Screen.home && g.library == null)) && + !g.busy, + onPopInvokedWithResult: (didPop, result) { + if (!didPop) back(); + }, + child: Scaffold( + body: Stack( + children: [ + switch (g.screen) { + Screen.library => libraryScreen(), + Screen.home => home(), + Screen.story => story(), + Screen.contents => contents(), + Screen.briefing => briefing(), + Screen.game => game(), + Screen.reveal => reveal(), + }, + if (g.busy) + Positioned.fill( + child: ColoredBox( + color: cream.withValues(alpha: .9), + child: Center( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + const CircularProgressIndicator(color: blue), + writing('Finding a fresh pattern…'), + InkButton('Back to the notebook', g.home), + ], + ), ), ), ), - ), - ], + ], + ), ), ), ); @@ -480,7 +509,233 @@ class _NotebookState extends State with WidgetsBindingObserver { ), ); Widget folio(String text) => writing(text, size: 15, color: blue); + + /// The app's first window: every installed book on one shelf. Tapping a card + /// selects that story and lets `Game.restore()` reopen its saved leaf. + Widget libraryScreen() { + final catalogue = g.library; + if (catalogue == null) { + return Leaf( + key: const ValueKey('library'), + body: column([ + folio('L U M E N / STORY LIBRARY'), + writing('No stories are installed.', size: 24, color: muted), + action('Back to the notebook', g.home), + ]), + ); + } + return Leaf( + key: const ValueKey('library'), + body: LayoutBuilder( + builder: (context, c) { + final compact = c.maxWidth < 480; + // Wide tablets get two columns of books; phones keep one dense column. + final width = math.min(c.maxWidth, 860.0); + final columns = width >= 720 ? 2 : 1; + return Center( + child: SizedBox( + width: width, + child: column([ + folio('L U M E N / STORY LIBRARY'), + writing('Choose a book', size: compact ? 34 : 40), + writing( + 'Open a book to continue where you left off.', + size: compact ? 19 : 23, + color: const Color(0xff70503b), + ), + gap(compact ? 10 : 16), + FutureBuilder>( + future: shelfBooks(catalogue), + builder: (context, snapshot) { + if (snapshot.hasError) { + return column([ + writing( + 'This story could not be opened. Please try again.', + size: 21, + color: muted, + ), + action( + 'Try again', + () => setState(() { + _shelf = null; + _shelfLanguage = ''; + }), + ), + ]); + } + final books = snapshot.data; + if (books == null) { + return const Padding( + padding: EdgeInsets.symmetric(vertical: 40), + child: Center( + child: CircularProgressIndicator(color: blue), + ), + ); + } + if (books.isEmpty) { + return writing( + 'No stories are installed.', + size: 22, + color: muted, + ); + } + final cards = [ + for (final story in books) + bookCard(story, compact: compact), + ]; + if (columns == 1) return column(cards); + final cardWidth = (width - 14) / 2; + return Wrap( + spacing: 14, + runSpacing: 2, + children: [ + for (final card in cards) + SizedBox(width: cardWidth, child: card), + ], + ); + }, + ), + gap(4), + action('Settings', settings), + ]), + ), + ); + }, + ), + ); + } + + /// One book on the shelf: cover, translated metadata, progress and the way + /// back into the reader. A book with a saved leaf offers "Continue reading". + /// Phones get a denser card so several books fit the narrow notebook page. + Widget bookCard(Book story, {required bool compact}) { + final catalogue = g.library; + if (catalogue == null) return const SizedBox.shrink(); + final store = g.store.forStory(story.id); + final restored = [ + for (var i = 0; i < story.levels.length; i++) + store.flag('done_${story.puzzleKey(i)}'), + ].where((done) => done).length; + final saved = store.text('flutter_screen', 'home'); + final resuming = saved != Screen.home.name && saved != Screen.library.name; + final current = story.id == g.book.id; + final languages = catalogue + .definition(story.id) + .languages + .values + .map((entry) => entry['label'] as String? ?? '') + .where((label) => label.isNotEmpty) + .toList(); + return Padding( + padding: EdgeInsets.symmetric(vertical: compact ? 5 : 7), + child: InkWell( + key: ValueKey('library-book-${story.id}'), + borderRadius: BorderRadius.circular(4), + onTap: () => unawaited(openStory(story.id)), + child: DecoratedBox( + decoration: BoxDecoration( + border: Border.all( + color: blue.withValues(alpha: current ? .55 : .18), + width: current ? 1.5 : 1, + ), + borderRadius: BorderRadius.circular(4), + ), + child: Padding( + padding: EdgeInsets.all(compact ? 9 : 12), + child: Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + if (story.coverAsset case final asset?) + Padding( + padding: EdgeInsets.only(right: compact ? 10 : 14), + child: SizedBox( + width: compact ? 54 : 78, + height: compact ? 74 : 104, + child: Image.asset( + asset, + fit: BoxFit.contain, + semanticLabel: story.title, + errorBuilder: (_, _, _) => const SizedBox.shrink(), + ), + ), + ), + Expanded( + child: column([ + writing(story.title, size: compact ? 23 : 29), + if (!compact && story.description.isNotEmpty) + writing( + story.description, + size: 20, + color: const Color(0xff70503b), + ), + if (languages.length > 1) + writing( + languages.join(' · '), + size: compact ? 14 : 16, + color: muted, + ), + if (story.levels.isNotEmpty) + writing( + '$restored / ${story.levels.length} memories restored', + size: compact ? 14 : 17, + color: muted, + ), + writing( + resuming ? 'Continue reading' : 'Open this book ›', + size: compact ? 17 : 19, + color: blue, + ), + ]), + ), + ], + ), + ), + ), + ), + ); + } + + /// Loads the whole catalogue once per requested language. A broken package is + /// skipped so the rest of the shelf stays usable. + Future> shelfBooks(StoryLibrary catalogue) { + final language = g.requestedLanguage; + final cached = _shelf; + if (cached != null && _shelfLanguage == language) return cached; + _shelfLanguage = language; + return _shelf = () async { + final books = []; + for (final story in catalogue.stories) { + try { + books.add(await catalogue.open(story.id, language: language)); + } catch (_) { + continue; + } + } + return books; + }(); + } + + /// Waits for the shelf before switching screens, so the home button never + /// flashes a loading state and its tap settles in one pump. + Future openLibrary() async { + narrator.cancelAutoplay(); + final catalogue = g.library; + if (catalogue == null) return; + await shelfBooks(catalogue); + if (mounted) g.showLibrary(); + } + + Future openStory(String id) async { + narrator.cancelAutoplay(); + try { + await g.selectStory(id); + } catch (_) { + if (mounted) toast('This story could not be opened. Please try again.'); + } + } + Widget home() => ColoredBox( + key: ValueKey('home-${g.book.id}'), color: cream, child: SafeArea( child: Column( @@ -545,8 +800,8 @@ class _NotebookState extends State with WidgetsBindingObserver { g.openNotebook, primary: true, ), - action('Story library', storyLibrary), - action('Language', chooseLanguage), + action('Story library', () => unawaited(openLibrary())), + action('Settings', settings), if (g.requestedLanguage .replaceAll('_', '-') .split('-') @@ -606,8 +861,6 @@ class _NotebookState extends State with WidgetsBindingObserver { () => unawaited(g.startPractice()), ), action('How to play', rules), - action('Sound & atmosphere', soundSettings), - action('Privacy & advertising', privacy), action( 'Open-source licenses', () => showLicensePage( @@ -630,62 +883,27 @@ class _NotebookState extends State with WidgetsBindingObserver { ), ), ); - Future storyLibrary() async { - narrator.cancelAutoplay(); - final catalogue = g.library; - if (catalogue == null) return; - List books; - try { - books = await Future.wait( - catalogue.stories.map( - (story) => catalogue.open(story.id, language: g.requestedLanguage), - ), - ); - } catch (_) { - if (mounted) toast('This story could not be opened. Please try again.'); - return; - } - if (!mounted) return; - final selected = await showDialog( - context: context, - builder: (c) => AlertDialog( - title: const CopyText('Story library'), - content: SizedBox( - width: 520, - child: ListView( - shrinkWrap: true, - children: [ - for (final story in books) - ListTile( - leading: story.coverAsset == null - ? null - : Image.asset(story.coverAsset!, width: 56), - title: Text(story.title), - subtitle: Text( - '${story.description}\n${catalogue.definition(story.id).languages.values.map((v) => v['label']).join(' · ')}', - ), - isThreeLine: true, - selected: story.id == g.book.id, - onTap: () => Navigator.pop(c, story.id), - ), - ], + Future settings() => showDialog( + context: context, + builder: (c) => SimpleDialog( + title: const CopyText('Settings'), + children: [ + for (final option in <(String, VoidCallback)>[ + ('Language', chooseLanguage), + ('Sound & atmosphere', soundSettings), + ('Recording speed', speed), + ('Privacy & advertising', privacy), + ]) + SimpleDialogOption( + onPressed: () { + Navigator.pop(c); + option.$2(); + }, + child: CopyText(option.$1), ), - ), - actions: [ - TextButton( - onPressed: () => Navigator.pop(c), - child: const CopyText('Close'), - ), - ], - ), - ); - if (selected == null || !mounted) return; - try { - await g.selectStory(selected); - } catch (_) { - if (mounted) toast('This story could not be opened. Please try again.'); - } - } + ], + ), + ); Future chooseLanguage() async { narrator.cancelAutoplay(); @@ -770,20 +988,32 @@ class _NotebookState extends State with WidgetsBindingObserver { key: ValueKey('${g.book.id}-story-${p.id}'), onTurn: (d) => turn(d), body: column(body), + fittedBody: p.type == StoryPageType.puzzle + ? fittedPuzzle( + details: [ + areaPicker(), + ...puzzleNotes(), + ...heading, + if (p.text.isNotEmpty) reading(p.text), + if (p.continuation.isNotEmpty) reading(p.continuation), + if (g.book.tracks.containsKey(p.id)) audio(), + ], + ) + : null, wideBody: p.type == StoryPageType.puzzle - ? splitPuzzle(side: [...heading, areaPicker(), ...puzzleNotes()]) + ? splitPuzzle( + side: [ + ...heading, + if (p.text.isNotEmpty) reading(p.text, size: 18), + areaPicker(), + ...puzzleNotes(), + ], + ) : null, footer: navigation(), ); } - void bookmark() { - unawaited( - prefs.set('notebook_manual_bookmark', g.book.pages[g.storyIndex].id), - ); - toast('A ribbon marks this page.'); - } - Widget navigation() { final wide = MediaQuery.orientationOf(context) == Orientation.landscape; final previous = InkButton( @@ -798,43 +1028,13 @@ class _NotebookState extends State with WidgetsBindingObserver { () => turn(1), size: wide ? 19 : 21, ); - if (wide) { - // One row keeps the shorter landscape page free for the illustration - // and the puzzle beside it. - return Row( - children: [ - Expanded(child: InkButton('Contents', g.contents, size: 19)), - const SizedBox(width: 6), - Expanded(child: InkButton('Bookmark', bookmark, size: 19)), - Expanded(child: InkButton('Language', chooseLanguage, size: 19)), - const SizedBox(width: 6), - Expanded(child: InkButton('Close book', g.home, size: 19)), - const SizedBox(width: 6), - Expanded(child: previous), - const SizedBox(width: 6), - Expanded(child: next), - ], - ); - } - return column([ - Row( - children: [ - Expanded(child: InkButton('Contents', g.contents, size: 20)), - const SizedBox(width: 6), - Expanded(child: InkButton('Bookmark', bookmark, size: 20)), - Expanded(child: InkButton('Language', chooseLanguage, size: 20)), - const SizedBox(width: 6), - Expanded(child: InkButton('Close book', g.home, size: 20)), - ], - ), - Row( - children: [ - Expanded(child: previous), - const SizedBox(width: 8), - Expanded(child: next), - ], - ), - ]); + return Row( + children: [ + Expanded(child: previous), + const SizedBox(width: 8), + Expanded(child: next), + ], + ); } String get recordingId => g.screen == Screen.story @@ -880,7 +1080,7 @@ class _NotebookState extends State with WidgetsBindingObserver { ? 'Narrator · recorded story' : g.book.isMara ? 'Mara · diary reading' - : '${g.book.tracks[recordingId]?['speaker'] ?? g.storyPage.speaker} · recorded story', + : '${narrator.page == recordingId ? narrator.speaker : g.book.tracks[recordingId]?['speaker'] ?? g.storyPage.speaker} · recorded story', size: 17, color: muted, ), @@ -1012,8 +1212,8 @@ class _NotebookState extends State with WidgetsBindingObserver { body: column([ folio('${g.book.title.toUpperCase()} · CONTENTS'), writing(g.book.levels[first].chapter, size: 34), - if (chapter == 0 && !g.book.isMara) ...[ - reading(g.book.premise), + if (!g.book.isMara) ...[ + if (chapter == 0) reading(g.book.premise), action('Continue reading', g.openNotebook), if (ribbon != null) action( @@ -1137,11 +1337,12 @@ class _NotebookState extends State with WidgetsBindingObserver { spacing: 6, children: [ for (var i = 0; i < p.regions.length; i++) - InkButton( - '${p.regions[i].label} · ${List.generate(g.cells.length, (j) => j).where((j) => p.regions[i].contains(j, p.size) && g.cells[j] == 1).length} / ${p.regionTotal(p.regions[i])}', - () => g.area(i), - size: 21, - primary: i == g.selectedArea, + RegionButton( + key: ValueKey('area-$i'), + label: + '${p.regions[i].label} · ${List.generate(g.cells.length, (j) => j).where((j) => p.regions[i].contains(j, p.size) && g.cells[j] == 1).length} / ${p.regionTotal(p.regions[i])}', + onPressed: () => g.area(i), + selected: i == g.selectedArea, ), ], ), @@ -1172,21 +1373,33 @@ class _NotebookState extends State with WidgetsBindingObserver { size: 18, color: muted, ), - if (!g.won) - Row( + if (!g.won) InkButton('Hint · rewarded ad', hint, size: 22), + ]; + + /// The board stays in the viewport while supporting text scrolls separately. + Widget fittedPuzzle({required List details}) => LayoutBuilder( + builder: (context, constraints) { + final grid = math.min( + math.min(constraints.maxWidth, 350.0), + constraints.maxHeight * .70, + ); + return Column( children: [ + SizedBox( + height: grid, + child: board(maxWidth: grid), + ), Expanded( - child: InkButton( - 'Undo a mark', - g.canUndo ? g.undo : null, - size: 22, + child: SingleChildScrollView( + key: const ValueKey('puzzle-details-scroll'), + padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 4), + child: column(details), ), ), - const SizedBox(width: 8), - Expanded(child: InkButton('Hint · rewarded ad', hint, size: 22)), ], - ), - ]; + ); + }, + ); /// Landscape puzzle leaf: the grid keeps the left column at its full height /// while the heading, area clues and notes sit beside it, so nothing has to @@ -1284,6 +1497,15 @@ class _NotebookState extends State with WidgetsBindingObserver { if (g.won) clarity, for (final a in actions) action(a.label, a.run, primary: a.primary), ]), + fittedBody: fittedPuzzle( + details: [ + areaPicker(), + ...puzzleNotes(), + ...heading(compact: true), + if (g.won) clarity, + for (final a in actions) action(a.label, a.run, primary: a.primary), + ], + ), // Landscape: the heading and notes sit beside the grid while the leaf's // actions stay in a compact bar that does not take room from the board. wideBody: Column( diff --git a/lib/services/ambience.dart b/lib/services/ambience.dart index c7ec06f..e508fbc 100644 --- a/lib/services/ambience.dart +++ b/lib/services/ambience.dart @@ -4,7 +4,8 @@ import 'package:audio_session/audio_session.dart'; import 'package:flutter/foundation.dart'; import 'package:just_audio/just_audio.dart'; -enum Soundscape { cottage, harbour, bridge, tower } +import '../domain/soundscape.dart'; +export '../domain/soundscape.dart'; Soundscape soundscapeFor(int campaignIndex) => switch (campaignIndex) { 4 || 5 || 7 => Soundscape.harbour, @@ -34,7 +35,7 @@ class _AudioOutput implements AmbienceOutput { throw StateError('Audio focus unavailable'); } await _player.setLoopMode(LoopMode.one); - await _player.setAsset('assets/audio/ambience_${scene.name}.wav'); + await _player.setAsset(scene.asset); } @override diff --git a/lib/services/narrator.dart b/lib/services/narrator.dart index fe699d3..b4f85ff 100644 --- a/lib/services/narrator.dart +++ b/lib/services/narrator.dart @@ -61,13 +61,13 @@ class Narrator extends ChangeNotifier { } String get speaker { + var current = tracks[page]?['speaker'] as String? ?? ''; for (final cue in tracks[page]?['cues'] ?? []) { - if (position.inMilliseconds >= cue['startMs'] && - position.inMilliseconds < cue['endMs']) { - return cue['speaker'] ?? tracks[page]?['speaker'] ?? ''; - } + if (position.inMilliseconds < cue['startMs']) break; + current = cue['speaker'] as String? ?? current; } - return tracks[page]?['speaker'] ?? ''; + // Hold the role through its pause, instead of flashing back to Narrator. + return current; } void scheduleAutoplay(String? id, double speed) { diff --git a/lib/ui/board.dart b/lib/ui/board.dart index ec8877b..c79020a 100644 --- a/lib/ui/board.dart +++ b/lib/ui/board.dart @@ -6,6 +6,42 @@ import '../domain/puzzle.dart'; import 'paper.dart'; import 'translation.dart'; +const regionInk = Color(0xff84421f); + +class RegionButton extends StatelessWidget { + const RegionButton({ + super.key, + required this.label, + required this.onPressed, + required this.selected, + }); + final String label; + final VoidCallback onPressed; + final bool selected; + + @override + Widget build(BuildContext context) => PageSwipeBlocker( + child: Semantics( + selected: selected, + child: TextButton( + onPressed: onPressed, + style: TextButton.styleFrom( + foregroundColor: selected ? cream : regionInk, + backgroundColor: selected ? regionInk : cream.withValues(alpha: .5), + textStyle: hand(21).copyWith( + fontWeight: selected ? FontWeight.bold : FontWeight.normal, + ), + minimumSize: const Size(48, 48), + padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 8), + side: BorderSide(color: regionInk, width: selected ? 2.4 : 1), + shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(6)), + ), + child: CopyText(label), + ), + ), + ); +} + class Board extends StatelessWidget { const Board({ super.key, @@ -57,120 +93,156 @@ class Board extends StatelessWidget { indices.where((i) => cells[i] == 1).length == total; return Align( alignment: Alignment.center, - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - SizedBox(width: u, height: u), - for (var col = 0; col < n; col++) - clue( - '${puzzle.cols[col]}', - complete( - List.generate(n, (i) => i * n + col), - puzzle.cols[col], - ), - ), - ], - ), - for (var row = 0; row < n; row++) - Row( - mainAxisAlignment: MainAxisAlignment.center, + child: SizedBox( + width: (n + 1) * u, + height: (n + 1) * u, + child: Stack( + children: [ + Column( + mainAxisSize: MainAxisSize.min, children: [ - clue( - '${puzzle.rows[row]}', - complete( - List.generate(n, (i) => row * n + i), - puzzle.rows[row], - ), - ), - for (var col = 0; col < n; col++) - Builder( - builder: (context) { - final i = row * n + col, - value = cells[i], - fixed = puzzle.given[i], - inside = r?.contains(i, n) ?? false; - final state = value == 0 - ? 'empty' - : value == 1 - ? 'lit' - : 'crossed out'; - return Semantics( - label: CopyScope.text( - context, - 'Row ${row + 1}, column ${col + 1}, $state${fixed ? ', fixed clue' : ''}', + Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + SizedBox(width: u, height: u), + for (var col = 0; col < n; col++) + clue( + '${puzzle.cols[col]}', + complete( + List.generate(n, (i) => i * n + col), + puzzle.cols[col], ), - button: !fixed && !won, - enabled: !fixed && !won, - onTap: fixed || won - ? null - : () => onMark(i), - excludeSemantics: true, - child: GestureDetector( - key: ValueKey('cell-$i'), - behavior: HitTestBehavior.opaque, - onTap: fixed || won - ? null - : () => onMark(i), - child: SizedBox( - width: u, - height: u, - child: Padding( - padding: const EdgeInsets.all(2), - child: DecoratedBox( - decoration: BoxDecoration( - color: inside - ? amber.withValues(alpha: .22) - : Colors.transparent, - borderRadius: - BorderRadius.circular(2), - border: Border.all( - color: inside - ? const Color(0xffaa5b2a) - : muted.withValues( - alpha: .48, - ), - width: inside ? 1.4 : .65, + ), + ], + ), + for (var row = 0; row < n; row++) + Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + clue( + '${puzzle.rows[row]}', + complete( + List.generate(n, (i) => row * n + i), + puzzle.rows[row], + ), + ), + for (var col = 0; col < n; col++) + Builder( + builder: (context) { + final i = row * n + col, + value = cells[i], + fixed = puzzle.given[i], + inside = r?.contains(i, n) ?? false; + final state = value == 0 + ? 'empty' + : value == 1 + ? 'lit' + : 'crossed out'; + return Semantics( + selected: inside, + label: CopyScope.text( + context, + 'Row ${row + 1}, column ${col + 1}, $state${fixed ? ', fixed clue' : ''}', + ), + button: !fixed && !won, + enabled: !fixed && !won, + onTap: fixed || won + ? null + : () => onMark(i), + excludeSemantics: true, + child: GestureDetector( + key: ValueKey('cell-$i'), + behavior: HitTestBehavior.opaque, + onTap: fixed || won + ? null + : () => onMark(i), + child: SizedBox( + width: u, + height: u, + child: Padding( + padding: const EdgeInsets.all( + 2, + ), + child: DecoratedBox( + decoration: BoxDecoration( + color: inside + ? amber.withValues( + alpha: .38, + ) + : Colors.transparent, + borderRadius: + BorderRadius.circular( + 2, + ), + border: Border.all( + color: inside + ? regionInk + : muted.withValues( + alpha: .48, + ), + width: inside ? 1.4 : .65, + ), + ), + child: Stack( + children: [ + if (value != 0) + Positioned.fill( + child: CustomPaint( + painter: PencilMark( + value: value, + variation: i, + ), + ), + ), + if (fixed) + Positioned( + right: 3, + bottom: 3, + child: Container( + width: 4, + height: 4, + decoration: + BoxDecoration( + color: muted, + shape: BoxShape + .circle, + ), + ), + ), + ], + ), + ), ), ), - child: Stack( - children: [ - if (value != 0) - Positioned.fill( - child: CustomPaint( - painter: PencilMark( - value: value, - variation: i, - ), - ), - ), - if (fixed) - Positioned( - right: 3, - bottom: 3, - child: Container( - width: 4, - height: 4, - decoration: BoxDecoration( - color: muted, - shape: BoxShape.circle, - ), - ), - ), - ], - ), ), - ), - ), + ); + }, ), - ); - }, + ], ), ], ), - ], + if (r != null) + Positioned( + left: u * (1 + r.left), + top: u * (1 + r.top), + width: u * r.width, + height: u * r.height, + child: IgnorePointer( + child: DecoratedBox( + key: const ValueKey('selected-region-outline'), + decoration: BoxDecoration( + border: Border.all( + color: regionInk, + width: 3.2, + ), + borderRadius: BorderRadius.circular(3), + ), + ), + ), + ), + ], + ), ), ); }, diff --git a/lib/ui/mara_story.dart b/lib/ui/mara_story.dart index f040d1e..da13f61 100644 --- a/lib/ui/mara_story.dart +++ b/lib/ui/mara_story.dart @@ -11,6 +11,7 @@ extension _MaraStory on _NotebookState { ]; final body = [...heading]; Widget? wideBody; + Widget? fittedBody; switch (p.type) { case StoryPageType.dedication: body.addAll([ @@ -44,6 +45,9 @@ extension _MaraStory on _NotebookState { color: muted, ); body.addAll([intro, puzzleBody()]); + fittedBody = fittedPuzzle( + details: [areaPicker(), ...puzzleNotes(), ...heading, intro], + ); wideBody = splitPuzzle( side: [...heading, intro, areaPicker(), ...puzzleNotes()], ); @@ -139,6 +143,7 @@ extension _MaraStory on _NotebookState { key: ValueKey('story-${g.storyIndex}'), onTurn: (d) => turn(d), body: column(body), + fittedBody: fittedBody, wideBody: wideBody, footer: navigation(), ); diff --git a/lib/ui/paper.dart b/lib/ui/paper.dart index ed78230..e56907a 100644 --- a/lib/ui/paper.dart +++ b/lib/ui/paper.dart @@ -66,12 +66,26 @@ class Paper extends StatefulWidget { State createState() => _PaperState(); } +/// Artwork follows the selected story on reading, contents and puzzle pages. +class PaperSkin extends InheritedWidget { + const PaperSkin({super.key, required this.asset, required super.child}); + final String? asset; + + static String? assetOf(BuildContext context) => + context.dependOnInheritedWidgetOfExactType()?.asset; + + @override + bool updateShouldNotify(PaperSkin oldWidget) => asset != oldWidget.asset; +} + class _PaperState extends State { Offset _drag = Offset.zero; Offset _origin = Offset.zero; @override Widget build(BuildContext context) => ColoredBox( - color: const Color(0xff314345), + color: PaperSkin.assetOf(context) == null + ? const Color(0xff314345) + : const Color(0xff241e27), child: SafeArea( child: LayoutBuilder( builder: (context, c) { @@ -139,7 +153,8 @@ class _PaperState extends State { width: w, height: h, child: Image.asset( - 'assets/artwork/mara-single-page-v2.png', + PaperSkin.assetOf(context) ?? + 'assets/artwork/mara-single-page-v2.png', fit: BoxFit.fill, excludeFromSemantics: true, ), @@ -175,11 +190,15 @@ class Leaf extends StatelessWidget { super.key, required this.body, this.wideBody, + this.fittedBody, this.footer, this.onTurn, }); final Widget body; + /// A bounded portrait layout, used to keep the complete puzzle in view. + final Widget? fittedBody; + /// Replaces [body] on a landscape page. The shorter page suits side-by-side /// columns better than one long scroll, so it should arrange its own panes. final Widget? wideBody; @@ -197,13 +216,14 @@ class Leaf extends StatelessWidget { Expanded( child: wide ? wideBody! - : SingleChildScrollView( - // Each newly opened leaf starts at the top, including - // leaves revisited with Previous or a bookmark. - key: const ValueKey('leaf-scroll'), - padding: const EdgeInsets.fromLTRB(4, 8, 4, 8), - child: body, - ), + : fittedBody ?? + SingleChildScrollView( + // Each newly opened leaf starts at the top, including + // leaves revisited with Previous or a bookmark. + key: const ValueKey('leaf-scroll'), + padding: const EdgeInsets.fromLTRB(4, 8, 4, 8), + child: body, + ), ), ?footer, ], diff --git a/pubspec.yaml b/pubspec.yaml index b161b40..39cd534 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -23,6 +23,11 @@ dev_dependencies: flutter: uses-material-design: true assets: + - assets/stories/midnight-invitation/campaign.json + - assets/stories/midnight-invitation/notebook.json + - assets/stories/midnight-invitation/narration/scripts.json + - assets/stories/midnight-invitation/audio/ + - assets/stories/midnight-invitation/artwork/ - assets/library.json - assets/locales/ - assets/stories/paper-boat/ diff --git a/scripts/audio_drama.py b/scripts/audio_drama.py new file mode 100644 index 0000000..f210e34 --- /dev/null +++ b/scripts/audio_drama.py @@ -0,0 +1,41 @@ +"""Offline drama helpers. Stage directions remain metadata, never spoken text.""" +import numpy as np + + +def validate_segments(record, cast): + segments = record['segments'] + if not segments or ''.join(s['text'] for s in segments) != record['text']: + raise ValueError(f"Segments must preserve the exact prose: {record['pageId']}") + for segment in segments: + if not segment['text'].strip() or segment['speaker'] not in cast: + raise ValueError(f"Missing text or cast member: {segment}") + if not 0.5 <= segment.get('speed', cast[segment['speaker']]['speed']) <= 1.5: + raise ValueError('Delivery speed must be between 0.5 and 1.5') + if not 0 <= segment.get('pauseMs', 600) <= 5000: + raise ValueError('Pause must be between 0 and 5000 ms') + if segment.get('afterEffect') not in (None, 'door-knock', 'chair-shift', 'paper'): + raise ValueError('Unknown sound effect') + if segment.get('perspective', 'near') not in ('near', 'behind-door'): + raise ValueError('Unknown voice perspective') + + +def effect(name, rate=24000): + """Original, deliberately soft Foley approximations, deterministic and offline.""" + rng = np.random.default_rng(1031) + duration = {'door-knock': 1.0, 'chair-shift': .8, 'paper': .7}[name] + t = np.arange(round(rate * duration)) / rate + noise = rng.normal(size=len(t)) + if name == 'door-knock': + result = np.zeros(len(t)) + for onset in (.12, .40): + dt = np.maximum(t - onset, 0) + envelope = (t >= onset) * (1 - np.exp(-dt * 1000)) * np.exp(-dt * 35) + result += envelope * (np.sin(2 * np.pi * 175 * dt) + .4 * np.sin(2 * np.pi * 320 * dt) + .08 * noise) + elif name == 'chair-shift': + filtered = np.convolve(noise, np.ones(12) / 12, mode='same') + result = (filtered + .12 * np.sin(2 * np.pi * (180 * t + 22 * t * t))) * np.sin(np.pi * t / duration) ** 2 + else: + filtered = noise - np.convolve(noise, np.ones(7) / 7, mode='same') + result = filtered * np.sin(np.pi * t / duration) ** 2 * (.65 + .35 * np.sin(2 * np.pi * 7 * t)) + result *= .16 / np.max(np.abs(result)) + return result.astype(np.float32) diff --git a/scripts/check_story_package.py b/scripts/check_story_package.py new file mode 100644 index 0000000..113c49d --- /dev/null +++ b/scripts/check_story_package.py @@ -0,0 +1,94 @@ +#!/usr/bin/env python3 +"""Validate a narrated story package, using standard Python plus ffmpeg.""" +import argparse +import hashlib +import json +import struct +import subprocess +import wave +from pathlib import Path + +parser = argparse.ArgumentParser(description=__doc__) +parser.add_argument('package', type=Path) +a = parser.parse_args() +repo = Path(__file__).resolve().parents[1] +package = a.package.resolve() +read = lambda path: json.loads(path.read_text()) +sha = lambda path: hashlib.sha256(path.read_bytes()).hexdigest() +campaign = read(package / 'campaign.json') +notebook = read(package / 'notebook.json')['pages'] +scripts = {s['pageId']: s for s in read(package / 'narration/scripts.json')} +manifest = read(package / 'narration/manifest.json') +tracks = read(package / 'audio/narration_manifest.json')['tracks'] +assert tracks == manifest['tracks'], 'Runtime/provenance manifests differ' +assert len({p['id'] for p in notebook}) == len(notebook), 'Duplicate page IDs' +prose = {p['id'] for p in notebook if p['type'] != 'puzzle'} +assert set(scripts) == prose == set(tracks), 'Every prose page must have exactly one recording' +images = {package / 'artwork/cover-v1.png'} +for level in campaign['levels']: + images.add(repo / level['illustrationAsset']) +for path in images: + data = path.read_bytes() + assert data[:8] == b'\x89PNG\r\n\x1a\n', path + w, h, depth, colour = struct.unpack('>IIBB', data[16:26]) + assert min(w, h) >= 512 and depth == 8 and colour == 6, f'Expected large RGBA PNG: {path}' +for page in notebook: + if page['type'] == 'puzzle': + assert page['id'] not in tracks, 'Puzzle instructions should not autoplay' + continue + index = page.get('campaignIndex') + source = page.get('textSource') + text = campaign['levels'][index][source] if source in ('before', 'after') else page['text'] + text = '\n\n'.join(s for s in [text, page.get('continuation', '')] if s) + script, track = scripts[page['id']], tracks[page['id']] + assert text == script['text'] == track['text'], f'Stale script: {page["id"]}' + assert hashlib.sha256(text.encode()).hexdigest() == track['textSha256'] + assert track.get('cueJoin','\n\n').join(c['text'] for c in track['cues']) == text, f'Incomplete cues: {page["id"]}' + if script.get('segments'): + cast = read(package / 'narration/cast.json') + assert track['segments'] == script['segments'], 'Stale performance directions' + assert ''.join(s['text'] for s in script['segments']) == text + assert len(script['segments']) == len(track['cues']) + for segment, cue in zip(script['segments'], track['cues']): + assert segment['speaker'] == cue['speaker'] + assert cast[segment['speaker']]['voice'] == cue['voice'] + for event in track['events']: + assert 0 <= event['startMs'] < event['endMs'] <= track['durationMs'] + assert all(event['endMs'] <= c['startMs'] or event['startMs'] >= c['endMs'] for c in track['cues']), 'Foley must leave the spoken words clear' + wav = repo / track['asset'] + master = package / 'narration/wav' / track['file'] + flac = package / 'narration/flac' / track['flacFile'] + assert sha(wav) == sha(master) == track['wavSha256'], wav + assert sha(flac) == track['flacSha256'], flac + with wave.open(str(wav), 'rb') as audio: + assert (audio.getnchannels(), audio.getsampwidth(), audio.getframerate()) == (1, 2, 24000) + assert audio.getnframes() == track['frames'] + pcm = audio.readframes(audio.getnframes()) + samples = memoryview(pcm).cast('h') + peak = max(abs(v) for v in samples) + assert 1000 < peak < 32000, f'Silent/clipped recording: {wav}' + assert abs(track['durationMs'] - round(track['frames'] / 24)) <= 1 + last = 0 + for cue in track['cues']: + assert last <= cue['startMs'] < cue['endMs'] <= track['durationMs'] + last = cue['endMs'] + decoded = subprocess.check_output(['ffmpeg', '-v', 'error', '-i', str(flac), '-f', 's16le', '-acodec', 'pcm_s16le', '-']) + assert decoded == pcm, f'Lossless master mismatch: {flac}' + print(f'PASS {page["id"]}: script, cues, PCM and lossless archive ({track["durationMs"]/1000:.1f}s)') +minutes = sum(t['durationMs'] for t in tracks.values()) / 60000 +if (package / 'audio/atmosphere.json').exists(): + atmosphere = read(package / 'audio/atmosphere.json') + provenance = read(package / 'audio/atmosphere_provenance.json')['tracks'] + for page_id, scene in atmosphere['pages'].items(): + assert page_id in {p['id'] for p in notebook} + assert scene in atmosphere['scenes'] + for name, scene in atmosphere['scenes'].items(): + path = repo / scene['asset'] + assert sha(path) == provenance[name]['wavSha256'] + with wave.open(str(path), 'rb') as audio: + assert (audio.getnchannels(), audio.getsampwidth(), audio.getframerate()) == (1, 2, 24000) + pcm = memoryview(audio.readframes(audio.getnframes())).cast('h') + assert abs(pcm[-1] - pcm[0]) <= 1, 'Loop has a discontinuity' + assert 1000 < max(abs(v) for v in pcm) < 24000 + print(f'PASS atmosphere: {name}, bundled PCM and seamless loop') +print(f'PASS package: {len(campaign["levels"])} puzzles, {len(notebook)} leaves, {len(images)} illustrations, {len(tracks)} recordings, {minutes:.1f} minutes') diff --git a/scripts/render_drama_atmosphere.py b/scripts/render_drama_atmosphere.py new file mode 100644 index 0000000..9100506 --- /dev/null +++ b/scripts/render_drama_atmosphere.py @@ -0,0 +1,66 @@ +#!/usr/bin/env python3 +"""Original wind, kitchen and haunted-house textures for The Midnight Invitation.""" +import hashlib +import json +from pathlib import Path +import numpy as np +import soundfile as sf + +ROOT = Path(__file__).resolve().parents[1] +OUT = ROOT / 'assets/stories/midnight-invitation/audio' +RATE, SECONDS = 24000, 36 +N = RATE * SECONDS +T = np.arange(N) / RATE +F = np.fft.rfftfreq(N, 1 / RATE) +tracks = {} +for name, seed in [('threshold', 103101), ('kitchen', 103102), ('hall', 103103)]: + rng = np.random.default_rng(seed) + + def noise(low, high): + spectrum = np.fft.rfft(rng.normal(size=N)) + spectrum *= (1 - np.exp(-(F / low) ** 4)) * np.exp(-(F / high) ** 2) + signal = np.fft.irfft(spectrum, n=N) + return signal / np.sqrt(np.mean(signal ** 2)) + + def swell(cycles, phase=0): + return .65 + .35 * np.sin(2 * np.pi * cycles * T / SECONDS + phase) + + if name == 'threshold': + # Gentle air around a sheltered porch; leaves move in longer gusts. + sound = .75 * noise(75, 950) * swell(2, .3) + sound += .20 * noise(800, 3300) * swell(5, 1.2) ** 3 + elif name == 'hall': + # Sheltered air and distant timber strain, with no voices or clock ticks. + sound = .50 * noise(45, 420) * swell(2, .7) + sound += .09 * noise(300, 1600) * swell(5, 1.4) ** 3 + for onset in [6.2, 18.7, 29.1]: + distance = (T - onset + SECONDS / 2) % SECONDS - SECONDS / 2 + envelope = np.exp(-(distance / .55) ** 2) + sound += .035 * np.sin(2 * np.pi * (190 * T + .12 * np.sin(2 * np.pi * T))) * envelope + else: + # Low stove draft and irregular, small embers, without a musical bed. + sound = .22 * noise(65, 650) * swell(2, 1.1) + sound += .07 * noise(500, 2200) + embers = noise(800, 4200) + for onset in rng.uniform(1, SECONDS - 1, 48): + dt = T - onset + envelope = np.where(dt >= 0, np.exp(-np.maximum(dt, 0) * 35), 0) + sound += rng.uniform(.13, .42) * embers * envelope + sound -= np.mean(sound) + ramp = np.linspace(0, 1, RATE // 20) + sound[-len(ramp):] -= (sound[-1] - sound[0]) * ramp * ramp * (3 - 2 * ramp) + sound *= .10 / np.sqrt(np.mean(sound ** 2)) + sound *= min(1, .65 / np.max(np.abs(sound))) + path = OUT / f'ambience_{name}.wav' + sf.write(path, sound, RATE, subtype='PCM_16') + pcm, rate = sf.read(path) + assert abs(pcm[-1] - pcm[0]) <= 1 / 32768 + tracks[name] = {'asset':path.relative_to(ROOT).as_posix(), 'sampleRate':RATE, + 'channels':1, 'durationMs':SECONDS*1000, 'seed':seed, + 'wavSha256':hashlib.sha256(path.read_bytes()).hexdigest(), + 'peak':float(np.max(np.abs(pcm))), 'rms':float(np.sqrt(np.mean(pcm**2)))} + print(f'{name}: {SECONDS}s, peak {tracks[name]["peak"]:.3f}, seamless PCM loop') +(OUT/'atmosphere_provenance.json').write_text(json.dumps({ + 'method':'Original procedural textures, rendered offline; no third-party recordings or runtime synthesis.', + 'generator':'scripts/render_drama_atmosphere.py', 'tracks':tracks, +},indent=2)+'\n') diff --git a/scripts/render_drama_previews.py b/scripts/render_drama_previews.py new file mode 100644 index 0000000..8302f74 --- /dev/null +++ b/scripts/render_drama_previews.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python3 +"""Export the pilot readings plus their quiet atmosphere for listening outside Lumen.""" +import json +import subprocess +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[1] +PACKAGE = ROOT / 'assets/stories/midnight-invitation' +OUT = ROOT / 'artifacts/audio-pilot' +OUT.mkdir(parents=True, exist_ok=True) +tracks = json.loads((PACKAGE/'audio/narration_manifest.json').read_text())['tracks'] +for page, scene, name in [ + ('midnight.feather.memory', 'threshold', '01-at-the-door'), + ('midnight.candle.entry', 'kitchen', '02-in-the-kitchen'), +]: + track = tracks[page] + # Same speech-time atmosphere gain as the app's default .7 volume setting. + duration = track['durationMs'] / 1000 + subprocess.run(['ffmpeg','-v','error','-y','-i',str(ROOT/track['asset']), + '-stream_loop','-1','-i',str(PACKAGE/f'audio/ambience_{scene}.wav'), + '-filter_complex',f'[1:a]volume=0.07,afade=t=in:d=0.5,afade=t=out:st={duration-.8}:d=0.8[bed];[0:a][bed]amix=inputs=2:duration=first:normalize=0[out]', + '-map','[out]','-c:a','pcm_s16le',str(OUT/f'{name}.wav')],check=True) + print(OUT/f'{name}.wav') diff --git a/scripts/render_narration.py b/scripts/render_narration.py index aa3ab21..4f1f519 100644 --- a/scripts/render_narration.py +++ b/scripts/render_narration.py @@ -8,17 +8,31 @@ import onnxruntime as ort import espeakng_loader from kokoro_onnx import Kokoro from kokoro_onnx.config import EspeakConfig +from audio_drama import validate_segments, effect parser=argparse.ArgumentParser() parser.add_argument('--model',type=Path,required=True) parser.add_argument('--voices',type=Path,required=True) parser.add_argument('--voice',default='bf_emma') parser.add_argument('--speed',type=float,default=.82) +parser.add_argument('--page', action='append', default=[], help='Render only these page IDs; preserve other takes') parser.add_argument('--speaker', help='Render only this speaker, preserving all other recordings') parser.add_argument('--append-continuations', action='store_true', help='Preserve existing takes and append the new narrator passages') parser.add_argument('--root',type=Path,default=Path(__file__).resolve().parents[1]) +parser.add_argument('--story-root',type=Path,help='Render an independent story package with narration/scripts.json and audio/ assets') a=parser.parse_args() -source=a.root/'assets/narration';raw=a.root/'assets/audio' +source=(a.story_root/'narration') if a.story_root else a.root/'assets/narration' +raw=(a.story_root/'audio') if a.story_root else a.root/'assets/audio' +(source/'flac').mkdir(parents=True,exist_ok=True) if a.story_root else None +records=json.loads((source/'scripts.json').read_text()) +cast=json.loads((source/'cast.json').read_text()) if (source/'cast.json').exists() else {} +if a.page and not set(a.page) <= {r['pageId'] for r in records}: + parser.error('Unknown page ID') +for record in records: + if record.get('segments'): + validate_segments(record,cast) + if a.append_continuations: + parser.error('Segmented drama cannot append legacy continuations') (source/'wav').mkdir(parents=True,exist_ok=True);raw.mkdir(parents=True,exist_ok=True) options=ort.SessionOptions();options.intra_op_num_threads=4;options.inter_op_num_threads=1 session=ort.InferenceSession(str(a.model),sess_options=options,providers=['CPUExecutionProvider']) @@ -26,8 +40,9 @@ session.disable_fallback() config=EspeakConfig(lib_path=str(espeakng_loader.get_library_path()),data_path=str(espeakng_loader.get_data_path())) engine=Kokoro.from_session(session,str(a.voices),espeak_config=config) previous=json.loads((source/'manifest.json').read_text()) if (source/'manifest.json').exists() else {} -tracks=dict(previous.get('tracks',{})) if a.speaker or a.append_continuations else {} -for record in json.loads((source/'scripts.json').read_text()): +tracks=dict(previous.get('tracks',{})) if a.speaker or a.page or a.append_continuations else {} +for record in records: + if a.page and record['pageId'] not in a.page: continue if a.speaker and record.get('speaker')!=a.speaker: continue old=tracks.get(record['pageId']) if a.append_continuations: @@ -41,7 +56,7 @@ for record in json.loads((source/'scripts.json').read_text()): if paragraphs and len(part)<45:paragraphs[-1]+='\n\n'+part elif paragraphs and len(paragraphs[-1])<45:paragraphs[-1]+='\n\n'+part else:paragraphs.append(part) - rate=24000;pieces=[np.zeros(int(rate*.18),dtype=np.float32)];frames=len(pieces[0]);cues=[] + rate=24000;pieces=[np.zeros(int(rate*.18),dtype=np.float32)];frames=len(pieces[0]);cues=[];events=[] if a.append_continuations: original,_=sf.read(source/'wav'/old['file'],dtype='int16') master,master_rate=sf.read(source/'wav'/old['file'],dtype='float32') @@ -51,11 +66,17 @@ for record in json.loads((source/'scripts.json').read_text()): sections=[(part,'Narrator' if a.append_continuations else record['speaker']) for part in paragraphs] if not a.append_continuations and record.get('continuation'): sections.extend((part,'Narrator') for part in record['continuation'].split('\n\n')) + if record.get('segments'): + sections=[(s['text'],s['speaker']) for s in record['segments']] for number,(part,speaker) in enumerate(sections,1): print(f"Rendering {record['pageId']} · {number}/{len(sections)}",flush=True) voice='bm_george' if speaker=='Narrator' else record.get('voice',a.voice) speed=.88 if speaker=='Narrator' else record.get('speed',a.speed) - samples,sample_rate=engine.create(part.replace('\n',' '),voice=voice,speed=speed,lang='en-gb',sentence_pause=.38,clause_pause=.14) + direction=record['segments'][number-1] if record.get('segments') else {} + if direction: + voice=cast[speaker]['voice'] + speed=direction.get('speed',cast[speaker]['speed']) + samples,sample_rate=engine.create(part.strip().replace('\n',' '),voice=voice,speed=speed,lang=cast.get(speaker,{}).get('language','en-gb'),sentence_pause=direction.get('sentencePause',.38),clause_pause=.14) assert sample_rate==rate samples=np.asarray(samples,dtype=np.float32).reshape(-1) assert len(samples)>rate*.3 and np.isfinite(samples).all() @@ -63,12 +84,24 @@ for record in json.loads((source/'scripts.json').read_text()): samples[:fade]*=np.linspace(0,1,fade);samples[-fade:]*=np.linspace(1,0,fade) peak=float(np.max(np.abs(samples)));assert peak>.01 samples*=.86/peak + if direction.get('perspective')=='behind-door': + # A restrained low-pass suggests a closed door; no pitch shifting. + samples=np.convolve(samples,np.ones(9)/9,mode='same').astype(np.float32)*.86 start=frames;pieces.append(samples);frames+=len(samples) - cues.append({'startMs':round(start*1000/rate),'endMs':round(frames*1000/rate),'text':part,'speaker':speaker}) - pause=np.zeros(int(rate*.60),dtype=np.float32);pieces.append(pause);frames+=len(pause) + cues.append({'startMs':round(start*1000/rate),'endMs':round(frames*1000/rate),'text':part,'speaker':speaker,'voice':voice,'speed':speed}) + pause=np.zeros(round(rate*direction.get('pauseMs',600)/1000),dtype=np.float32) + if direction.get('afterEffect'): + sound=effect(direction['afterEffect'],rate) + lead=round(rate*.16) + if len(pause).01 assert peak<1 - wav=source/'wav'/f"{record['resource']}.wav";flac=raw/f"{record['resource']}.flac" + wav=source/'wav'/f"{record['resource']}.wav" + flac=(source/'flac' if a.story_root else raw)/f"{record['resource']}.flac" sf.write(wav,audio,rate,subtype='PCM_16') shutil.copyfile(wav,raw/wav.name) subprocess.run(['ffmpeg','-v','error','-y','-i',str(wav),'-c:a','flac','-compression_level','8',str(flac)],check=True) @@ -77,6 +110,12 @@ for record in json.loads((source/'scripts.json').read_text()): tracks[record['pageId']]={**record,'file':wav.name,'flacFile':flac.name,'wavSha256':hashlib.sha256(wav.read_bytes()).hexdigest(),'sampleRate':rate,'channels':1,'frames':len(audio), 'durationMs':round(len(audio)*1000/rate),'textSha256':hashlib.sha256(record['text'].encode()).hexdigest(), 'flacSha256':hashlib.sha256(flac.read_bytes()).hexdigest(),'cues':cues} + if record.get('segments'): + tracks[record['pageId']]['events']=events + tracks[record['pageId']]['cueJoin']='' + tracks[record['pageId']]['production']=record.get('production','drama-pilot-v1') + if a.story_root: + tracks[record['pageId']]['asset']=(raw/wav.name).resolve().relative_to(a.root.resolve()).as_posix() if a.append_continuations: output,_=sf.read(wav,dtype='int16') assert np.array_equal(output[:len(original)],original),'Original take changed while appending' @@ -84,7 +123,7 @@ for record in json.loads((source/'scripts.json').read_text()): tracks[record['pageId']]['originalPcmSha256']=hashlib.sha256(original.tobytes()).hexdigest() print(f"Saved {wav.name}: {len(audio)/rate:.1f}s; lossless FLAC verified",flush=True) manifest={'voice':a.voice,'speed':a.speed,'language':'en-gb','method':'Synthetic narration rendered during development; bundled file playback only.', - 'speakers':{'Mara':{'voice':'bf_emma','speed':.82},'Narrator':{'voice':'bm_george','speed':.88}}, + 'speakers':{'Mara':{'voice':'bf_emma','speed':.82},'Narrator':{'voice':'bm_george','speed':.88},**cast}, 'modelSha256':hashlib.sha256(a.model.read_bytes()).hexdigest(),'voicesSha256':hashlib.sha256(a.voices.read_bytes()).hexdigest(), 'packages':{p:importlib.metadata.version(p) for p in ['kokoro-onnx','onnxruntime','soundfile','espeakng-loader']},'tracks':tracks} (source/'manifest.json').write_text(json.dumps(manifest,ensure_ascii=False,indent=2)+'\n') diff --git a/test/drama_test.dart b/test/drama_test.dart new file mode 100644 index 0000000..dc7d943 --- /dev/null +++ b/test/drama_test.dart @@ -0,0 +1,179 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:lumen/domain/book.dart'; +import 'package:lumen/domain/game.dart'; +import 'package:lumen/domain/library.dart'; +import 'package:lumen/main.dart'; +import 'package:lumen/services/ambience.dart'; +import 'package:lumen/services/narrator.dart'; +import 'package:lumen/services/progress.dart'; + +import 'support/story_fixtures.dart'; + +class _Output implements AmbienceOutput { + Soundscape? scene; + bool playing = false; + double gain = 0; + final List loads = []; + @override + Future load(Soundscape value) async { + scene = value; + loads.add(value.asset); + } + + @override + Future volume(double value) async => gain = value; + @override + Future play() async => playing = true; + @override + Future stop() async => playing = false; + @override + Future dispose() async {} +} + +class _Voice extends Narrator { + _Voice(super.tracks); + Duration at = Duration.zero; + bool active = false; + @override + Duration get position => at; + @override + bool get playing => active; + void cue(String id, int milliseconds) { + cancelAutoplay(); + page = id; + at = Duration(milliseconds: milliseconds); + active = true; + notifyListeners(); + } + + @override + Future stop() async { + active = false; + await super.stop(); + } +} + +void main() { + TestWidgetsFlutterBinding.ensureInitialized(); + + test( + 'translated books share nonverbal atmosphere but never English speech', + () async { + final data = fixture(); + data['fixture/atmosphere.json'] = { + 'scenes': { + 'room': {'asset': 'assets/room.wav'}, + }, + 'pages': {'entry-0': 'room'}, + }; + final story = StoryDefinition({ + 'id': 'drama', + 'title': 'Drama', + 'campaignAsset': 'fixture/campaign.json', + 'notebookAsset': 'fixture/notebook.json', + 'tracksAsset': 'fixture/audio.json', + 'atmosphereAsset': 'fixture/atmosphere.json', + 'languages': { + 'en': {}, + 'de': {'asset': 'fixture/de.json'}, + }, + }); + final library = StoryLibrary([story], bundle: FixtureBundle(data)); + final en = await library.open('drama'); + final de = await library.open('drama', language: 'de'); + expect(en.atmosphere['entry-0'], de.atmosphere['entry-0']); + expect(en.tracks, isNotEmpty); + expect(de.tracks, isEmpty); + expect(de.atmosphere['entry-1'], isNull); + data['fixture/atmosphere.json'] = { + 'scenes': { + 'room': {'asset': 'assets/room.wav'}, + }, + 'pages': {'missing-page': 'room'}, + }; + await expectLater( + Book.loadDefinition(story, bundle: FixtureBundle(data)), + throwsFormatException, + ); + }, + ); + + testWidgets( + 'cast labels follow cues; atmosphere ducks, changes and stops at home', + (tester) async { + final library = (await tester.runAsync(StoryLibrary.load))!; + final book = (await tester.runAsync( + () => library.open('midnight-invitation'), + ))!; + final g = Game( + book, + Progress.memory({'story_access_level': 11}), + library: library, + ); + final voice = _Voice(book.tracks); + final output = _Output(); + final ambience = Ambience(output: output); + final doorIndex = book.pages.indexWhere( + (p) => p.id == 'midnight.feather.memory', + ); + g.showStory(doorIndex); + await tester.pumpWidget( + MaterialApp( + home: Notebook( + game: g, + adsEnabled: false, + narrator: voice, + ambience: ambience, + ), + ), + ); + Future settleAudio() async { + for (var i = 0; i < 14; i++) { + await tester.pump(const Duration(milliseconds: 50)); + } + await ambience.settled; + } + + await settleAudio(); + voice.cancelAutoplay(); + expect(output.scene, book.atmosphere['midnight.feather.memory']); + expect(output.gain, closeTo(.28, .001)); + for (final role in ['Iris', 'Elias']) { + final cue = (book.tracks['midnight.feather.memory']['cues'] as List) + .firstWhere((c) => c['speaker'] == role); + voice.cue('midnight.feather.memory', cue['startMs'] + 100); + await settleAudio(); + expect(find.text('$role · recorded story'), findsOneWidget); + expect(voice.passage, cue['text']); + expect(output.gain, closeTo(.07, .001)); + if (role == 'Iris') { + voice.cue('midnight.feather.memory', cue['endMs'] + 100); + await tester.pump(); + expect(voice.speaker, 'Iris'); + expect(voice.passage, isEmpty); + } + } + // Repeated position updates must not reload the same loop. + expect(output.loads.length, 1); + g.showStory( + book.pages.indexWhere((p) => p.id == 'midnight.candle.entry'), + ); + await settleAudio(); + voice.cancelAutoplay(); + expect(output.scene, book.atmosphere['midnight.candle.entry']); + expect(output.loads.length, 2); + g.showStory( + book.pages.indexWhere((p) => p.id == 'midnight.candle.puzzle'), + ); + await settleAudio(); + expect(output.loads.length, 2); + g.home(); + await settleAudio(); + expect(output.playing, false); + expect(voice.page, isEmpty); + await tester.pumpWidget(const SizedBox()); + await tester.pumpAndSettle(); + }, + ); +} diff --git a/test/halloween_test.dart b/test/halloween_test.dart new file mode 100644 index 0000000..1622594 --- /dev/null +++ b/test/halloween_test.dart @@ -0,0 +1,159 @@ +import 'dart:convert'; + +import 'package:flutter/services.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:lumen/domain/book.dart'; +import 'package:lumen/domain/game.dart'; +import 'package:lumen/domain/library.dart'; +import 'package:lumen/domain/puzzle.dart'; +import 'package:lumen/domain/thinking.dart'; +import 'package:lumen/services/progress.dart'; + +void main() { + TestWidgetsFlutterBinding.ensureInitialized(); + late StoryLibrary library; + late Book book; + setUpAll(() async { + library = await StoryLibrary.load(); + book = await library.open('midnight-invitation'); + }); + + test('Halloween is a complete three-chapter English story with an opening and ending', () { + expect(book.language, 'en'); + expect(book.title, 'The Midnight Invitation'); + expect(book.levels.length, 12); + expect(book.pages.length, 38); + expect(book.chapters.length, 3); + expect(book.chapterLevels(0), [0, 1, 2, 3]); + expect(book.chapterLevels(1), [4, 5, 6, 7]); + expect(book.chapterLevels(2), [8, 9, 10, 11]); + expect(book.pages.first.type, StoryPageType.dedication); + expect(book.pages.last.type, StoryPageType.closing); + expect(book.pages.last.text, contains('The end.')); + expect(book.continueAt, isNull); + expect( + book.pages + .where((p) => p.type != StoryPageType.puzzle) + .fold(0, (n, p) => n + p.text.split(RegExp(r'\s+')).length), + greaterThan(3000), + ); + }); + + test('all twelve authored silhouettes are unique and solvable by visible clues without guessing', () { + expect(book.levels.map((l) => l.picture.join()).toSet().length, 12); + for (var i = 0; i < book.levels.length; i++) { + final level = book.levels[i], p = level.puzzle(); + expect(p.countSolutions(), 1, reason: level.id); + final solver = LogicSolver(49, p.constraints); + expect(solver.analyze(p.initial).cells, p.solution, reason: level.id); + final reasoning = ThinkingAnalyzer( + 49, + p.constraints, + ).analyze(p.initial, maxLookahead: 0); + expect(reasoning.status, ThinkingStatus.solved, reason: level.id); + expect(reasoning.assumptionSteps, 0, reason: level.id); + expect(reasoning.rounds.length, inInclusiveRange(4, 8)); + if (i < 2) { + expect(p.regions, isEmpty); + expect(solver.analyze(p.initial, useAreas: false).solved, true); + } else { + expect(p.regions.length, i < 4 ? 2 : 3); + expect(solver.analyze(p.initial, useAreas: false).solved, false); + expect(reasoning.comparisonSteps, greaterThanOrEqualTo(2)); + } + } + }); + + test('all prose has matching English narration and every discovery has an original image', () async { + final scripts = (jsonDecode( + await rootBundle.loadString( + 'assets/stories/midnight-invitation/narration/scripts.json', + ), + ) as List).map((s) => MapEntry(s['pageId'] as String, s)).toList(); + final byId = Map.fromEntries(scripts); + expect(book.tracks.length, 26); + for (final page in book.pages) { + if (page.type == StoryPageType.puzzle) { + expect(book.tracks.containsKey(page.id), false); + continue; + } + final track = book.tracks[page.id]; + expect(track['text'], page.text, reason: page.id); + expect(byId[page.id]['text'], page.text); + expect(track['speaker'], 'Elias'); + expect(track['production'], 'diary-drama-v2'); + expect( + (track['cues'] as List) + .map((c) => c['text']) + .join(track['cueJoin'] ?? '\n\n'), + page.text, + ); + final roles = (track['cues'] as List).map((c) => c['speaker']).toSet(); + expect(roles, contains('Elias')); + if (page.id == 'midnight.feather.memory' || + page.id == 'midnight.candle.entry') { + expect(roles, contains('Iris')); + expect(track['events'], isNotEmpty); + } + final bytes = await rootBundle.load(track['asset']); + expect( + ascii.decode(bytes.buffer.asUint8List(bytes.offsetInBytes, 4)), + 'RIFF', + ); + } + final illustrations = { + book.coverAsset!, + book.paperAsset!, + ...book.levels.map((l) => l.illustrationAsset!), + }; + expect(illustrations.length, 14); + for (final asset in illustrations) { + final data = await rootBundle.load(asset); + expect(data.getUint32(0), 0x89504e47, reason: asset); + } + }); + + test('all discoveries award once, survive read-ahead and restore independently of other books', () async { + final store = Progress.memory(); + final g = Game(book, store, library: library); + g.openNotebook(); + expect(g.storyPage.id, 'midnight.opening'); + for (var i = 0; i < 12; i++) { + g.showStory(book.pageFor(i, StoryPageType.entry)); + g.startCampaign(i); + final p = g.puzzle!; + final open = p.given.indexOf(false); + g.mark(open); + final marks = List.of(g.cells); + g.showStory(book.pageFor(i, StoryPageType.memory)); + expect(g.recovered(i), false); + g.startCampaign(i); + expect(g.cells, marks); + for (var c = 0; c < g.cells.length; c++) { + while (g.cells[c] != (p.solution[c] == 1 ? 1 : 2)) { + g.mark(c); + } + } + expect(g.storyPage.type, StoryPageType.memory); + expect(g.recoveredCount, i + 1); + expect(g.solved, i + 1); + g.startCampaign(i); + g.check(); + expect(g.solved, i + 1); + } + g.showStory(book.pages.length - 1); + await g.progress.set('notebook_manual_bookmark', g.storyPage.id); + final restarted = Game(book, Progress.memory(store.snapshot)); + await restarted.restore(); + expect(restarted.storyPage.id, 'midnight.ending'); + expect(restarted.recoveredCount, 12); + await g.selectStory('mara-island'); + expect(g.recoveredCount, 0); + expect(g.progress.text('notebook_manual_bookmark'), isEmpty); + await g.selectStory('midnight-invitation'); + expect(g.storyPage.id, 'midnight.ending'); + expect(g.recoveredCount, 12); + g.leaveCottage(); + expect(g.screen, Screen.contents); + }); +} diff --git a/test/halloween_widget_test.dart b/test/halloween_widget_test.dart new file mode 100644 index 0000000..6205b81 --- /dev/null +++ b/test/halloween_widget_test.dart @@ -0,0 +1,109 @@ +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:lumen/domain/book.dart'; +import 'package:lumen/domain/game.dart'; +import 'package:lumen/domain/library.dart'; +import 'package:lumen/main.dart'; +import 'package:lumen/services/progress.dart'; + +void main() { + testWidgets( + 'all Halloween leaves fit larger text and keep navigation reachable in both orientations', + (tester) async { + addTearDown(tester.view.reset); + tester.platformDispatcher.textScaleFactorTestValue = 1.5; + addTearDown(tester.platformDispatcher.clearTextScaleFactorTestValue); + final library = (await tester.runAsync(StoryLibrary.load))!; + final book = (await tester.runAsync( + () => library.open('midnight-invitation'), + ))!; + await tester.runAsync(() async { + final font = FontLoader('MaraHand') + ..addFont(rootBundle.load('assets/fonts/DancingScript.ttf')); + await font.load(); + }); + for (final size in [const Size(360, 640), const Size(960, 600)]) { + tester.view.physicalSize = size; + tester.view.devicePixelRatio = 1; + final g = Game(book, Progress.memory(), library: library); + await tester.pumpWidget(LumenApp(game: g, adsEnabled: false)); + await tester.pumpAndSettle(); + for (var i = 0; i < book.pages.length; i++) { + g.showStory(i); + await tester.pumpAndSettle(); + final page = book.pages[i]; + expect(find.image(AssetImage(book.paperAsset!)), findsOneWidget); + expect(find.text('Undo a mark'), findsNothing); + expect(find.text(page.title), findsOneWidget, reason: page.id); + final next = i == book.pages.length - 1 + ? 'Back to contents' + : 'Next leaf →'; + expect( + find.text(next).hitTestable(), + findsOneWidget, + reason: page.id, + ); + if (page.type == StoryPageType.puzzle) { + for (final cell in [0, g.cells.length - 1]) { + final target = find.byKey(ValueKey('cell-$cell')); + expect(target.hitTestable(), findsOneWidget, reason: page.id); + final rect = tester.getRect(target); + expect(rect.top, greaterThanOrEqualTo(0), reason: page.id); + expect( + rect.bottom, + lessThan(tester.getRect(find.text(next)).top), + reason: page.id, + ); + } + final hint = find.text('Hint · rewarded ad'); + await tester.ensureVisible(hint); + await tester.pumpAndSettle(); + expect(hint.hitTestable(), findsOneWidget, reason: page.id); + if (page.text.isNotEmpty) { + expect(find.text(page.text), findsOneWidget); + } + } + expect(tester.takeException(), isNull, reason: page.id); + } + await tester.pumpWidget(const SizedBox()); + } + }, + ); + + testWidgets( + 'Halloween discovery artwork stays hidden until its own puzzle is restored', + (tester) async { + tester.view.physicalSize = const Size(600, 960); + tester.view.devicePixelRatio = 1; + addTearDown(tester.view.reset); + final library = (await tester.runAsync(StoryLibrary.load))!; + final book = (await tester.runAsync( + () => library.open('midnight-invitation'), + ))!; + final g = Game(book, Progress.memory()); + await tester.pumpWidget(LumenApp(game: g, adsEnabled: false)); + await tester.pumpAndSettle(); + for (var i = 0; i < 12; i++) { + final page = book.pageFor(i, StoryPageType.memory); + final asset = AssetImage(book.levels[i].illustrationAsset!); + g.showStory(page); + await tester.pumpAndSettle(); + expect(find.image(asset), findsNothing); + await g.progress.set('done_${book.puzzleKey(i)}', true); + g.showStory(page); + await tester.pumpAndSettle(); + expect(find.image(asset), findsOneWidget, reason: book.levels[i].id); + expect(tester.takeException(), isNull); + g.showStory(book.pageFor(i, StoryPageType.entry)); + await tester.pumpAndSettle(); + expect(find.image(asset), findsNothing); + } + await g.progress.set('notebook_manual_bookmark', 'midnight.ending'); + g.contents(2); + await tester.pumpAndSettle(); + expect(find.text('Return to my ribbon bookmark'), findsOneWidget); + await tester.pumpWidget(const SizedBox()); + }, + ); +} diff --git a/test/library_test.dart b/test/library_test.dart index 3ae8231..eeffb10 100644 --- a/test/library_test.dart +++ b/test/library_test.dart @@ -25,11 +25,47 @@ class DelayedTranslationBundle extends FixtureBundle { void main() { TestWidgetsFlutterBinding.ensureInitialized(); + test( + 'each book has three persistent reading ad breaks with a shared legacy cap', + () async { + final library = await StoryLibrary.load(); + final store = Progress.memory(); + for (final story in library.stories) { + final book = await library.open(story.id); + final game = Game(book, store, library: library); + final total = + book.pages.length + + (book.continueAt == null + ? 0 + : (book.levels.length - book.continueAt!) * 3); + var placements = 0; + for (var position = 0; position <= total; position++) { + if (game.claimBookAd(position, total)) placements++; + expect(game.claimBookAd(position, total), false); + } + expect(placements, 3, reason: story.id); + final restarted = Game(book, Progress.memory(store.snapshot)); + for (var position = total; position >= 0; position--) { + expect(restarted.claimBookAd(position, total), false); + } + } + final book = await library.open('mara-island'); + final migrated = Game(book, Progress.memory({'storyAd_7': true})); + expect(migrated.claimBookAd(1, 3), true); + expect(migrated.claimBookAd(2, 3), true); + expect(migrated.claimBookAd(3, 3), false); + }, + ); + test( 'bundled library loads every language and keeps original Mara saves', () async { final library = await StoryLibrary.load(); - expect(library.stories.map((s) => s.id), ['mara-island', 'paper-boat']); + expect(library.stories.map((s) => s.id), [ + 'mara-island', + 'paper-boat', + 'midnight-invitation', + ]); for (final story in library.stories) { for (final language in story.languages.keys) { final book = await library.open(story.id, language: language); diff --git a/test/library_widget_test.dart b/test/library_widget_test.dart index 06214f7..ae6c658 100644 --- a/test/library_widget_test.dart +++ b/test/library_widget_test.dart @@ -47,6 +47,7 @@ void main() { await tap('Story library'); await tap('The paper boat'); expect(g.book.id, 'paper-boat'); + expect(find.text('The paper boat').hitTestable(), findsOneWidget); await tap('Open The paper boat · 0 / 1'); expect(g.storyPage.id, 'boat.entry'); await tap('Next leaf →'); @@ -54,30 +55,85 @@ void main() { await tester.tap(find.byKey(const ValueKey('cell-0'))); await tester.pumpAndSettle(); final marks = List.of(g.cells); - await tap('Bookmark'); + expect(find.text('Contents'), findsNothing); + expect(find.text('Bookmark'), findsNothing); + expect(find.text('Language'), findsNothing); + expect(find.text('Close book'), findsNothing); + await tester.binding.handlePopRoute(); + await tester.pumpAndSettle(); + expect(g.screen, Screen.home); + await tap('Settings'); await tap('Language'); await tap('Deutsch'); expect(g.book.language, 'de'); + expect(g.screen, Screen.home); + g.openNotebook(); + await tester.pumpAndSettle(); expect(g.storyPage.id, 'boat.puzzle'); expect(g.cells, marks); expect(g.canUndo, true); expect(find.text('Eine kleine Überfahrt'), findsOneWidget); expect(find.text('Nächste Seite →'), findsOneWidget); - expect(g.progress.text('notebook_manual_bookmark'), 'boat.puzzle'); - await tap('Buch schließen'); + await tester.binding.handlePopRoute(); + await tester.pumpAndSettle(); + expect(g.screen, Screen.home); + expect(find.text('Einstellungen'), findsOneWidget); await tap('Geschichtenbibliothek'); - expect( - find.descendant( - of: find.byType(AlertDialog), - matching: find.text('Das Papierboot'), - ), - findsOneWidget, - ); + expect(g.screen, Screen.library); + expect(find.text('Wähle ein Buch'), findsOneWidget); + expect(find.text('Das Papierboot'), findsOneWidget); expect(tester.takeException(), isNull); await tester.pumpWidget(const SizedBox()); }, ); + testWidgets('the first window is the bookshelf and opens a chosen book', ( + tester, + ) async { + tester.view.physicalSize = const Size(600, 960); + tester.view.devicePixelRatio = 1; + addTearDown(tester.view.reset); + final library = (await tester.runAsync(StoryLibrary.load))!; + await tester.runAsync(() async { + for (final story in library.stories) { + for (final language in story.languages.keys) { + await library.open(story.id, language: language); + } + } + }); + final book = (await tester.runAsync(() => library.open('mara-island')))!; + final g = Game(book, Progress.memory({'language': 'en'}), library: library) + ..showLibrary(); + await tester.pumpWidget(LumenApp(game: g, adsEnabled: false)); + // The shelf loads books through futures created outside the fake async + // zone, so give the real event loop a turn before checking the cards. + for (var i = 0; i < 3; i++) { + await tester.runAsync( + () => Future.delayed(const Duration(milliseconds: 20)), + ); + await tester.pump(); + } + expect(g.screen, Screen.library); + expect(find.byKey(const ValueKey('library')), findsOneWidget); + for (final story in library.stories) { + expect(find.text(story.title), findsOneWidget); + } + expect(find.text('Open this book ›'), findsNWidgets(3)); + final boat = find.text('The paper boat'); + await tester.ensureVisible(boat); + await tester.pumpAndSettle(); + await tester.tap(boat); + await tester.runAsync( + () => Future.delayed(const Duration(milliseconds: 20)), + ); + await tester.pumpAndSettle(); + expect(g.book.id, 'paper-boat'); + expect(g.screen, Screen.home); + expect(find.text('Open The paper boat · 0 / 1'), findsOneWidget); + expect(tester.takeException(), isNull); + await tester.pumpWidget(const SizedBox()); + }); + testWidgets( 'German story pages fit portrait and landscape with larger text', (tester) async { @@ -101,7 +157,7 @@ void main() { for (var i = 0; i < book.pages.length; i++) { g.showStory(i); await tester.pumpAndSettle(); - expect(find.text('Sprache').hitTestable(), findsOneWidget); + expect(find.text('Sprache'), findsNothing); expect( find .text(i == 2 ? 'Zum Inhaltsverzeichnis' : 'Nächste Seite →') @@ -151,7 +207,7 @@ void main() { final heading = find.text('البداية'); expect(Directionality.of(tester.element(heading)), TextDirection.rtl); expect(tester.widget(heading).style?.fontFamily, 'sans-serif'); - expect(find.text('اللغة'), findsOneWidget); + expect(find.text('اللغة'), findsNothing); g.startCampaign(0); await tester.pumpAndSettle(); expect( diff --git a/test/region_selection_test.dart b/test/region_selection_test.dart new file mode 100644 index 0000000..8482111 --- /dev/null +++ b/test/region_selection_test.dart @@ -0,0 +1,109 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:lumen/domain/book.dart'; +import 'package:lumen/domain/game.dart'; +import 'package:lumen/domain/library.dart'; +import 'package:lumen/main.dart'; +import 'package:lumen/services/progress.dart'; +import 'package:lumen/ui/board.dart'; + +void main() { + testWidgets( + 'selected region follows its exact cells and never blocks marking', + (tester) async { + addTearDown(tester.view.reset); + final library = (await tester.runAsync(StoryLibrary.load))!; + final book = (await tester.runAsync( + () => library.open('midnight-invitation'), + ))!; + for (final size in [const Size(360, 640), const Size(960, 600)]) { + tester.view.physicalSize = size; + tester.view.devicePixelRatio = 1; + final game = Game(book, Progress.memory(), library: library); + game.showStory(book.pageFor(2, StoryPageType.puzzle)); + await tester.pumpWidget(LumenApp(game: game, adsEnabled: false)); + await tester.pumpAndSettle(); + expect(find.text('Undo a mark'), findsNothing); + for (var index = 0; index < game.puzzle!.regions.length; index++) { + final button = find.byKey(ValueKey('area-$index')); + await tester.ensureVisible(button); + await tester.pumpAndSettle(); + await tester.tap(button); + await tester.pumpAndSettle(); + expect(game.selectedArea, index); + expect(tester.widget(button).selected, true); + expect( + find.descendant(of: button, matching: find.byIcon(Icons.check)), + findsNothing, + ); + final region = game.puzzle!.regions[index]; + final n = game.puzzle!.size; + final first = find.byKey( + ValueKey('cell-${region.top * n + region.left}'), + ); + final last = find.byKey( + ValueKey( + 'cell-${(region.top + region.height - 1) * n + region.left + region.width - 1}', + ), + ); + final outline = tester.getRect( + find.byKey(const ValueKey('selected-region-outline')), + ); + final cells = Rect.fromPoints( + tester.getTopLeft(first), + tester.getBottomRight(last), + ); + expect(outline.left, closeTo(cells.left, .01)); + expect(outline.top, closeTo(cells.top, .01)); + expect(outline.width, closeTo(cells.width, .01)); + expect(outline.height, closeTo(cells.height, .01)); + final cell = List.generate( + n * n, + (i) => i, + ).firstWhere((i) => region.contains(i, n) && !game.puzzle!.given[i]); + final target = find.byKey(ValueKey('cell-$cell')); + final original = game.cells[cell]; + await tester.ensureVisible(target); + await tester.pumpAndSettle(); + for (var count = 0; count < 3; count++) { + await tester.tap(target); + await tester.pumpAndSettle(); + expect(game.cells[cell], (original + count + 1) % 3); + } + } + await tester.pumpWidget(const SizedBox()); + } + }, + ); + + testWidgets( + 'Halloween paper follows reading and contents and switches back with the book', + (tester) async { + final library = (await tester.runAsync(StoryLibrary.load))!; + final book = (await tester.runAsync( + () => library.open('midnight-invitation'), + ))!; + final game = Game(book, Progress.memory(), library: library); + await tester.pumpWidget(LumenApp(game: game, adsEnabled: false)); + game.openNotebook(); + await tester.pumpAndSettle(); + expect(find.image(AssetImage(book.paperAsset!)), findsOneWidget); + expect( + find.image(const AssetImage('assets/artwork/mara-single-page-v2.png')), + findsNothing, + ); + game.contents(); + await tester.pumpAndSettle(); + expect(find.image(AssetImage(book.paperAsset!)), findsOneWidget); + await tester.runAsync(() => game.selectStory('mara-island')); + game.openNotebook(); + await tester.pumpAndSettle(); + expect( + find.image(const AssetImage('assets/artwork/mara-single-page-v2.png')), + findsOneWidget, + ); + expect(find.image(AssetImage(book.paperAsset!)), findsNothing); + await tester.pumpWidget(const SizedBox()); + }, + ); +} diff --git a/test/widget_test.dart b/test/widget_test.dart index dd098c7..ec29602 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -206,37 +206,35 @@ void main() { }, ); - testWidgets( - 'back from a discovery opens its completed grid and forward revisits the memory', - (tester) async { - final book = (await tester.runAsync(Book.load))!; - final g = Game( - book, - Progress.memory({ - 'story_access_level': 11, - 'done_story_v1_4': true, - 'solved': 1, - }), - ); - g.reveal(4); - await tester.pumpWidget(LumenApp(game: g, adsEnabled: false)); + testWidgets('system back closes the book from each reading screen', ( + tester, + ) async { + final book = (await tester.runAsync(Book.load))!; + final g = Game( + book, + Progress.memory({ + 'story_access_level': 11, + 'done_story_v1_4': true, + 'solved': 1, + }), + ); + await tester.pumpWidget(LumenApp(game: g, adsEnabled: false)); + for (final open in [ + () => g.showStory(3), + () => g.reveal(4), + () => g.briefing(4), + () => g.startCampaign(4), + () => g.contents(), + ]) { + open(); await tester.pumpAndSettle(); await tester.binding.handlePopRoute(); await tester.pumpAndSettle(); - expect(g.screen, Screen.game); - expect(find.byType(Board), findsOneWidget); - expect(g.puzzle!.solved(g.cells), true); - final forward = find.text('Revisit the memory →'); - await tester.ensureVisible(forward); - await tester.pumpAndSettle(); - await tester.tap(forward); - await tester.pumpAndSettle(); - expect(g.screen, Screen.reveal); - expect(g.campaignIndex, 4); + expect(g.screen, Screen.home); expect(g.solved, 1); - await tester.pumpWidget(const SizedBox()); - }, - ); + } + await tester.pumpWidget(const SizedBox()); + }); testWidgets('every story hint needs a separate earned ad reward', ( tester, diff --git a/tool/author_midnight_puzzles.dart b/tool/author_midnight_puzzles.dart new file mode 100644 index 0000000..701b142 --- /dev/null +++ b/tool/author_midnight_puzzles.dart @@ -0,0 +1,152 @@ +// Reproducible constraint authoring for the fixed Halloween picture silhouettes. +// This never changes the authored pictures or story text. +import 'dart:convert'; +import 'dart:io'; +import 'dart:math'; + +import 'package:lumen/domain/puzzle.dart'; +import 'package:lumen/domain/thinking.dart'; + +void main() { + final file = File('assets/stories/midnight-invitation/campaign.json'); + final data = jsonDecode(file.readAsStringSync()) as Map; + final reports = >[]; + for (var index = 0; index < (data['levels'] as List).length; index++) { + final record = data['levels'][index] as Map; + final picture = (record['picture'] as String) + .split('') + .map(int.parse) + .toList(); + final random = Random(0x10312026 + index); + Puzzle? best; + ThinkingReport? bestReport; + var bestScore = double.infinity; + final trials = index < 2 ? 180 : 1200; + for (var trial = 0; trial < trials; trial++) { + final p = Puzzle(7, picture); + final regionCount = index < 2 + ? 0 + : index < 4 + ? 2 + : 3; + while (p.regions.length < regionCount) { + final height = 3 + random.nextInt(2), width = 3 + random.nextInt(2); + final r = Region( + String.fromCharCode(65 + p.regions.length), + random.nextInt(8 - height), + random.nextInt(8 - width), + height, + width, + ); + if (p.regions.any( + (old) => + old.top == r.top && + old.left == r.left && + old.height == r.height && + old.width == r.width, + )) { + continue; + } + if (p.regions.isNotEmpty) { + final old = p.regions.last; + final common = List.generate( + 49, + (i) => i, + ).where((i) => old.contains(i, 7) && r.contains(i, 7)).length; + if (common < 2 || + common >= min(old.height * old.width, r.height * r.width)) { + continue; + } + } + p.regions.add(r); + } + final order = List.generate(49, (i) => i)..shuffle(random); + for (final cell in order.take(2 + random.nextInt(3))) { + p.given[cell] = true; + } + final solver = LogicSolver(49, p.constraints); + var analysis = solver.analyze(p.initial); + while (!analysis.solved && p.given.where((v) => v).length < 8) { + final candidates = List.generate( + 49, + (i) => i, + ).where((i) => analysis.cells[i] < 0).toList()..shuffle(random); + var selected = candidates.first, mostKnown = -1; + for (final cell in candidates.take(8)) { + p.given[cell] = true; + final a = solver.analyze(p.initial); + final known = a.cells.where((v) => v >= 0).length; + if (known > mostKnown) { + selected = cell; + mostKnown = known; + } + p.given[cell] = false; + } + p.given[selected] = true; + analysis = solver.analyze(p.initial); + } + if (!analysis.solved) continue; + for (final cell in order.where((i) => p.given[i])) { + if (p.given.where((v) => v).length <= (index < 2 ? 2 : 0)) break; + p.given[cell] = false; + if (!solver.analyze(p.initial).solved) p.given[cell] = true; + } + final singles = solver.analyze(p.initial, useAreas: false); + if (index >= 2 && (singles.solved || analysis.areaDeductions == 0)) { + continue; + } + final givens = p.given.where((v) => v).length; + final foothold = singles.cells.where((v) => v >= 0).length - givens; + if (foothold < 4) continue; + final report = ThinkingAnalyzer( + 49, + p.constraints, + ).analyze(p.initial, maxLookahead: 0); + if (report.status != ThinkingStatus.solved || report.assumptionSteps != 0) { + continue; + } + final targetRounds = index < 2 ? 4.0 : 5.0 + index / 4; + final targetComparison = index < 2 ? 0 : 2 + index ~/ 3; + final score = + (report.rounds.length - targetRounds).abs() * 3 + + (report.comparisonSteps - targetComparison).abs() * 1.5 + + givens * 1.2 + + (index >= 4 ? (foothold - 12).abs() * .15 : 0); + if (score < bestScore) { + bestScore = score; + best = p; + bestReport = report; + } + if (score < 3.5) break; + } + if (best == null || bestReport == null) { + throw StateError('No suitable constraints for ${record['id']}'); + } + if (best.countSolutions() != 1) { + throw StateError('Non-unique ${record['id']}'); + } + record['clues'] = List.generate( + 49, + (i) => i, + ).where((i) => best!.given[i]).join(','); + record['areas'] = best.regions + .map((r) => '${r.top},${r.left},${r.height},${r.width}') + .join(';'); + reports.add({ + 'id': record['id'], + 'givens': record['clues'], + 'areas': record['areas'], + 'report': bestReport.toJson(), + }); + stdout.writeln( + '${index + 1}. ${record['id']}: ${bestReport.givens} givens, ${bestReport.rounds.length} rounds, ${bestReport.comparisonSteps} comparisons, no assumptions', + ); + } + file.writeAsStringSync( + '${const JsonEncoder.withIndent(' ').convert(data)}\n', + ); + File('assets/stories/midnight-invitation/puzzle-report.json') + .writeAsStringSync( + '${const JsonEncoder.withIndent(' ').convert(reports)}\n', + ); +} diff --git a/tool/compile_midnight_diary.py b/tool/compile_midnight_diary.py new file mode 100644 index 0000000..a6c6b01 --- /dev/null +++ b/tool/compile_midnight_diary.py @@ -0,0 +1,110 @@ +#!/usr/bin/env python3 +"""Compile the editable diary manuscript into stable story pages and cast scripts. + +Puzzle grids, clues, IDs, progress keys and artwork associations are preserved. +After running, render narration and run the story package checks before building. +""" +import json +import re +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[1] +PACKAGE = ROOT / 'assets/stories/midnight-invitation' +read = lambda p: json.loads(p.read_text()) +write = lambda p, data: p.write_text(json.dumps(data, ensure_ascii=False, indent=2) + '\n') +parts = re.split(r'^## (\S+) \| (.+)\n\n', (PACKAGE/'STORY.md').read_text(), flags=re.M) +entries = {parts[i]: (parts[i+1], parts[i+2].strip()) for i in range(1,len(parts),3)} +campaign = read(PACKAGE/'campaign.json') +notebook = read(PACKAGE/'notebook.json') +assert set(entries) == {p['id'] for p in notebook['pages'] if p['type'] != 'puzzle'} +chapters = ['I · The road that would not end', 'II · The guest beneath the floor', 'III · Return to sender'] +campaign['premise'] = 'The private diary of Elias Ward, a Blackthorn postman. On Halloween he carried a letter in his own handwriting to a house with twelve missing guests and a thirteenth place waiting for him. A complete Gothic mystery in three chapters.' +for i, level in enumerate(campaign['levels']): + prefix = 'midnight.' + level['id'] + level['title'], level['before'] = entries[prefix+'.entry'] + level['memoryTitle'], level['after'] = entries[prefix+'.memory'] + level['chapter'] = chapters[i//4] +for page in notebook['pages']: + if page['id'] in entries: + page['title'], text = entries[page['id']] + if page.get('textSource') not in ('before','after'): + page['text'] = text + page['speaker'] = 'Elias Ward · private delivery diary' + else: + page['title'] = campaign['levels'][page['campaignIndex']]['title'] + if 'caption' in page: + if page['id'] == 'midnight.opening': + page['caption'] = 'Blackthorn. An account written after the Halloween delivery.' + else: + page['caption'] = chapters[page['campaignIndex']//4] +write(PACKAGE/'campaign.json',campaign) +write(PACKAGE/'notebook.json',notebook) +cast = { + 'Elias': {'voice':'bm_george','speed':.93,'language':'en-gb', + 'direction':'A postman recording a night he barely survived. Personal and restrained; fear through careful observation, not theatrical shouting.'}, + 'Iris': {'voice':'bf_emma','speed':.91,'language':'en-gb', + 'direction':'A tired guardian speaking quietly so the house will not hear. Clear, urgent warnings; fragile relief near the end.'}, + 'Ada': {'voice':'bf_isabella','speed':.94,'language':'en-gb', + 'direction':'The postmistress. A practical voice with a serious warning.'}, + 'The borrowed voice': {'voice':'bf_isabella','speed':.87,'language':'en-gb', + 'direction':'An imitation of Ada through a closed door. Do not exaggerate; its familiarity is the threat.'}, + 'The echo': {'voice':'bm_george','speed':.87,'language':'en-gb', + 'direction':'An imitation of Elias behind a door, slightly slower and distant.'}, +} +write(PACKAGE/'narration/cast.json',cast) +roles = { + 'midnight.opening':['Ada'], + 'midnight.feather.memory':['Iris','Elias','Iris','Iris'], + 'midnight.key.entry':['The borrowed voice','Iris'], + 'midnight.needle.memory':['Iris','Iris','The echo'], +} +effects = { + 'midnight.feather.memory':{'At the door I knocked twice.':'door-knock', 'A chair scraped over the floor on the other side.':'chair-shift'}, + 'midnight.candle.entry':{'I spread the paper beneath the lamp.':'paper'}, + 'midnight.ending':{'A few minutes ago, the drawer knocked twice.':'door-knock'}, +} +records=[] +for page_id,(title,text) in entries.items(): + quotes=list(re.finditer('“[^”]+”',text)) + speakers=roles.get(page_id,['Iris']*len(quotes)) + assert len(quotes)==len(speakers),(page_id,len(quotes),speakers) + spans=[(m.start(),m.end(),speaker) for m,speaker in zip(quotes,speakers)] + cuts={0,len(text)} + cuts.update(m.end() for m in re.finditer('\n\n',text)) + for a,b,_ in spans: cuts.update((a,b)) + actions={} + for phrase,name in effects.get(page_id,{}).items(): + assert phrase in text + end=text.index(phrase)+len(phrase) + cuts.add(end);actions[end]=name + if page_id=='midnight.feather.memory': + end=text.index('Silence.')+len('Silence.');cuts.add(end);actions[end]=1500 + segments=[] + bounds=sorted(cuts) + for start,end in zip(bounds,bounds[1:]): + part=text[start:end] + if not part.strip(): + segments[-1]['text']+=part + segments[-1]['pauseMs']=max(segments[-1]['pauseMs'],700) + continue + speaker=next((s for a,b,s in spans if a<=start capture( + WidgetTester tester, { + required String name, + required Size logical, + required double dpr, + double textScale = 1, + bool captureEnd = false, + }) async { + addTearDown(tester.view.reset); + addTearDown(tester.platformDispatcher.clearTextScaleFactorTestValue); + await tester.runAsync(() async { + final font = FontLoader('MaraHand') + ..addFont(rootBundle.load('assets/fonts/DancingScript.ttf')); + await font.load(); + }); + final library = (await tester.runAsync(StoryLibrary.load))!; + await tester.runAsync(() async { + for (final story in library.stories) { + for (final language in story.languages.keys) { + await library.open(story.id, language: language); + } + } + }); + final assets = { + 'assets/artwork/mara-single-page-v2.png', + for (final story in library.stories) ?story.coverAsset, + }; + tester.view.devicePixelRatio = dpr; + tester.view.physicalSize = Size(logical.width * dpr, logical.height * dpr); + tester.platformDispatcher.textScaleFactorTestValue = textScale; + final book = (await tester.runAsync(() => library.open('mara-island')))!; + final g = Game(book, Progress.memory({'language': 'en'}), library: library) + ..showLibrary(); + await tester.pumpWidget( + RepaintBoundary( + key: _screen, + child: LumenApp(game: g, adsEnabled: false), + ), + ); + for (var i = 0; i < 3; i++) { + await tester.runAsync( + () => Future.delayed(const Duration(milliseconds: 20)), + ); + await tester.pump(); + } + await tester.runAsync(() async { + final context = tester.element(find.byKey(_screen)); + for (final asset in assets) { + await precacheImage(AssetImage(asset), context); + } + }); + await tester.pump(); + await tester.pump(const Duration(milliseconds: 100)); + expect(g.screen, Screen.library, reason: name); + expect(find.text('Choose a book'), findsOneWidget, reason: name); + for (final story in library.stories) { + expect( + find.byKey(ValueKey('library-book-${story.id}')), + findsOneWidget, + reason: name, + ); + } + expect(tester.takeException(), isNull, reason: name); + + Future write(String file) async { + await tester.runAsync(() async { + final boundary = tester.renderObject( + find.byKey(_screen), + ); + final image = await boundary.toImage(pixelRatio: dpr); + final data = await image.toByteData(format: ui.ImageByteFormat.png); + final target = File('$_output/$file.png'); + await target.parent.create(recursive: true); + await target.writeAsBytes(data!.buffer.asUint8List()); + image.dispose(); + }); + } + + await write(name); + // Every book and Settings must remain reachable by scrolling, including on + // the smallest phone and at 1.5x text. + await tester.ensureVisible(find.text('Settings')); + await tester.pumpAndSettle(); + expect(find.text('Settings').hitTestable(), findsOneWidget, reason: name); + expect(tester.takeException(), isNull, reason: name); + if (captureEnd) await write('$name-end'); + await tester.pumpWidget(const SizedBox()); + } + + testWidgets('phone 360x640', (tester) async { + await capture( + tester, + name: 'shelf-phone-360x640', + logical: const Size(360, 640), + dpr: 2, + captureEnd: true, + ); + }); + + testWidgets('phone 390x844', (tester) async { + await capture( + tester, + name: 'shelf-phone-390x844', + logical: const Size(390, 844), + dpr: 3, + ); + }); + + testWidgets('phone 360x640 at 1.5x text', (tester) async { + await capture( + tester, + name: 'shelf-phone-360x640-text-1.5x', + logical: const Size(360, 640), + dpr: 2, + textScale: 1.5, + ); + }); + + testWidgets('tablet portrait 800x1280', (tester) async { + await capture( + tester, + name: 'shelf-tablet-800x1280', + logical: const Size(800, 1280), + dpr: 1.5, + ); + }); + + testWidgets('tablet landscape 1280x800', (tester) async { + await capture( + tester, + name: 'shelf-tablet-1280x800', + logical: const Size(1280, 800), + dpr: 2, + ); + }); +}