hex/crates/capture/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 8cffd94db7
annotate: count words from transcript text when the model has no word timings (#1918)
* annotate: count words from transcript text when the model has no word timings

A model that requests no timestamps (GigaAM v3) returns its text with an
empty word list, so `transcript.words.len()` read 0: lists and JSON said
"0 words" and the capsule called it "no speech". `transcribe::word_count`
counts the model's own word times, or the words in the text when it has
none, and every capture count goes through it (finished captures, the
iPhone and screen paths, replay, and `hex capture list|show`).

* annotate: spread untimed words over the clip for the editor

A model that gives no word times (GigaAM v3) left a capture's words empty,
so a recording or annotation opened from the Captures pane read "Nothing
was said" and its Send used the placeholder text. The words path now
spreads the text over the clip with estimated times, as `hex` does out of
process, and the pane spreads a bundle already on disk the same way.
`word_count` still counts those bundles when they are listed.

* annotate: spread each untimed piece over its own audio

A model with no word times (GigaAM v3) had a multi-minute capture's whole
text spread over the entire clip, so words landed minutes away from where
they were said. Each `audio.wav` piece now spreads its own untimed text
over its own 30 s, on the same offset base as measured words, and the
estimate reaches `transcript()` so it never spreads the text again; a clip
held in memory still spreads over the whole of it.

Also fix the Captures pane's wording: an annotation's times stay on the
capture's clock, not the movie's.
2026-11-16 16:15:24 -05:00
..
capture capture: name why a capture has no screen on linux (#1709) 2026-11-11 20:56:55 -05:00
export Keep a benchmarked Hex's Annotate folders in its own home on Windows; build strobe.json on any commit (#1214) 2026-11-03 16:58:59 -06:00
linux capture: name why a capture has no screen on linux (#1709) 2026-11-11 20:56:55 -05:00
win labs: copy captures as a zip (#1721) 2026-11-12 09:14:48 -05:00
agent_context.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
audio.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
autocrop-corpus.json Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
autocrop-playground.html Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
autocrop.rs Keep autocrop from panicking on any frame or keyframe size (#945) (#1073) 2026-11-02 18:20:48 -05:00
autocrop_lab.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
ax.rs capture: clicks under the capsule's panel count; Paste never goes into Hex 2026-10-26 21:55:14 -07:00
ax_other.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
capture.rs annotate: count words from transcript text when the model has no word timings (#1918) 2026-11-16 16:15:24 -05:00
command_transcriber.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
handoff.rs labs: copy captures as a zip (#1721) 2026-11-12 09:14:48 -05:00
helper.rs fix: find scrawl-helper from test binaries under cargo 1.100's build-dir layout (#1745) 2026-11-12 15:14:58 -05:00
hex.rs Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
hosted_input.rs Annotate: one key, a pen toolbar, no pins or undo (#427) 2026-10-29 21:00:20 -04:00
ingest_http.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
keyframes.rs Fix #1042: annotate tool voice trigger words / language support (#1044) 2026-11-02 11:46:28 -05:00
lib.rs labs: copy captures as a zip (#1721) 2026-11-12 09:14:48 -05:00
live_transcribe.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
log.rs Keep a benchmarked Hex's Annotate folders in its own home on Windows; build strobe.json on any commit (#1214) 2026-11-03 16:58:59 -06:00
mic.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
page.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
permissions.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
phone.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
pipeline.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
recover.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
render.rs Capture: a permission helper instead of a silent failure, and no fake screen (#519) 2026-10-30 15:50:16 -07:00
retention.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
screens.rs Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
sdk.js Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
sketch.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
slim_zip.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
speech_model.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
transcribe.rs annotate: count words from transcript text when the model has no word timings (#1918) 2026-11-16 16:15:24 -05:00
web.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
window_log.rs Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
zoom.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00