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
export
linux
win
agent_context.rs
audio.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
autocrop-corpus.json
autocrop-playground.html
autocrop.rs
autocrop_lab.rs
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
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
handoff.rs
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
ingest_http.rs
keyframes.rs
lib.rs
live_transcribe.rs
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
page.rs
permissions.rs
phone.rs
pipeline.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
recover.rs
render.rs
retention.rs capture: keep all audio in long captures (#1795) (#1894) 2026-11-16 10:28:54 -05:00
screens.rs
sdk.js
sketch.rs
slim_zip.rs
speech_model.rs
transcribe.rs
web.rs Import scrawl-capture into crates/capture 2026-10-25 19:14:23 -07:00
window_log.rs
zoom.rs