Authorization notice. Speech CPP is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Remote script. The install step runs a script fetched from the internet, so review it before running.
Who it is forA presenter, streamer or developer building a voice conversation who needs on-screen or in-app captions from a microphone.
The problemLive captions usually depend on a cloud service, and raw microphone audio includes silences that waste recognition time.
The outcomeA terminal that writes the transcript as you talk, with the utterance still being said shown in grey.
What you need first
- macOS on Apple silicon, Linux on x86-64, or Windows x64
- Internet access to fetch the installer and models from Hugging Face the first time
- Free disk space for the model files, for example 1.21 GB for qwen3-tts-0.6b
- A terminal (PowerShell on Windows)
- A microphone, for live transcription
Steps
- Install speech using the installer for your platform from the install section of the README.
- Run
speech asr reazonspeech-v2 --vad silero-vad --liveto transcribe the microphone. - Speak a sentence and watch the grey text update until the utterance ends.
- Stop the command when finished with Ctrl+C (inferred).
Prompt for your agent
In the nyosegawa/speech.cpp repo, after installing speech, run `speech asr reazonspeech-v2 --vad silero-vad --live` and speak one Japanese sentence into the microphone. Expected output: the sentence appears as text in the terminal after you finish it. Verify that the words shown match what was said.
Caveat. The README describes live transcription for the command line, and the microphone must be available to the terminal session on your machine.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for nyosegawa/speech.cpp and "Caption the microphone live as you speak"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer