Open History to see the last commit
1# Voice input
2
3Dictate into the composer instead of typing. The transcript lands in your draft
4for review, and only sending the message sends anything to an agent. Dictation
5also works in citation comments, diff and file annotations, pull request
6comments, replies, and review summaries, and in the desktop app's browser
7annotation editor.
8
9On iPhone and Android, voice input transcribes on the device by default. To opt in
10to a named environment on that phone, open **Settings → Voice → Transcribe on**. See
11[Voice input on mobile](./composer.md#voice-input-on-mobile).
12
13## Choose where audio goes
14
15On web and desktop, transcription runs on one of your T3 Code environments.
16Nothing is sent until you choose one: open **Settings → Voice** and set
17**Send microphone audio to** the environment that should transcribe for you.
18Microphone audio recorded on this device is sent to that environment over your
19authenticated connection, transcribed there, and discarded. The choice is saved
20on this device only, so every computer and browser you use asks for it once.
21Set it back to **Off** at any time; a recording in progress is discarded.
22
23If the chosen environment goes offline, voice input waits for it. T3 Code never
24substitutes another environment.
25
26## Set up a model
27
28The first time you dictate, T3 Code offers to download the recommended English
29model to the chosen environment. In **Settings → Voice → Transcription**, select
30the languages you dictate in to compare models that support all of them.
31Accuracy shows how often the model got words or characters wrong in each
32language; speed is the time to transcribe 30 seconds on a reference GPU. Choose
33**All languages** to browse the full catalog. Filtering does not switch your model.
34
35**Advanced** controls GPU or CPU use and when an idle model is unloaded. With hardware set to
36**Auto**, a recording that fails on the GPU is retried once on that same
37environment's CPU; a GPU you picked yourself reports the error instead. Nothing
38is ever retried on another environment. Models marked **Live preview** show
39text while you speak. Other models can process long recordings in chunks at pauses
40while you record; models with built-in long-form support transcribe when you stop.
41
42## Dictate
43
44Press the microphone in the composer, or `mod+shift+d` (`mod` is Command on
45macOS and Ctrl elsewhere). Press again, or the check mark, to finish; `Esc`
46discards the recording and leaves your draft unchanged. Recordings last up to
47five minutes. Text is inserted at the cursor or replaces the selection you had
48when recording started, and the editor is read-only while dictation runs.
49
50Pressing Send while dictating finishes the recording and sends the draft once
51the transcript has been inserted. Cancelling also cancels that queued send. In
52the other editors, Save, Comment, Reply, Submit review, or Attach works the
53same way, and the shortcut targets the editor that has focus, or the composer
54when none does. In the desktop browser's annotation editor, the microphone and
55the shortcut work while the page has focus; the page you are annotating never
56sees the recording, which runs in T3 Code itself.
57
58**Dictation shortcut** in Voice settings picks how the keybinding behaves:
59**Auto** tap-toggles or records while held, **Hold** records only while the keys
60are down, and **Toggle** always needs a second press. Change the chord itself in
61[Keybindings settings](./keybindings.md).
62
63## Improve recognition
64
65- **Language** picks what you speak. **Auto** lets a multilingual model detect
66 it. Models that translate offer **Translate to English**.
67- **Dictionary** holds names and terms the model should get right. Add an alias
68 under a term when transcription keeps producing a particular misspelling.
69 Your dictionary is saved on this device. The name of the project you dictate
70 in is sent along as a hint.
71- **Project dictionary** is vocabulary saved with a project on its environment,
72 so everyone who dictates in that project gets the same spellings. Pick the
73 project at the top of Settings to edit it; with an environment selected, the
74 entries apply to every project there. Project spellings win when they overlap
75 your personal dictionary. Each recording carries up to 100 entries from the
76 two combined.
77- **Silence filtering** is on by default. Your chosen environment skips non-speech
78 audio before transcription. Turn it off to keep those sections. Filtering happens
79 after upload: it does not grant permission to send audio or reduce how much is sent.
80- **Remove filler words** drops hesitation sounds from finished transcripts.
81
82Language and these preferences travel with each recording to the chosen
83environment; nothing else about the project is sent.
84
85## Clean up transcripts with a provider
86
87**Transcript cleanup** is a separate choice and is off by default. When on, the
88finished transcript and up to 1,024 characters each from before, inside, and
89after your selection are sent to the
90text generation provider configured on the draft's environment, which fixes
91punctuation, numbers, and spoken corrections such as "make it 42, sorry, 24".
92Depending on the provider, that can involve an external service. Audio is never
93sent to it. Use the built-in instructions or write your own, press **Skip**
94while cleanup runs to insert the raw transcript, and if cleanup fails the raw
95transcript is inserted.
96
97Cleanup uses the environment's text generation model unless you pick a
98**Cleanup model** for that environment, for example a cheaper or faster one.
99
100If cleanup misses the way you correct yourself, set a **Correction cue**: the
101word or phrase you say to flag a correction, such as "scratch that". Cleanup
102applies the correction only where the context shows one and drops the cue, and
103the model hears the cue as a dictionary hint.
104
105## Test and troubleshoot
106
107In **Settings → Voice**, **Test microphone** beside the microphone selector
108records up to ten seconds and plays it back in your browser;
109the audio stays on this device and is never transcribed, so silent playback
110points at the microphone. **Test model** on the selected model shows a transcript using the
111same environment, language, and dictionary as the composer, but skips transcript
112cleanup even when it is on, so you see what the model heard. Browser recording
113needs HTTPS or localhost and microphone permission; for a remote server over
114plain HTTP, use the desktop app. If the selected microphone is missing, choose
115another or the system default.