fablecut 1.17.0 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/highlights.js ADDED
@@ -0,0 +1,296 @@
1
+ /* FableCut highlights — the best moments of long footage, cut into a short
2
+ edit. Zero dependencies; loaded by the editor as a plain script (global
3
+ `FableCutHighlights`) and required by the MCP server, so the editor,
4
+ fablecut_highlights and Studio pick the same moments.
5
+
6
+ picture: small RGB frames sampled through each source (PIC_FPS a second) →
7
+ how much moves, how sharp it is, how dark. sound: the source's mono sound →
8
+ its loudness every AUD_STEP seconds. shots: sudden picture changes, the cuts
9
+ already in the footage. pick: score every half second (movement, loudness
10
+ against its surroundings, a clear picture), then take the best moments of
11
+ `shot` seconds, never across a cut, apart from each other, until the edit is
12
+ `duration` long; in story order, their ends nudged to quiet points. ops: the
13
+ patch that lays them back to back in a new sequence. */
14
+ (function (root, factory) {
15
+ const api = factory();
16
+ if (typeof module === "object" && module.exports) module.exports = api;
17
+ else root.FableCutHighlights = api;
18
+ })(typeof self !== "undefined" ? self : this, function () {
19
+ "use strict";
20
+
21
+ const PIC_FPS = 2; // frames looked at per second of footage (one score bin each)
22
+ const BIN = 1 / PIC_FPS; // seconds
23
+ const SAMPLE_W = 64; // their width in px
24
+ const AUD_STEP = 0.1; // seconds per loudness reading
25
+ const DEFAULTS = { duration: 30, minShot: 1.5, maxShot: 4 };
26
+ const LIMITS = { duration: [5, 600], shot: [0.5, 20] };
27
+ const MAX_SOURCE_SECS = 60 * 60; // footage looked at per call
28
+ const clamp = (v, a, b) => (v < a ? a : v > b ? b : v);
29
+ const round3 = (v) => Math.round(v * 1000) / 1000;
30
+ const median = (a) => { if (!a.length) return 0; const s = [...a].sort((x, y) => x - y); return s[s.length >> 1]; };
31
+ const quantile = (a, q) => { if (!a.length) return 0; const s = [...a].sort((x, y) => x - y); return s[Math.min(s.length - 1, Math.floor(q * s.length))]; };
32
+
33
+ /** Checked options: duration (seconds of edit), shot (seconds per moment; default from duration). */
34
+ function options(o = {}) {
35
+ const duration = o.duration == null ? DEFAULTS.duration : +o.duration;
36
+ if (!(duration >= LIMITS.duration[0] && duration <= LIMITS.duration[1]))
37
+ throw new Error(`duration must be ${LIMITS.duration[0]}…${LIMITS.duration[1]} seconds`);
38
+ let shot = o.shot == null ? clamp(duration / 8, DEFAULTS.minShot, DEFAULTS.maxShot) : +o.shot;
39
+ if (!(shot >= LIMITS.shot[0] && shot <= LIMITS.shot[1])) throw new Error(`shot must be ${LIMITS.shot[0]}…${LIMITS.shot[1]} seconds`);
40
+ shot = Math.min(shot, duration);
41
+ return { duration, shot };
42
+ }
43
+
44
+ /* ── reading the footage ── */
45
+
46
+ /** The picture, a frame at a time: push(rgb) for each frame (w×h×3 bytes, PIC_FPS a
47
+ * second); `motion`, `sharp` and `dark` grow by one value per frame (0…255 scales). */
48
+ function picture(w, h) {
49
+ const n = w * h, motion = [], sharp = [], dark = [];
50
+ let prev = null;
51
+ return {
52
+ motion, sharp, dark,
53
+ push(rgb) {
54
+ const y = new Float32Array(n);
55
+ let sum = 0;
56
+ for (let i = 0, j = 0; i < n; i++, j += 3) { y[i] = 0.2126 * rgb[j] + 0.7152 * rgb[j + 1] + 0.0722 * rgb[j + 2]; sum += y[i]; }
57
+ let g = 0, d = 0;
58
+ for (let r = 0; r < h - 1; r++) for (let c = 0; c < w - 1; c++) {
59
+ const i = r * w + c;
60
+ g += Math.abs(y[i + 1] - y[i]) + Math.abs(y[i + w] - y[i]);
61
+ }
62
+ if (prev) for (let i = 0; i < n; i++) d += Math.abs(y[i] - prev[i]);
63
+ motion.push(prev ? d / n : 0);
64
+ sharp.push(g / ((w - 1) * (h - 1) * 2));
65
+ dark.push(sum / n);
66
+ prev = y;
67
+ },
68
+ };
69
+ }
70
+
71
+ /** The sound, a chunk at a time: push(mono Float32Array) at `rate`; `db` grows by one
72
+ * RMS reading (dBFS, -90 floor) per AUD_STEP. */
73
+ function sound(rate) {
74
+ const step = Math.max(1, Math.round(rate * AUD_STEP)), db = [];
75
+ let acc = 0, k = 0;
76
+ return {
77
+ db,
78
+ push(x) {
79
+ for (let i = 0; i < x.length; i++) {
80
+ acc += x[i] * x[i];
81
+ if (++k === step) { db.push(Math.max(-90, 10 * Math.log10(acc / step + 1e-12))); acc = 0; k = 0; }
82
+ }
83
+ },
84
+ };
85
+ }
86
+
87
+ /** Cuts already in the footage: bins (seconds) where the picture changes all at once,
88
+ * far beyond the movement around them. */
89
+ function shots(motion) {
90
+ const cuts = [];
91
+ for (let i = 1; i < motion.length; i++) {
92
+ const around = motion.slice(Math.max(1, i - 10), i).concat(motion.slice(i + 1, i + 11));
93
+ if (motion[i] > Math.max(28, 4 * median(around) + 6)) cuts.push(round3(i * BIN));
94
+ }
95
+ return cuts;
96
+ }
97
+
98
+ /* ── scoring and picking ── */
99
+
100
+ /** Per-bin scores (0…1) for each source {pic: picture(), aud: sound() | null}; normalised
101
+ * across all of them so a busy source outranks a quiet one. Also each source's cuts. */
102
+ function score(sources) {
103
+ const cutsOf = sources.map((s) => shots(s.pic.motion));
104
+ // movement without the cut spikes, which are edits, not action
105
+ const moves = sources.map((s, k) => {
106
+ const at = new Set(cutsOf[k].map((t) => Math.round(t / BIN)));
107
+ return s.pic.motion.map((m, i) => (at.has(i) ? (s.pic.motion[i - 1] || 0) : m));
108
+ });
109
+ const mHi = Math.max(1, quantile(moves.flat(), 0.9));
110
+ const sHi = Math.max(1, quantile(sources.flatMap((s) => s.pic.sharp), 0.75));
111
+ return sources.map((s, k) => {
112
+ const n = s.pic.motion.length, db = s.aud && s.aud.db.length ? s.aud.db : null;
113
+ const loudAt = (i) => {
114
+ if (!db) return null;
115
+ const a = Math.floor((i * BIN) / AUD_STEP), b = Math.max(a + 1, Math.floor(((i + 1) * BIN) / AUD_STEP));
116
+ let v = -90;
117
+ for (let j = a; j < b && j < db.length; j++) v = Math.max(v, db[j]);
118
+ return v;
119
+ };
120
+ const loud = Array.from({ length: n }, (_, i) => loudAt(i));
121
+ const out = new Float32Array(n);
122
+ for (let i = 0; i < n; i++) {
123
+ const m = clamp(moves[k][i] / mHi, 0, 1);
124
+ const v = clamp(s.pic.sharp[i] / sHi, 0, 1);
125
+ const blank = s.pic.dark[i] < 16 || s.pic.sharp[i] < 0.6; // black, or a flat colour
126
+ let x;
127
+ if (loud[i] != null) {
128
+ // louder than the 20 s around it: a cheer, a laugh, a hit
129
+ const ctx = median(loud.slice(Math.max(0, i - 20), i + 21).filter((d) => d != null));
130
+ const lift = clamp((loud[i] - ctx) / 12, 0, 1), level = clamp((loud[i] + 50) / 40, 0, 1);
131
+ x = 0.45 * m + 0.25 * lift + 0.15 * level + 0.15 * v;
132
+ } else x = 0.75 * m + 0.25 * v;
133
+ out[i] = blank ? x * 0.2 : x;
134
+ }
135
+ return { scores: out, cuts: cutsOf[k] };
136
+ });
137
+ }
138
+
139
+ /** The best moments: sources [{id, len, pic, aud, speed?}] (len: seconds of footage looked at,
140
+ * times from its start; speed: how fast the clip plays it, default 1) → [{source, from, to, len,
141
+ * score, why}] in story order: from / to in seconds of footage, len in seconds of edit, `duration`
142
+ * seconds of edit in all (the last ones trimmed to fit). */
143
+ function pick(sources, opts = {}) {
144
+ const { duration, shot } = options(opts);
145
+ const scored = score(sources);
146
+ const gap = Math.max(1, shot * 0.5);
147
+ const cands = [];
148
+ sources.forEach((s, k) => {
149
+ const sc = scored[k].scores, n = sc.length, sp = speedOfSource(s);
150
+ const len = Math.min(s.len, n * BIN);
151
+ const bounds = [0, ...scored[k].cuts, len];
152
+ for (let b = 0; b + 1 < bounds.length; b++) {
153
+ const a0 = bounds[b], a1 = bounds[b + 1];
154
+ const L = Math.min(shot * sp, a1 - a0); // `shot` seconds of edit, in seconds of footage
155
+ if (L / sp < Math.min(1, shot)) continue; // a flash between two cuts
156
+ for (let t = a0; t + L <= a1 + 1e-6; t += BIN) {
157
+ const i0 = Math.round(t / BIN), i1 = Math.max(i0 + 1, Math.round((t + L) / BIN));
158
+ let sum = 0;
159
+ for (let i = i0; i < i1 && i < n; i++) sum += sc[i];
160
+ cands.push({ k, shotNo: b, from: t, to: t + L, score: sum / (i1 - i0), lo: a0, hi: a1 });
161
+ }
162
+ }
163
+ });
164
+ const chosen = [], perShot = new Map();
165
+ let total = 0;
166
+ while (total < duration - 1e-6) {
167
+ let best = null, bestV = -1;
168
+ for (const c of cands) {
169
+ if (c.used) continue;
170
+ if (chosen.some((p) => p.k === c.k && c.from < p.to + gap && c.to > p.from - gap)) { c.used = true; continue; }
171
+ const v = c.score * Math.pow(0.8, perShot.get(c.k + ":" + c.shotNo) || 0); // variety: a shot already used counts less
172
+ if (v > bestV) { bestV = v; best = c; }
173
+ }
174
+ if (!best) break;
175
+ best.used = true;
176
+ chosen.push(best);
177
+ perShot.set(best.k + ":" + best.shotNo, (perShot.get(best.k + ":" + best.shotNo) || 0) + 1);
178
+ total += (best.to - best.from) / speedOfSource(sources[best.k]);
179
+ }
180
+ chosen.sort((a, b) => a.k - b.k || a.from - b.from);
181
+ // ends on a quiet moment nearby (not through a word or a hit), never past a cut
182
+ for (const c of chosen) {
183
+ const db = sources[c.k].aud && sources[c.k].aud.db;
184
+ if (!db || !db.length) continue;
185
+ const quiet = (lo, hi, t) => {
186
+ let bestT = t, bestD = Infinity;
187
+ for (let u = lo; u <= hi + 1e-6; u += AUD_STEP) {
188
+ const d = db[Math.round(u / AUD_STEP)];
189
+ if (d != null && d < bestD - 1) { bestD = d; bestT = u; }
190
+ }
191
+ return bestT;
192
+ };
193
+ // the start moves either way and the moment keeps its length; the end only moves later, so the
194
+ // edit never comes out short (the trim below takes any extra off the last moments)
195
+ const L = c.to - c.from;
196
+ c.from = quiet(Math.max(c.lo, c.from - 0.3), Math.max(c.lo, Math.min(c.from + 0.3, c.hi - L)), c.from);
197
+ c.to = c.from + L;
198
+ c.to = quiet(c.to, Math.min(c.hi, c.to + 0.3), c.to);
199
+ }
200
+ // exactly `duration`: trim the moments from the end
201
+ // (in seconds of edit: a clip at 2× spends two seconds of footage on each)
202
+ let over = chosen.reduce((n, c) => n + (c.to - c.from) / speedOfSource(sources[c.k]), 0) - duration;
203
+ for (let i = chosen.length - 1; i >= 0 && over > 1e-3; i--) {
204
+ const c = chosen[i], sp = speedOfSource(sources[c.k]), cut = Math.min(over, (c.to - c.from) / sp - 0.5);
205
+ if (cut > 0) { c.to -= cut * sp; over -= cut; }
206
+ }
207
+ return chosen.map((c) => {
208
+ const sc = scored[c.k].scores, i0 = Math.round(c.from / BIN), i1 = Math.max(i0 + 1, Math.round(c.to / BIN));
209
+ const moves = sources[c.k].pic.motion.slice(i0, i1);
210
+ const busy = moves.length && median(moves) > quantile(sources[c.k].pic.motion, 0.6);
211
+ // loud: well above the footage's usual level somewhere in the moment
212
+ const db = sources[c.k].aud && sources[c.k].aud.db;
213
+ const peak = db ? Math.max(-90, ...db.slice(Math.floor(c.from / AUD_STEP), Math.ceil(c.to / AUD_STEP))) : -90;
214
+ const loud = !!(db && db.length && peak > median(db) + 8);
215
+ return { source: sources[c.k].id, from: round3(c.from), to: round3(c.to), len: round3((c.to - c.from) / speedOfSource(sources[c.k])),
216
+ score: Math.round(c.score * 100) / 100,
217
+ why: busy && loud ? "movement and sound" : busy ? "movement" : loud ? "sound" : "a clear picture", bins: sc.slice(i0, i1).length };
218
+ }).map(({ bins, ...p }) => p);
219
+ }
220
+
221
+ /* ── the edit ── */
222
+
223
+ /** Clips this tool reads: video clips with a picture, at a steady speed. `ids` limits them. */
224
+ function sourcesOf(doc, ids = null) {
225
+ const take = [], skip = [];
226
+ const off = new Set(Array.isArray(doc.disabledTracks) ? doc.disabledTracks : []);
227
+ for (const c of doc.clips || []) {
228
+ if (ids && !ids.includes(c.id)) continue;
229
+ const why = c.kind !== "video" ? (ids ? `${/^[aeiou]/.test(c.kind) ? "an" : "a"} ${c.kind} clip` : null)
230
+ : c.disabled || off.has(c.track) ? "disabled"
231
+ : Array.isArray(c.keyframes?.speed) && c.keyframes.speed.length ? "a speed ramp"
232
+ : null;
233
+ if (c.kind !== "video" && !ids) continue;
234
+ if (why) skip.push({ id: c.id, why }); else take.push(c);
235
+ }
236
+ return { take, skip };
237
+ }
238
+
239
+ const speedOf = (c) => clamp(+(c.props && c.props.speed) || 1, 0.1, 8);
240
+ function speedOfSource(s) { return clamp(+s.speed || 1, 0.1, 8); }
241
+
242
+ /** The patch: a new sequence (`seq`: {name, width?, height?, fps?}) holding each moment as
243
+ * a clip back to back on V1, with the sound clips linked to its source alongside.
244
+ * `picks` from pick(), whose `source` is a clip id in `doc` or "media:<id>" for a whole file
245
+ * (its `from` / `to` in seconds from the start of that clip's window). */
246
+ function ops(doc, picks, seq) {
247
+ const out = [{ op: "addSequence", from: "empty", name: seq.name, ...(seq.width ? { width: seq.width, height: seq.height } : {}),
248
+ ...(seq.fps ? { fps: seq.fps } : {}), open: true }];
249
+ const clips = doc.clips || [];
250
+ // ids no clip in the project has, in any sequence or composition (a second run gets hl1_2, …)
251
+ const used = new Set([...clips, ...(doc.sequences || []).flatMap((q) => q.clips || []), ...(doc.comps || []).flatMap((q) => q.clips || [])].map((c) => c.id));
252
+ let run = 1;
253
+ const tag = () => (run === 1 ? "" : `_${run}`);
254
+ while (picks.some((_, n) => [...used].some((u) => u === `hl${n + 1}${tag()}` || u.startsWith(`hl${n + 1}${tag()}a`)))) run++;
255
+ let at = 0;
256
+ picks.forEach((p, n) => {
257
+ const id = `hl${n + 1}${tag()}`;
258
+ let c = clips.find((x) => x.id === p.source);
259
+ if (!c && String(p.source).startsWith("media:")) {
260
+ const m = (doc.media || []).find((x) => x.id === p.source.slice(6));
261
+ if (m) c = { id, mediaId: m.id, kind: "video", track: "V1", start: 0, in: 0, duration: m.duration, props: {} };
262
+ }
263
+ if (!c) return;
264
+ const sp = speedOf(c), len = (p.to - p.from) / sp;
265
+ const props = { ...(c.props || {}) };
266
+ delete props.reframe; // the new canvas gets framed anew
267
+ const partners = clips.filter((x) => x !== c && x.id !== c.id && x.kind === "audio" &&
268
+ ((c.linkGroup && x.linkGroup === c.linkGroup) || (c.linkedId && c.linkedId === x.id) || x.linkedId === c.id));
269
+ const group = partners.length ? `hl_${n + 1}` : null;
270
+ out.push({ op: "addClip", clip: { id, mediaId: c.mediaId, kind: "video", track: "V1", start: round3(at),
271
+ in: round3((c.in || 0) + p.from), duration: round3(len), props, ...(group ? { linkGroup: group } : {}) } });
272
+ partners.forEach((x, j) => {
273
+ // the same moment of the sound: through where the two sit on the timeline
274
+ const t0 = c.start + p.from / sp, xs = speedOf(x);
275
+ const xin = (x.in || 0) + (t0 - x.start) * xs;
276
+ if (xin < (x.in || 0) - 1e-3 || t0 + len > x.start + x.duration + 1e-3) return;
277
+ out.push({ op: "addClip", clip: { id: `${id}a${j + 1}`, mediaId: x.mediaId, kind: "audio", track: x.track, start: round3(at),
278
+ in: round3(xin), duration: round3(len), props: { ...(x.props || {}) }, linkGroup: group } });
279
+ });
280
+ at += len;
281
+ });
282
+ return out;
283
+ }
284
+
285
+ /** The reply: what was picked, and why. */
286
+ function describe(picks, { duration, seqName, made = false } = {}) {
287
+ const clock = (t) => `${Math.floor(t / 60)}:${(t % 60).toFixed(1).padStart(4, "0")}`;
288
+ const lenOf = (p) => (p.len != null ? p.len : p.to - p.from);
289
+ const total = picks.reduce((n, p) => n + lenOf(p), 0);
290
+ const lines = picks.map((p, i) => ` ${i + 1}. ${p.source} ${clock(p.from)}–${clock(p.to)} (${lenOf(p).toFixed(1)} s, ${p.why}, score ${p.score})`);
291
+ return (made ? `New sequence "${seqName}", opened: ` : "") + `${picks.length} moment${picks.length === 1 ? "" : "s"}, ${total.toFixed(1)} s` +
292
+ (duration && total < duration - 0.5 ? ` (asked for ${duration} s: the footage has no more distinct moments)` : "") + ":\n" + lines.join("\n");
293
+ }
294
+
295
+ return { PIC_FPS, BIN, SAMPLE_W, AUD_STEP, DEFAULTS, LIMITS, MAX_SOURCE_SECS, options, picture, sound, shots, score, pick, sourcesOf, ops, describe };
296
+ });
package/index.html CHANGED
@@ -30,6 +30,9 @@
30
30
  <button type="button" class="btn tiny" data-track-size="l" title="Large tracks">L</button>
31
31
  </span>
32
32
  </span>
33
+ <button class="btn ghost" id="btnSearch" title="Search actions, panels, settings, media and shortcuts (Ctrl/Cmd+K)" aria-label="Search">
34
+ <svg class="ico" viewBox="0 0 16 16" width="15" height="15" aria-hidden="true"><circle cx="7" cy="7" r="4.6" fill="none" stroke="currentColor" stroke-width="1.6"/><path d="M10.4 10.4L14 14" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/></svg>
35
+ </button>
33
36
  <button class="btn ghost" id="btnSettings" title="Settings" aria-label="Settings">
34
37
  <svg class="ico" viewBox="0 0 16 16" width="15" height="15" aria-hidden="true">
35
38
  <path fill="currentColor" fill-rule="evenodd" d="M6.71 2.81L6.88.94L9.12.94L9.29 2.81L10.76 3.41L12.2 2.22L13.78 3.8L12.59 5.24L13.19 6.71L15.06 6.88L15.06 9.12L13.19 9.29L12.59 10.76L13.78 12.2L12.2 13.78L10.76 12.59L9.29 13.19L9.12 15.06L6.88 15.06L6.71 13.19L5.24 12.59L3.8 13.78L2.22 12.2L3.41 10.76L2.81 9.29L.94 9.12L.94 6.88L2.81 6.71L3.41 5.24L2.22 3.8L3.8 2.22L5.24 3.41Z M5.15 8a2.85 2.85 0 1 0 5.7 0a2.85 2.85 0 1 0-5.7 0"/>
@@ -303,6 +306,11 @@
303
306
  <div class="dialog export-dialog" role="dialog" aria-modal="true" aria-labelledby="exportSetupTitle">
304
307
  <h2 id="exportSetupTitle">Export</h2>
305
308
  <div class="export-body">
309
+ <div class="export-profile-row" id="exportNameRow">
310
+ <label class="export-profile-label" for="exportName">Save as</label>
311
+ <input type="text" class="export-name" id="exportName" maxlength="120" spellcheck="false" aria-describedby="exportNameNote">
312
+ <p class="dim export-profile-note" id="exportNameNote"></p>
313
+ </div>
306
314
  <div class="export-profile-row" id="exportRangeRow">
307
315
  <label class="export-profile-label" for="exportRangeSel">Range</label>
308
316
  <select class="export-profile-sel" id="exportRangeSel" aria-describedby="exportRangeNote">
@@ -443,6 +451,7 @@
443
451
  <div class="export-track-warn hidden" id="exportTrackWarn" role="status"></div>
444
452
  </div>
445
453
  <div class="dialog-actions">
454
+ <label class="export-skip" title="The Export button then renders straight away with these settings. Settings brings this dialog back."><input type="checkbox" id="exportSkipAsk"> Don't ask again</label>
446
455
  <button class="btn dlv-queue-open" id="btnOpenQueue" title="Show the export queue">Queue</button>
447
456
  <button class="btn" id="btnCancelSetup">Cancel</button>
448
457
  <button class="btn" id="btnBatchExport" title="Queue every checked batch output and start">Export checked</button>
@@ -491,10 +500,30 @@
491
500
  </span>
492
501
  </label>
493
502
  </div>
503
+ <div class="settings-section">
504
+ <h3>Export</h3>
505
+ <label class="settings-row">
506
+ <input type="checkbox" id="setExportAsk">
507
+ <span>
508
+ <span class="settings-label">Ask before exporting</span>
509
+ <span class="settings-hint">Export opens a dialog to name the file and check the settings before it renders. Off: Export renders straight away with the last settings. On by default.</span>
510
+ </span>
511
+ </label>
512
+ </div>
494
513
  <div class="dialog-actions"><button class="btn primary" id="btnCloseSettings">Close</button></div>
495
514
  </div>
496
515
  </div>
497
516
 
517
+ <!-- ══════════ COMMAND SEARCH (Ctrl/Cmd+K) ══════════ -->
518
+ <div class="overlay hidden" id="cmdkOverlay">
519
+ <div class="cmdk" role="dialog" aria-modal="true" aria-label="Search">
520
+ <input type="text" id="cmdkInput" class="cmdk-input" placeholder="Search actions, panels, settings, media, shortcuts…" autocomplete="off" spellcheck="false"
521
+ role="combobox" aria-expanded="true" aria-controls="cmdkList" aria-autocomplete="list">
522
+ <ul class="cmdk-list" id="cmdkList" role="listbox"></ul>
523
+ <div class="cmdk-foot dim"><kbd>↑</kbd> <kbd>↓</kbd> to move · <kbd>Enter</kbd> to run · <kbd>Esc</kbd> to close</div>
524
+ </div>
525
+ </div>
526
+
498
527
  <!-- ══════════ HELP OVERLAY ══════════ -->
499
528
  <div class="overlay hidden" id="helpOverlay">
500
529
  <div class="dialog help">
@@ -506,6 +535,7 @@
506
535
  <section class="keys-sec">
507
536
  <h3>Playback</h3>
508
537
  <table class="keys">
538
+ <tr><td><kbd>Ctrl</kbd>/<kbd>⌘</kbd>+<kbd>K</kbd></td><td>Search: actions, panels, settings, Inspector sections, media, clips and shortcuts</td></tr>
509
539
  <tr><td><kbd>Space</kbd></td><td>Play / pause (Source or Program — whichever is active)</td></tr>
510
540
  <tr><td><kbd>J</kbd> <kbd>K</kbd> <kbd>L</kbd></td><td>Shuttle — <kbd>L</kbd> plays forward, <kbd>J</kbd> in reverse (silent); tap again for 1.5× · 2× · 4×, the other key turns around; <kbd>K</kbd> stops</td></tr>
511
541
  <tr><td><kbd>K</kbd>+<kbd>J</kbd> / <kbd>K</kbd>+<kbd>L</kbd></td><td>Hold <kbd>K</kbd> and tap to step one frame; hold both to crawl at ¼ speed</td></tr>
@@ -676,11 +706,14 @@
676
706
  <script src="loudness.js"></script>
677
707
  <script src="ducking.js"></script>
678
708
  <script src="silence.js"></script>
709
+ <script src="beats.js"></script>
679
710
  <script src="transcribe.js"></script>
680
711
  <script src="captions.js"></script>
681
712
  <script src="audio-fx.js"></script>
682
713
  <script src="mask.js"></script>
683
714
  <script src="tracker.js"></script>
715
+ <script src="reframe.js"></script>
716
+ <script src="highlights.js"></script>
684
717
  <script src="motion.js"></script>
685
718
  <script src="color.js"></script>
686
719
  <script src="edit-ops.js"></script>
@@ -688,6 +721,7 @@
688
721
  <script src="sequences.js"></script>
689
722
  <script src="templates.js"></script>
690
723
  <script src="media-lib.js"></script>
724
+ <script src="command-search.js"></script>
691
725
  <script src="delivery.js"></script>
692
726
  <script src="mp4-demux.js"></script>
693
727
  <script src="app.js"></script>