hex/android/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 4febf41167
Android dictation: audio past 30 s is decoded with timestamps, so no words are lost at the seam (#2755)
What: hexspeech.cpp turns Whisper's timestamps on for audio longer than 30 s
(params.no_timestamps = count <= 30 s); up to 30 s nothing changes. The
benchmark mirrors it (native.cpp's HEX_APP), long.tsv gains four clips past
30 s (en/es/de/no, 35-47 s, sentences repeating), and score.py fails a clip
past 30 s that loses an utterance. READMEs say why.

Why: the 2409 gate lost words on long dictations (37 s English: "Please send
the revised invoice before" at the 30 s seam; 36 s Spanish: 5 of 14
sentences). With no_timestamps, whisper.cpp moves on a whole 30 s per window
(seek_delta = 100*WHISPER_CHUNK_SIZE), cutting mid-sentence, and a window
full of speech to its edge also leaves whole sentences out. With timestamps,
each window ends at the last finished segment and the next starts there.
Host harness (the app's decode, small q5_1), 32 clips of 36-58 s in the ten
dictation languages: 27 of 457 sentences lost today, 1 with timestamps (a
sentence said twice in a row, which every setting drops); WER 10.2% -> 3.9%;
total decode 156.3 s -> 157.8 s. Clips of 26-29.5 s lost nothing either way.

Verified on basebook: the benchmark's long-clip check passes on this branch
(59/1263 errors at both windows, every utterance past 30 s kept) and fails
on dev's decode (7 of 15 German utterances lost); ./gradlew
testDebugUnitTest assembleDebug green (236 tests). Not run on a device.

Removed behaviour: audio past 30 s no longer decodes without timestamps.
2026-11-24 15:04:57 -05:00
..
src Android dictation: audio past 30 s is decoded with timestamps, so no words are lost at the seam (#2755) 2026-11-24 15:04:57 -05:00
build.gradle.kts Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00
proguard-rules.pro Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00