Skip to content
LCYLYMPublic

About

A small, local-first Windows voice input experiment with SenseVoice and optional conservative Qwen cleanup.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

QuietType

A small, local-first voice input experiment for Windows.

English | 简体中文

Platform Privacy License

QuietType turns one key into a short voice-input loop: press Right Alt, speak, and put the local transcript at the current cursor. After you import the models, audio capture, transcription, optional light cleanup, clipboard output, and the paste attempt stay on the device.

Important

This is an early technical experiment, not a production-ready dictation app. The public tree builds and its portable core is tested, but the exact release still needs validation on a physical Windows machine. See Verification status.

Why I built it

Most speech tools begin with a chat window or a cloud account. I wanted the opposite: voice should behave like a keyboard, remain available inside whatever application I am already using, and leave as little data behind as practical.

That led to four design choices:

  • Input, not a destination. QuietType returns text to the focused app instead of becoming another place where notes accumulate.
  • Local by default. There is no intended cloud ASR, cloud LLM, account, telemetry, updater, or crash-upload path.
  • Raw text remains first class. Optional cleanup is constrained and can be skipped whenever identifiers or exact wording matter.
  • Evidence over polish. The repository distinguishes what has been built and tested from what still needs a real Windows observation.

Interaction

  1. Import the required models in Settings.
  2. Tap exclusive Right Alt to start, then tap again to finish; or hold it while speaking and release to finish.
  3. QuietType transcribes locally, writes the result to the clipboard, and tries to paste it at the focused cursor.
  4. Press Escape to cancel. If automatic paste fails, use Ctrl+V.

Audio and transcript text are intended to be memory-only. QuietType does not intentionally create dictation history, audio files, or transcript logs.

How it fits together

Right Alt -> WASAPI capture -> Silero VAD -> SenseVoice
                                           |
                                           +-> raw transcript
                                           |
                                           +-> optional local GGUF cleanup
                                                        |
                                                        v
                                              clipboard -> focused app

The native Windows shell owns input, audio, clipboard, and paste behavior. The host-independent C++ core contains the testable state and text-safety logic.

Model setup

Models are neither committed nor bundled. Download them separately, verify the upstream license and hash, then drag model files or directories onto the settings window.

Required:

  • SenseVoice int8 package: model.int8.onnx and tokens.txt
  • Silero VAD: silero_vad.onnx

Optional:

  • A compatible Qwen GGUF model for punctuation, filler removal, and obvious duplicate cleanup

By default, recognized files are copied into %LOCALAPPDATA%\\QuietType\\models. Use original files stores absolute paths instead; moving those files later will break the configuration.

The app copies its build-recorded download URLs to the clipboard rather than fetching models itself. Recheck the publisher, model terms, and hashes at the upstream source before downloading. Model licenses are separate from this repository's source license.

Build and test

The dependency and cross-build scripts target an Apple-silicon macOS developer machine and keep downloaded build dependencies outside version control:

scripts/fetch-deps.sh
scripts/build-windows.sh
scripts/package-windows.sh

Run the host-independent core tests on macOS or Linux:

cmake -S . -B build/host -DQUIETTYPE_BUILD_TESTS=ON
cmake --build build/host --parallel
ctest --test-dir build/host --output-on-failure

Run the clean public-tree guardrail:

scripts/check-public-tree.sh

It scans for common private paths, credentials, model weights, recordings, build output, and release archives, then builds and tests the portable core. It does not replace a secrets scan, legal review, or physical Windows validation.

Verification status

Surface Current evidence
Portable C++ core CMake build and test pass on macOS
Windows x64 executable Cross-build from Apple silicon succeeds
Public-tree hygiene scripts/check-public-tree.sh passes
WASAPI, Right Alt, paste, model import Earlier 0.1.1 build reported working on physical Windows; current public tree needs regression
Qwen light cleanup CLI-output framing bug fixed and covered by a synthetic regression test; current Windows model run still needs regression
Install/uninstall, sleep/wake, mic changes Not yet verified on physical Windows
Performance and security-product behavior Not yet verified on physical Windows

ACCEPTANCE.md is the release checklist and keeps build evidence separate from target-device observations. A successful build is not evidence that the desktop workflow works on an ordinary workstation.

The Qwen regression was caused by treating the whole llama-cli stdout stream (banner, echoed prompt, response, timing, and exit message) as model text. The runtime now extracts only the framed assistant response, disables one-shot warmup and timing output, allows a realistic cold-start budget, and preserves a specific failure reason when it falls back to raw transcription.

Privacy and security

  • The executable has no intended telemetry, update, crash-upload, cloud ASR, or cloud LLM path. This is source-level intent, not a formal security audit.
  • Clipboard content is marked to avoid clipboard history and cloud clipboard where Windows honors those formats.
  • Model files are untrusted input. Import only files from publishers you trust and verify a supplied SHA-256 sidecar.
  • Do not dictate passwords, tokens, recovery codes, or regulated content until the target-machine behavior and your organization policy have been checked.

See SECURITY.md for reporting and examples/public-dictation.md for intentionally non-sensitive test phrases.

Roadmap

  • Complete the physical Windows acceptance matrix.
  • Publish a reproducible, signed Windows package only after that matrix passes.
  • Add opt-in device diagnostics that never include audio or transcript content.
  • Improve model import feedback and paste compatibility without adding a cloud dependency.

Contributing

Small, testable changes are welcome. Please read CONTRIBUTING.md before opening a pull request, especially the privacy and Windows-evidence requirements.

QuietType source is available under the MIT License. Third-party runtime notices are retained in THIRD_PARTY_NOTICES.md and third_party/; model weights keep their own upstream terms.

About

A small, local-first Windows voice input experiment with SenseVoice and optional conservative Qwen cleanup.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages