audio.cpp (0xShug0/audio.cpp) is an all-in-one, pure C++ inference engine for audio models, powered by ggml — the same approach as llama.cpp, but for audio. It replaces the usual Python stack (dozens of packages, Conda environments, dependency conflicts) with one shared native runtime that runs TTS, voice cloning, voice conversion, ASR, diarization, VAD, source separation, forced alignment, codec, music generation, and more. No Python dependency is required for inference.
audiocpp_cli --task tts|asr|vc|vad|diar|sep|gen|align|... --model <path> --backend cpu|cuda|vulkan|metal|hip — for example TTS with --task tts --family pocket_tts --text "Hello" --out out.wav, transcription with --task asr --family qwen3_asr --audio sample.wav, plus batch folders (--batch-text-dir, --batch-audio-dir), long-audio chunking, and JSON pipelines (--pipeline) for multi-step workflows like redubbing or narration.audiocpp_server --config server.json exposes /v1/audio/speech (TTS), /v1/audio/transcriptions (STT), /v1/models, and /health, with lazy model loading for production-style services.audiocpp_server --ui ships an embedded SvelteKit interface compiled into the binary — TTS, cloning, ASR, generation, conversion, separation, VAD, and diarization from the browser with microphone recording and near-live ASR, no Python and no separate frontend files.brew install audio-cpp), official CUDA and CPU Docker images for CLI and server, and a model manager (tools/model_manager_v2.py) that downloads ready-to-use GGUF packages.