LibreAI / Audio / audio.cpp
// audio · 0xShug0/audio.cpp

audio.cpp

A pure C++ ggml inference engine for audio models — TTS, STT, VAD, voice conversion and music.

★ 3.4k stars⑂ 390 forksNOASSERTIONupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

audio.cpp is an open-source audio project by 0xShug0 (0xShug0/audio.cpp on GitHub). It has 3,384 GitHub stars and 390 forks, is released under the NOASSERTION license, and was last updated on GitHub on 8 October 2026.

GitHub stars
3,384
Forks
390
License
NOASSERTION
Last updated on GitHub
8 October 2026
Category
Audio
Listing
Full install guide
// how it works

How it works

  1. Clarify your goal

    Decide the first concrete outcome you want from it, so you can pick the right example, template or mode instead of exploring everything at once.

  2. Get the project

    Clone the repository (or install the published package) and skim its README quick start for the requirements for your platform.

  3. Install and configure

    Run the documented install step and set any required configuration — such as provider keys, data sources or local services — before the first run.

  4. Run your first task

    Execute the smallest documented example end to end, confirm the output is what you expected, then adapt it to your real data or workflow.

// features

Why people love it

All audio tasks in one engine

TTS, STT/ASR, VAD, voice conversion, music generation and speech-to-speech in a single native stack.

Many model families

A large supported-model catalogue (including Qwen3 TTS/ASR and ACE-Step lines) plus community models, in GGUF form.

Every major backend

CUDA, HIP/ROCm, Vulkan, Metal and CPU behind the same CLI and server.

Model manager

audiocpp_model_manager lists and installs models into a models directory.

Server and WebUI

Run audiocpp_server with a WebUI and management interface for shared/team use.

Audio utilities and pipelines

Built-in denoise, enhancement, resampling and STFT/ISTFT utilities, plus experimental JSON pipelines for multi-step workflows.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Get the source so you can inspect, configure and run it locally.

    git clone https://github.com/0xShug0/audio.cpp.git
    cd audio.cpp
  2. Install via Homebrew

    On macOS/Linux, install the prebuilt package from the project's tap.

    brew tap 0xShug0/audio-cpp
    brew trust 0xShug0/audio-cpp
    brew install audio-cpp
  3. Install a model and serve it

    Download a model with the manager, then start the server with its WebUI.

    audiocpp_model_manager install qwen3_asr_0_6b_q8_0 --models-dir models
    audiocpp_server --ui --ui-management --backend cuda  # adjust backend to your hardware
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains audio.cpp?

It is maintained by 0xShug0 on GitHub (0xShug0/audio.cpp), where the source, issues and releases live.

Is it free to use?

No clear licence was identified from the repo metadata or README, so check the repository's licence file before relying on it commercially.

Does it need a paid API key?

No API key at all — models run locally; you download open model weights (each keeping its own licence) with the model manager.

How does it compare to Python audio stacks built per-model (e.g. separate TTS/ASR repos)?

Compared with Python audio stacks built per-model (e.g. separate TTS/ASR repos), audio.cpp's distinguishing focus is: a pure C++ ggml inference engine for audio models — TTS, STT, VAD, voice conversion and music. Pick it when that focus matches your need; the alternative may suit you better if its broader or different scope is the priority.

How do I get started?

Clone https://github.com/0xShug0/audio.cpp (or install its published package), follow the README quick start to install and configure it, then run the smallest documented example — the Run section on this page mirrors those steps.

// keep exploring

Similar tools

Audio

TTS-WebUI

One Gradio + React WebUI for dozens of TTS, voice-cloning and music models — Bark to Kokoro.

★ 3.3k starsMIT
View guide →
Audio

GPA

GPA — one tiny model that does ASR, TTS and voice conversion (General Purpose Audio).

★ 3.1k starsApache-2.0
View guide →
Audio

VieNeu-TTS

Vietnamese TTS with instant voice cloning — on-device, real-time CPU inference, 48 kHz audio

★ 2.8k starsApache-2.0
View guide →
Audio

RVCBench

Benchmark voice-cloning robustness across 32 TTS/VC models.

★ 57 starsCC0-1.0
View guide →
Audio

Amphion

Open research toolkit for text-to-speech, voice conversion, singing voice and text-to-audio generation.

★ 10.3k starsMIT
View guide →
Audio

MARS5-TTS

MARS5 speech model from CAMB.AI — clone a voice from 5 seconds of audio with striking prosody

★ 2.8k starsAGPL-3.0
View guide →
// alternatives

Alternatives in Audio

The most-starred other Audio projects in the LibreAI catalogue — the realistic shortlist if audio.cpp is not the right fit.

Get audio.cpp

Free and open — grab the source, star the repo, and start creating.