Voice Input
CleverKeys can type what you say. Recognition runs on your phone, with a speech model you import once as a voice pack. The keyboard keeps no network permission: audio is used only while you dictate, is never stored and never leaves the device.
Quick Summary
| What | Description |
|---|---|
| Purpose | Dictate into any text field without switching to another keyboard |
| Access | Settings → Voice input (off by default); the Voice input key or the voice_input command |
| Model | A voice pack ZIP from the langpacks release, imported with the file picker |
| Packs | English — Moonshine v2 tiny (streaming), about 45 MB, MIT license; optional English — Moonshine v2 small (streaming), about 142 MB, MIT, more accurate |
| Permission | Microphone, asked for only when you turn voice input on or import a pack |
| Privacy | On device; nothing recorded to storage; no internet permission |
Setting it up
- Download
voicepack-moonshine-v2-tiny-en.zipfrom thelangpacksrelease (Settings → Voice input → Get voice packs opens the page in your browser). - Settings → Voice input → Import voice pack and pick the ZIP. CleverKeys checks the size and SHA-256 of every model file before installing; a damaged download is refused and an older pack is kept until the new one is fully in place.
- Allow microphone access when Android asks. This is the only time it is requested — turning the Enable voice input switch on asks too, if you have not allowed it yet. If you deny it, voice input stays off; if you chose “Don’t allow” twice, the section offers Open app settings.
- Add the key: Settings → Extra Keys → Voice input (on device), or bind the
voice_inputcommand to a short swipe or open it from the command palette.
The pack row shows its name, size, engine, languages and license; License and notice shows the pack’s LICENSE and NOTICE text, and Remove deletes it (at once, without asking).
Tiny or small? Start with tiny. The small pack (voicepack-moonshine-v2-small-en.zip) made about
half the mistakes in our tests (on three phones, 9–10 against 18–19, 12–15 against 28 and 5–6
against 15–17 words wrong out of 228, played through the phone’s speaker),
but it is three times the download and storage, needs about twice the processing per second of speech
and roughly 220–270 MB more memory while you dictate. On a 2022 flagship it kept up comfortably.
Install one of them: with both installed, CleverKeys uses small, and you switch back by removing it.
A choice between installed packs is planned.
Dictating
- Tap the Voice input key. The suggestion bar shows Loading voice model…, then Listening… with the words heard so far.
- Words appear in the field as you speak. The newest words are underlined (they may still change); words the model has confirmed are typed for good.
- Tap the bar or the key again to stop: the rest is typed. ✕ cancels: the underlined words are dropped, the confirmed ones stay.
- Pause between sentences as you normally would: each stretch of speech is typed for good when you pause (about half a second), and listening goes on. A stretch with no pause at all is cut after 20 seconds with the English Moonshine pack, at its quietest moment.
- Listening stops by itself after 10 seconds without speech, after five minutes in any case, and whenever the keyboard closes or you move to another field. If you change fields while words are still underlined, the app you were typing in may keep them as typed text.
- Spacing and capitals follow what is already in the field: a space is added after a word, and the first word is capitalised only at the start of a sentence.
Where it types
| Field | What happens |
|---|---|
| Ordinary text fields | Underlined partial text, confirmed words committed, auto-space after the final text if “auto space after suggestion” is on |
| Terminals (Termux and your custom terminal list) and remote-desktop fields (RustDesk, any blind field) | Only confirmed words are sent, appended at the end — nothing is ever rewritten or deleted there |
| The keyboard’s own search and edit fields (clipboard, emoji, GIF) | Confirmed words go into that field, never to the app behind the panel |
| Password fields | Voice input is refused |
Accessibility
TalkBack announces when listening starts, stops or is cancelled. The words themselves are read by TalkBack as the field changes; partial results are not announced.
Troubleshooting
| Problem | Fix |
|---|---|
| “Voice input is off” | Turn on Settings → Voice input → Enable voice input. Tapping the key a second time opens the section. |
| “No voice pack installed” | Import a pack (above). |
| “Microphone access is blocked” | Allow the microphone for CleverKeys in Android’s app settings. |
| “This voice pack needs a newer version of CleverKeys” | The pack was built for a newer engine or app; update CleverKeys. |
| “The microphone is not available right now” | Another app (a call, a recorder) holds the microphone. |
For developers
The engine is replaceable: stt/ defines an engine-neutral SpeechEngine interface and a
registry keyed by the pack manifest’s engine.id; only stt/moonshine/ knows Moonshine. See
docs/specs/voice-input.md for the pack format (manifest format 1), the import rules and the
modularity contract, and scripts/build_voice_pack.py for how the pack is built and pinned.