speech.cpp

Speech synthesis, recognition and diarization in C++ on ggml

Image 1 of 2: Speak tab of speech serve with a spoken sentence, its waveform and the time to first audio

One speech command and one libspeech C API over CPU, Metal and Vulkan. It speaks text, transcribes files and the microphone, finds speakers, removes noise and serves OpenAI's audio API and Realtime transcription, fetching each model by name as one GGUF file.

  • 0.029 sFirst audio, M5
  • 0.024 sFirst audio, RTX 2080

Trade-offs

  • One executable, with no Python and no CUDA. There is nothing else to install, and models come as one GGUF file with its codec, in sizes around 1 GB.
  • speech serve answers OpenAI's audio API. An OpenAI client works by changing its base URL, within what that API exposes.

Q&A2

Every stage of every model is compared with the model's official implementation, from the same inputs.

Reviews

Loading reviews

    More in C++

    See all 44 →
    • OmarollPhoto and video viewer and library for Omarchy that follows the desktop theme
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • gnss_gpuGPU GNSS positioning for urban canyons with particle filters and ray-traced NLOS
    • impLLM inference server built only for NVIDIA Blackwell GPUs
    • OmafilesKeyboard-first multi-panel file manager for Omarchy on Qt6

    More in Speech

    See all 21 →
    • OpenSubsSubtitle generator that transcribes and burns captions with no video upload
    • Wyoming Voice MatchVoice-verifying ASR proxy for Home Assistant satellites
    • OpenASROn-device speech to text across many model families through one runtime
    • VoiceFlowPush-to-talk Whisper dictation and meeting recorder for Windows and Linux
    • VibeVoiceFusionMulti-speaker voice generation, transcription and LoRA training on a home GPU
    • DettoOn-device meeting capture and dictation for macOS, written to a vault

    More in Local inference

    See all 43 →
    • GlydLossless compression that keeps bf16 weights and KV cache smaller on the GPU
    • AnubisNative macOS app for benchmarking local LLMs on Apple Silicon
    • CarWatchA car as a chat agent: Raspberry Pi 5 running a local 35B model in the car
    • AlzeoOne-command installer that turns a DGX Spark or GB10 box into an AI server
    • NightRunLocal LLM runtime that boots from USB with no conventional operating system