hex/src/dictation
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 492d8c28c4
Labs: voice isolation for dictation on macOS and iOS (#2425) (#2429)
* Labs: voice isolation for dictation on macOS and iOS (#2425)

* voice isolation: harden the macOS bridge and keep the fallback raw

Adds an NSLock gate around the tap and configuration observer with a clean teardown, an Objective-C @try/@catch guard for AVAudioEngine exceptions, format and device verification, a channel-0 Float32 tap, configuration-change reporting, and a remembered raw fallback per microphone. Fixes the iOS category comparison for voiceChat's implicit hands-free Bluetooth and rewords the experiment's copy.

* voice isolation: reopen on engine reconfiguration without falling back

Reports an AVAudioEngineConfigurationChange only after start, and only while the engine has stopped, as its own reopen marker so RecoveringAudioInput does not remember it as a voice-processing failure; more than three reopens in 30 s still fall back to the raw stream. Forgets a remembered fallback when the resolved device changes, reports both AudioDeviceIDs on a device mismatch, fixes the bridge comments, and documents Bluetooth call-profile and configuration-change behavior on macOS and iOS.

* voice isolation: fix the Windows open-by-name call

open_matching still passed five arguments to open_device after voice_processing_fallback was added, which only Windows compiles, so the Windows clippy job failed. It opens by name without voice processing, so both voice-processing arguments stay false.
2026-11-22 17:00:41 -05:00
..
processor labs: dictation style (polished, casual, notes, verbatim) for desktop dictation (#2326) 2026-11-22 01:55:42 -05:00
style labs: dictation style (polished, casual, notes, verbatim) for desktop dictation (#2326) 2026-11-22 01:55:42 -05:00
vocabulary vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
apple_cleanup.rs Windows: dictation defaults to Left Alt alone (#2292) 2026-11-21 21:38:29 -05:00
audio.rs Labs: voice isolation for dictation on macOS and iOS (#2425) (#2429) 2026-11-22 17:00:41 -05:00
browser_page.rs windows: name the website of browser meeting calls (#2079) 2026-11-20 15:03:41 -05:00
caret_prompt.rs feat(labs): let the rewrite read text around the cursor (macOS) (#1815) 2026-11-13 23:36:24 -05:00
caret_text.rs feat(labs): let the rewrite read text around the cursor (macOS) (#1815) 2026-11-13 23:36:24 -05:00
config.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
context.rs windows: name the website of browser meeting calls (#2079) 2026-11-20 15:03:41 -05:00
corpus_tests.rs Fold dictation_* into dictation/ 2026-10-31 15:13:56 -07:00
correction_terms.rs Labs: learn from corrections (macOS) (#2149) 2026-11-21 02:28:29 -05:00
correction_watch.rs Labs: learn from corrections (macOS) (#2149) 2026-11-21 02:28:29 -05:00
diagnostics.rs refactor: derive hand-kept lists and literals from one source (t1539) (#1749) 2026-11-12 11:58:11 -08:00
filler_words.rs only remove filler words from english dictation (#1492) 2026-11-07 11:26:30 -05:00
indicator.rs Sounds: one General row, volume in the sheet (#2318) 2026-11-21 21:07:32 -08:00
live_text.rs feat(windows): /dictations records with Hex's own microphone, and a dictation can stream its live text (#1474) 2026-11-07 16:21:52 -06:00
modes.rs labs: dictation style (polished, casual, notes, verbatim) for desktop dictation (#2326) 2026-11-22 01:55:42 -05:00
neutral_voice.rs labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
numbers.rs labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
paste_last.rs labs: signature line for dictation (#2319) 2026-11-22 00:47:26 -05:00
paste_target.rs windows: don't paste into the desktop or taskbar, keep the dictation on the clipboard (#2016) 2026-11-19 19:10:26 -05:00
processor.rs labs: dictation style (polished, casual, notes, verbatim) for desktop dictation (#2326) 2026-11-22 01:55:42 -05:00
release_tail.rs dictation: keep the live stream inside the clip and stop calling a feedback tone a lost opening (#1911) 2026-11-16 14:36:17 -05:00
screen_vocabulary.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
service.rs fix: query recording owners and unify transformation startup (t1549) (#1760) 2026-11-12 17:56:25 -08:00
signature.rs labs: signature line for dictation (#2319) 2026-11-22 00:47:26 -05:00
spoken_formatting.rs Fix #1167: dictation text post-processing (spoken quote/unquote keywords) (#1169) 2026-11-03 12:27:07 -05:00
spoken_symbols.rs Fix #1040: spoken symbols and spoken formatting commands (#1041) 2026-11-02 11:39:43 -05:00
stop_phrase.rs labs: stop phrase finishes a hands-free dictation (#1886) 2026-11-16 06:19:37 -05:00
style.rs labs: dictation style (polished, casual, notes, verbatim) for desktop dictation (#2326) 2026-11-22 01:55:42 -05:00
tail_tests.rs Fold dictation_* into dictation/ 2026-10-31 15:13:56 -07:00
text_replacements.rs fix(transcription): drop Russian Whisper credits and correct vocabulary spellings (#2290) 2026-11-21 19:53:07 -05:00
vocabulary.rs fix(transcription): drop Russian Whisper credits and correct vocabulary spellings (#2290) 2026-11-21 19:53:07 -05:00
voice_prompt.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
yolo_mode.rs fix(modes): match a picked app under its Finder name too (#2001) 2026-11-19 09:34:33 -08:00