audio.cpp is a pure C++ inference engine for audio models, powered by ggml, covering TTS, ASR, VAD, voice conversion, music generation and more with no Python dependency; built-in WebUI and Server API, backends across CUDA / HIP / Vulkan / Metal / WebGPU / SYCL / CPU, current version v0.9.5, 149 model families and 250+ variants.
- v0.9.6
- Published at
- 5d ago
- 4,410
- Stars
- 120,620
- Download
- Synced at
- 4d ago
Latest release
v0.9.6Nov 21, 2026, 06:12 PMREADME
Project Overview
Deploying speech models locally usually means wrestling with Python environments and scattered conversion scripts — audio.cpp folds the whole audio inference chain into a pure C++ engine: a ggml runtime that loads GGUF / Safetensors weights directly, called through a unified CLI and Server API. Version v0.9.5 covers 149 audio model families and 250+ variants, spanning TTS, ASR, music generation, voice cloning, conversion, separation and speech analysis.
| Item | Value |
|---|---|
| Platform | Linux / Windows / macOS / browser (WebGPU + WASM) |
| Language | Pure C++ (ggml runtime) |
| Version | v0.9.5 |
| UI | CLI + built-in WebUI (SvelteKit) |
One binary runs the whole TTS / ASR / music pipeline — no Python required.
Core Capabilities
- Unified model library: 149 families share one CLI and Server API; weights packaged as GGUF with LoRA adapters and Q8 quants
- Multi-backend: CUDA, HIP/ROCm, Vulkan, Metal, WebGPU (incl. browser WASM), SYCL (Intel GPUs) and CPU behind one interface, with ARM NEON acceleration and Rockchip RKNN component execution
- Built-in WebUI: Studio for generation and cloning, Arena for model comparison, TTS app with reusable speakers and passage editing
- Performance: selected TTS paths run 1.8-8x faster than Python; Q8 packages deliver up to 1.53x speedup and 37% lower peak VRAM versus 16-bit weights
- Streaming: reusable sessions, cached graphs and batched offline inference; streaming TTS latency ranks near the top of public leaderboards
Integration
Start the server with WebUI and model management in one line:
audiocpp_server --ui --ui-management --backend cuda- macOS via Homebrew:
brew install 0xShug0/audio-cpp/audio-cpp - Releases carry per-platform prebuilt packages plus downloadable C API libraries
- The Server exposes a unified inference interface for embedding into other programs
Use Cases
- Creators running local TTS / voice cloning
- Developers embedding speech into apps (C API / Server API)
- Desktop and embedded deployments where Python is off the table
Requirements
| Item | Requirement |
|---|---|
| Architecture | x86_64, ARM (NEON), selected Rockchip models (RKNN) |
| GPU | NVIDIA (CUDA) / AMD (HIP) / Apple (Metal) / Intel (SYCL) / generic Vulkan |
| No GPU | CPU path works; speed depends on the model |
Notes
- Model licenses are separate: weights keep their original release license, independent of audio.cpp itself — check per family for commercial use
- Backend coverage varies: newer backends like SYCL and WebGPU are validated per model; see the repo's validation reports
- Quantization trade-off: Q8 is faster and lighter but differs from 16-bit in audio quality — A/B test important output