Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
audio.cpp is a pure C++ inference engine for audio models built on ggml, and its pitch is aimed squarely at a problem anyone who has tried to run local speech models will recognize: the Python dependency tax. Getting three different TTS models running usually means three Conda environments, three sets of pinned CUDA wheels, and an afternoon of resolving conflicts. Created in June 2026 by ShugoAI and licensed Apache-2.0, the project replaces that with a single native runtime, and it has moved unusually fast — from first release to 35 supported model families and roughly 900 GitHub stars in about a month, with release 0.4 landing on July 24, 2026. ## The Shared-Runtime Argument Most local audio tooling is organized around individual models. Each project ships its own inference path, its own preprocessing, its own vocoder implementation. audio.cpp inverts that: it provides reusable building blocks — attention kernels, sampling, vocoders, a Whisper-style frontend, STFT/ISTFT and resampling utilities — and integrates model families on top of them. The practical consequence is that an optimization to a shared component benefits every family that uses it, and porting a new model is a smaller job than standing up another standalone repository. The surface is deliberately broad. Task coverage spans text-to-speech, voice cloning, voice conversion, speech recognition, forced alignment, voice activity detection, speaker diarization, audio codecs, source separation, music and sound-effect generation, and multi-speaker dialogue TTS. Entry points are a CLI and an HTTP server rather than a Python library, plus a Gradio WebUI contributed by the community for browser-based use. There is also an experimental JSON pipeline format for chaining multi-step workflows. ## Model Coverage The supported table reads like a census of the current open audio landscape. On the TTS side: VoxCPM2-2B at 48 kHz across 30 languages, Qwen3-TTS in four variants, Higgs Audio v3 TTS 4B, Fish Audio S2 Pro, VibeVoice 1.5B and 7B, IndexTTS-2, Supertonic 3, Chatterbox, MOSS-TTS-Nano, Irodori-TTS, PocketTTS, and OmniVoice with its 646-language coverage. ASR includes Nemotron 3.5 ASR Streaming 0.6B, Qwen3-ASR, Voxtral-Mini-4B-Realtime, Higgs Audio v3 STT, VibeVoice ASR, and Citrinet. Beyond speech there is ACE-Step 1.5 and Stable Audio 3 for music and sound effects, HTDemucs and Mel-Band RoFormer for source separation, Silero and MarbleNet for VAD, Sortformer for diarization, and SeedVC and MioCodec for voice conversion. A separate community-models tier holds GLM-TTS, OuteTTS, and VieNeu-TTS under a lighter review bar. ## Performance and GGUF The project's headline claims are performance ones, and they are stated with specifics rather than vague multipliers. Several TTS paths are reported at 1.8x to 8x faster than their Python reference implementations, with end-to-end latency cut 45–85 percent. VibeVoice 1.5B generates a 93.9-minute podcast in 18.2 minutes — about 5.15x real time — at ten diffusion steps without quantization. Supertonic 3 is cited at over 200x real time on CUDA with 47 ms time-to-first-token in streaming mode. On the recognition side, a third-party benchmark on messy French meeting audio found audio.cpp's Nemotron 3.5 path matched other implementations' word error rate in roughly a quarter of the wall time. Every released family supports GGUF loading, and tested Q8 packages run up to 1.53x faster while cutting peak VRAM by around 37 percent on routes such as Higgs Audio, Fish Audio, and Voxtral. That combination — quantized weights plus a native runtime — is what makes 4B-parameter audio models plausible on a single consumer GPU. Builds cover Linux, Windows, and macOS with CUDA, Vulkan, Metal, and CPU backends, and Docker images and a Homebrew tap are available. ## Pros and Cons The strengths are consolidation and speed. One runtime, one build, no Python environment per model, and measured speedups over reference implementations that the project documents with reproducible commands. Apache-2.0 licensing keeps commercial use straightforward, and the release cadence — 0.2 through 0.4 inside a single month — suggests real momentum. The caveats matter too. The project is roughly one month old, so API stability, edge-case handling, and long-term maintenance are unproven; a single-maintainer origin with heavy community contribution is a real bus-factor question. Optimization is explicitly CUDA-focused, so Vulkan, Metal, and CPU paths will not see the same numbers. Model support is uneven in depth — some families have both 16-bit and Q8 GGUF validation, others only Q8 or none, and Sortformer diarization has no GGUF path at all. Building from source requires a modern toolchain (GCC 13+, MSVC 2022+, or Xcode with Metal), which is more friction than pip install. And the performance claims are the project's own; independent verification is limited so far to the one external ASR benchmark. ## Outlook The llama.cpp pattern — a native ggml runtime that eventually becomes the default way people run models locally — has not had a clear equivalent for audio, where the ecosystem remains fragmented across dozens of Python repositories. audio.cpp is the most credible attempt at that consolidation so far, and its speed of model adoption is the strongest evidence: new releases such as Higgs Audio v3 and Voxtral Realtime were integrated within weeks. Whether it holds that position depends on whether contributor momentum survives past the initial burst. ## Conclusion audio.cpp is worth evaluating for anyone deploying local speech or audio models in production, particularly on CUDA hardware where the optimization work is concentrated, and for developers who want to embed audio inference without shipping a Python runtime. Teams that need long-term API stability or that depend on a specific model's full feature surface should verify their family's support depth first — the project is fast-moving and young, and both of those cut in each direction.