A ggml-based C++ runtime for speech, music, and audio tasks with CLI, server API, and built-in WebUI—no Python required.
Overview
Audio.cpp is a C++ audio inference framework built on ggml for running many speech and audio model families on local hardware. It targets end-to-end execution for text-to-speech, speech recognition, voice conversion, music generation, separation, alignment, and related tasks through one shared stack instead of separate Python environments per model.
The project lists well over a hundred model families and hundreds of variants accessible via a common command-line interface and server API. A built-in WebUI supports studio generation, model comparison in an arena view, voice libraries, and narration workflows. Performance features include reusable sessions, cached graphs, batching, streaming paths, optional quantization packages, and hardware backends such as CUDA, HIP, Vulkan, Metal, WebGPU, SYCL, and CPU.
It runs on Windows, Linux, and macOS with support for NVIDIA, AMD, Apple Silicon, and CPU-only setups, and documents browser inference via WASM and WebGPU. Validation tooling can compare outputs to Python reference implementations. Integrations mentioned include use in Unsloth Studio and deployment paths for some ASR models through the FunASR platform.
An Audio Model Architecture Atlas is offered to compare how many audio models are structured. Community and core models are distinguished in the model catalog, with licenses following each upstream weight release.
Key features
- Many audio model families supported
- CLI and server API interfaces
- Built-in WebUI with arena and studio
- ggml multi-backend GPU acceleration
- Streaming TTS and ASR paths
- LoRA adapter loading on supported models
- WASM and WebGPU browser validation
- Voice library and dubbing workflows
Use cases
- Local text-to-speech without Python
- Offline speech recognition pipelines
- Voice cloning and conversion on device
- Self-hosted audio model server with WebUI