hex/ios/HEXKeyboard
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
..
CleanupTagger iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
TypingModel iOS keyboard: Polish autocorrects with Hex's own model, word list and capitals (#2423) 2026-11-22 14:45:55 -05:00
AppleLiveTranscriber.swift iOS keyboard: Show what I say and Type as I speak (words while you dictate) (#2410) 2026-11-22 13:37:37 -05:00
ContainingAppOpener.swift Open Hex from the iPhone keyboard and show live keyboard setup (#599) 2026-10-31 09:56:02 -07:00
HEXKeyboard.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
Info.plist iOS keyboard: Hex's input mode says mul, not en-US, so a French iPhone never takes it for English (#2441) 2026-11-22 18:55:02 -05:00
KeyboardInputView.swift iOS keyboard: stop leaking views, capture web views, and emoji indices across shows (#2352) 2026-11-22 06:45:38 -05:00
KeyboardLiveDictation.swift 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
KeyboardLiveTyping.swift 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
KeyboardLocalDictation.swift refactor(ios): explicit state machines for dictation controller and in-keyboard dictation (#2499) 2026-11-22 23:30:31 -08:00
KeyboardParakeet.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
KeyboardProbeLog.swift iOS keyboard: a notification no longer ends an in-keyboard dictation (#2472) 2026-11-23 00:04:17 -05:00
KeyboardSpeech.swift iOS keyboard: a notification no longer ends an in-keyboard dictation (#2472) 2026-11-23 00:04:17 -05:00
KeyboardViewController.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
KeyboardWebCapture.swift iOS keyboard: ✓ keeps the last words said before the tap (#2538) 2026-11-23 12:48:11 -05:00
ParakeetLiveTranscriber.swift iOS keyboard: Show what I say and Type as I speak (words while you dictate) (#2410) 2026-11-22 13:37:37 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00