Module style

Source
Expand description

Style summary: a deterministic Markdown description of how a project was edited — statistics an AI (or a human) can turn into a reusable style guide: format, duration, tracks, cut cadence (count, mean/median clip length, shortest/longest), transitions used (kinds, durations), effects (kinds + typical params), text styles (fonts, sizes, colours, outlines/shadows), colour labels, retimes, masks and node graphs, audio (levels, fades, music/SFX split by length), subtitles usage, the planner (done/todo), and the free-form notes verbatim. Also served by the MCP tool style.summary and exported via File ▸ Export Style Summary (.md).

Constants§

SFX_MAX 🔒
Threshold between “short SFX” and “music/long” audio clips (matches the library filter).

Functions§

counted 🔒
Sorted (item, count) pairs from an iterator of strings (deterministic listing of duplicates).
hex 🔒
median 🔒
num 🔒
“8”, “0.5”, “1.25” — up to two decimals, trailing zeros trimmed.
plan_walk 🔒
style_summary
text_desc 🔒
One-line description of a text style (“"Segoe UI" 72 px #FFFFFF, bold, outline 3 px #000000, shadow”).