hex/ios/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 3ef0bdd4c4
iOS keyboard: ✓ keeps the last words said before the tap (#2538)
The in-keyboard capture page hands audio over in 4,096-sample ScriptProcessor
buffers (85 ms at 48 kHz), and hexStop() disconnected the processor at once,
dropping the part-filled buffer: every in-keyboard dictation ended 43-117 ms
(median about 80) before the finger lifted from ✓, with Live words on or off.
A tap while the last syllable still sounds could lose its end (TestFlight
build 147 and App Store 1.0.4 have the same page; Dax: "if i hit the check
before it turns white, it doesn't go through").

hexStop() now waits for the processor's next buffer (at most 85 ms, 250 ms
cap for a context that went quiet) before it lets the microphone go; a
hexStart() meanwhile waits for the stop to end, and a second stop (the
keyboard hiding) stops at once. Nothing else changes: the spinner in ✓'s spot
shows that much later. docs/dictation.md says what ✓ keeps and that the live
words are never what goes in.

Verified on the iOS 27.2 simulator (iPhone 17 Pro, Release, a recorded voice
whose samples say when they played, a 300 ms stand-in final pass, Studio load
average 50-80): audio missing before the touch-up went from 43-117 ms (12
runs, dev ae1cdf71) to -33..+31 ms, median 0 (12 runs), with no gap inside any
recording; tap to text in the field 340 -> 360 ms (medians). No test: the page
lives in the keyboard target, which HEXMobileTests doesn't build.
2026-11-23 12:48:11 -05:00
..
acknowledgements.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
build-and-test.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
dictation.md iOS keyboard: ✓ keeps the last words said before the tap (#2538) 2026-11-23 12:48:11 -05:00
keyboard.md iOS keyboard: every point of the emoji panel takes touches, so a glide can be caught (#2547) 2026-11-23 12:45:02 -05:00
onboarding-and-setup.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
releasing.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
settings-and-home.md iOS Settings: Home refreshes again while it shows, Into field falls back to the words over the keys, the speech model card lands on its row, docs match (#2471) 2026-11-22 23:00:12 -05:00
typing-logs.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
verification.md iOS Settings: Home refreshes again while it shows, Into field falls back to the words over the keys, the speech model card lands on its row, docs match (#2471) 2026-11-22 23:00:12 -05:00