Resume
← All work
Tools · Audio drama · Designed and built

A script editor that thinks in scenes, lines and cues.

Audio-drama scripts aren’t documents. They’re a sequence of dialogue, sound effects, music and narration that a production team has to cast, record and mix. I designed and built an editor around that structure, and shipped it as a package other apps can embed.

Try the live demo
Runs in your browser
Read case study
4 min read
Flow Editor showing an audio-drama script with scene, SFX, music, narration and dialogue blocks
Live demo

Try it. Everything works.

Click any line to edit. Press / to change a block’s type, ⌘↵ for a new block, ⌘⇧↑↓ to move one. Switch to Preview to see the formatted script.

Live demo · Flow EditorOpen full screen ↗
Flow Editor with a sample audio-drama scriptOpen the live demo. Best on a laptop.

Problem

Writers drafting audio drama in generic docs lose the structure production depends on: who speaks, in what tone, and where every sound and music cue lands.

Approach

Typed blocks with their own fields, keyboard-first editing, and exports that production can use directly, built on a core that doesn’t depend on any UI.

What exists

A working editor and an embeddable React package. Markdown round-trips cleanly and CSV columns are swappable for different production sheets.

TypeProduct tool, working prototype
RoleDesign and front-end, solo
StackTypeScript core · React · Tailwind
Year2026
ProofEmbeddable package · Live demoTry it in the browser →
Origin. The editor started inside Flow, the internal workspace I designed for Pocket FM’s audio-drama production. I pulled it out as a standalone package so any team could drop it into their own tools. The demo uses an original sample script.
01The problem

Production reads a script differently from a writer.

A writer sees a story. The production team sees a list of jobs: lines to cast and record, effects to source, music to cue, notes that must never reach a voice actor. In a plain document all of that lives in formatting conventions that break as soon as the file is copied, translated or pasted into a spreadsheet.

The brief I set was narrow on purpose: a dead-simple editor where every line knows what it is, that writers can use fast, and that hands production clean, structured output.

02Typed blocks

Every line knows what it is.

The script is a stack of six block types: scene, dialogue, SFX, music, narration and note. Each type has its own fields. A dialogue block carries the character, a tone direction and the line, so casting and recording can work from the data rather than parsing prose.

Each block keeps a permanent ID. That costs nothing today and makes a future “what changed between drafts” view possible without guessing which line moved where.

Decision: structure first, with an escape hatch. Writers who just want to pour out prose can switch to Narration mode and write freely, then come back to blocks.
Preview mode showing the formatted script with scene heading, cues and dialogue
Preview. The same blocks rendered as a readable script, with cues and character names set the way a recording team reads them.
03Keyboard-first

Writing shouldn’t need the mouse.

Writers stay in flow on the keyboard, so every structural action has a shortcut. A slash menu changes a block’s type in place. Blocks move up and down with arrow keys, multi-select works with shift and marquee, and undo groups a burst of typing into one step instead of a hundred.

Slash menu turning a block into scene, dialogue, SFX, music, narration or note
Slash menu. Change any block’s type without leaving the line.
Two blocks selected together with drag handles visible
Multi-select. Move a group of lines together. Dragging uses a handle so it never fights text selection.
04Headless core

Designed to live inside other products.

The block model, reordering and exports live in a pure TypeScript core with no React, so a server can export a script without rendering anything. The React editor sits on top as a controlled component. The host app owns saving; the editor stores nothing itself.

Markdown export is round-trippable, so a script can leave the tool and come back without loss. Notes stay out of Markdown by default because they’re for the team, not the cast. CSV columns are swappable, because a dubbing sheet, a translation sheet and a re-import file each need different columns.

Decision: ship a package, not an app. A writing surface becomes useful when it sits inside the tools a team already runs, so the API mattered as much as the UI.
Export options for Markdown and CSV
Reflection

Small tool, opinionated model.

The model is the design

Most of the work was deciding what a block is. Once that was right, the interface, exports and shortcuts followed from it.

Build to learn

Designing in code exposed problems a mockup hides: undo granularity, drag vs text selection, what happens to notes on export.

What’s next

A draft diff built on the stable block IDs, and comments anchored to lines for writer and editor review.

Try it

The full-screen demo runs locally in your browser. Edits stay on your device.