What do you want to do?
5 use cases
-
Transcribe long Japanese recordings with timestamps
Turn a Japanese meeting or interview recording into punctuated text with times, on your own machine.
- Speech CPP
- Software and DevOps
- Intermediate
View prompt
Using the speech.cpp repo (nyosegawa/speech.cpp), install the speech command, then run `speech asr reazonspeech-v2 --timestamps <path-to-wav>` on the target WAVE file. Expected output: Japanese text with timestamps printed to the terminal. Verify that the first line matches the opening words of the audio.
-
Caption the microphone live as you speak
Show a live text transcript of your speech, with silence filtered out by a voice activity model.
- Speech CPP
- Software and DevOps
- Intermediate
View prompt
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.
-
Generate spoken narration audio from a text file
Turn a script into a WAVE file of speech using a local Qwen3-TTS voice.
- Speech CPP
- Software and DevOps
- Beginner
View prompt
Using the nyosegawa/speech.cpp repo, install speech and run `speech tts qwen3-tts-0.6b --voice ryan -o <output>.wav "<script text>"`. Expected output: a WAVE file at the path given, with the script spoken in the ryan voice. Verify that the file plays and matches the script.
-
Run a local OpenAI-style audio API for an app
Point an OpenAI audio client at a local speech server for speech and transcription.
- Speech CPP
- Software and DevOps
- Intermediate
View prompt
In the nyosegawa/speech.cpp repo, install speech, run `speech serve qwen3-tts-0.6b qwen3-asr-0.6b`, and then call the local POST /v1/audio/transcriptions endpoint on 127.0.0.1:8080 with a WAVE file at <path>. Expected output: a JSON or text transcript of the file. Verify that the text matches the audio.
-
Keep speech models loaded in a worker process
Run a long-lived speech worker that a program talks to over JSON Lines.
- Speech CPP
- Software and DevOps
- Advanced
View prompt
Using the nyosegawa/speech.cpp repo, install speech, start `speech worker <model-name>`, and send one JSON Lines request built from docs/worker.md for the input <path-to-wav>. Expected output: one line of text or audio followed by a terminal message on stdout. Verify that the terminal message arrives for every request you send.
How to use Speech CPP
- Check you have what it needs: 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.
- Open nyosegawa/speech.cpp on GitHub and read the README and license.
- Install speech with
curl -fsSL https://raw.githubusercontent.com/nyosegawa/speech.cpp/main/install.sh | shon macOS or Linux, orirm https://raw.githubusercontent.com/nyosegawa/speech.cpp/main/install.ps1 | iexin PowerShell on Windows. - Put the recording in a WAVE file, for example meeting.wav.
- Run
speech asr reazonspeech-v2 --timestamps meeting.wav. The model is fetched the first time. - Check the first few lines of the output against the audio, since the model is for Japanese only.
These steps come from our top use case, Transcribe long Japanese recordings with timestamps, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeSpeech CPP alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers and power users who want local speech synthesis and transcription without Python or CUDA, and who need text-to-speech, transcription or an audio API on their own machine.
- Why it is hot
- LanguageC++
- Sourcegithub.com/nyosegawa/speech.cpp · Back to Hot repos
Requirements
- 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
Maintain Speech CPP? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/nyosegawa-speech-cpp/?ref=badge)
Questions about Speech CPP
What is Speech CPP?
speech.cpp is a C++ command and library on ggml for speech synthesis, speech recognition and voice activity detection, running on the CPU, Metal or Vulkan with an OpenAI-compatible server. It is an open-source project on GitHub: https://github.com/nyosegawa/speech.cpp.
Who is Speech CPP for?
Developers and power users who want local speech synthesis and transcription without Python or CUDA, and who need text-to-speech, transcription or an audio API on their own machine.
What can I do with Speech CPP?
5 use cases so far, for example: Transcribe long Japanese recordings with timestamps; Caption the microphone live as you speak; Generate spoken narration audio from a text file. Each has steps and a copy-paste agent prompt.
What do I need to run Speech CPP?
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).
What are alternatives to Speech CPP?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Speech CPP safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.