VoiceStudio — audio.cpp Engines (Breeze-TTS-2, dots.tts, Fish Audio Drama 3)¶
audio.cpp is a pure-C++ ggml audio
inference framework with prebuilt binaries for Windows, macOS, and Linux and
no Python dependency. VoiceStudio discovers the compute providers compiled
into the installed binary and selects the best available device. VoiceStudio drives its
audiocpp_server over loopback HTTP. Three engines share one runtime:
audiocpp— thebreeze_ttsfamily: Breeze-TTS-2 (BreezeBlue, 3B params, English + Chinese, voice clone + voice design + voice direction, 24 kHz). Research/non-commercial weights.audiocpp-dots— thedots_ttsfamily: dots.tts SOAR (multilingual zero-shot voice cloning, Apache-2.0). See dots.tts.audiocpp-drama3— thefish_drama3family: Fish Audio Drama 3 (35B-A3B MoE, multilingual voice cloning, 44.1 kHz). Built with Fish Audio. See Fish Audio Drama 3.
Opt-in, and never a default. Select
audiocpp,audiocpp-dotsoraudiocpp-drama3explicitly in Model Catalogue → Engines (orOMNIVOICE_TTS_BACKEND).
License — read before enabling¶
- audio.cpp code: Apache-2.0.
- Breeze-TTS-2 weights (upstream
BreezeBlue/Breeze-TTS-2and theaudio-cpp/audio.cpp-ggufGGUF repack): research and non-commercial use only under the BreezeBlue Research and Non-Commercial License. Self-hosted outputs inherit the restriction; a BreezeBlue paid subscription covers hosted-platform outputs only, not this engine. - Fish Audio Drama 3 weights (upstream
fishaudio/drama-3and theJmica/Drama-3-GGUFrepack): the Fish Audio Community License v1.0. Free for research and non-commercial use; commercial use only while your annual revenue is under USD 500,000; never as a hosted API, model-hosting or text-to-speech service. You may not imitate an identifiable person's voice without their consent, impersonate anyone, remove its watermark, or use its output to train other speech models. VoiceStudio asks you to accept these terms before the first Drama 3 generation. Built with Fish Audio. It is available in the free app only, not in VoiceStudio Pro.
Platform support¶
| Host | Binary | Compute |
|---|---|---|
| Windows x64 | CPU, Vulkan, CUDA 12.4/13.3 prebuilts | CPU, Vulkan, CUDA |
| Linux x64 | CPU and Vulkan prebuilts | CPU, Vulkan; CUDA/ROCm from a self-build |
| macOS arm64 | upstream Metal prebuilt | Metal + CPU |
| macOS x64 | upstream metal archive (Metal disabled by upstream) |
CPU |
| Linux aarch64 | none upstream | unavailable in v1 |
VoiceStudio runs audiocpp_server --list-devices once per installed binary,
prefers CUDA, ROCm, Metal, then a discrete Vulkan GPU, and keeps CPU as a safe
fallback. Device numbers are local to each backend registry. The Q8_0 GGUF is
approximately 4.73 GiB, plus runtime memory.
Allow about 6 GB of dedicated VRAM for CUDA, HIP, or a discrete GPU exposed through Vulkan. Metal and Vulkan integrated GPUs use unified-memory handling instead of that dedicated-VRAM floor.
Install¶
On a supported desktop, install the model from Settings → Models, then use Install on the audio.cpp engine row (the TTS rows and the Sortformer diarisation row install the same shared runtime). VoiceStudio fetches the pinned archive, verifies its published size and SHA-256, rejects unsafe archive paths, probes its device list, and installs it under the update-surviving app-data engine directory. The action is explicit; generation never downloads or updates executable code.
Updating from v0.7.4. VoiceStudio now pins audio.cpp v0.9.4. An app-managed v0.7.4 runtime keeps running Breeze-TTS-2, dots.tts and Sortformer until you click Install again to fetch v0.9.4; installed models are reused as they are, with no re-download. If the new runtime fails its device self-check on your computer, the install stops with an error that says so and the earlier runtime stays in use.
For a user-managed runtime:
- Download the v0.9.4 prebuilt for your platform from
audio.cpp releases
and extract it. Use the Vulkan archive on Windows or Linux for broad GPU
support, the CPU archive when Vulkan is unavailable, or the matching CUDA
archive on Windows for NVIDIA. A Windows CUDA install needs both the
bin-…-cuda…and matchingcudart-…-cuda…archives extracted into the same directory, as required by upstream. Linux archives do not preserve the executable bit, so runchmod +x audiocpp_serverafter extracting one.
Verify the archive before extracting it. The pinned SHA-256 checksums are:
| Archive | SHA-256 |
|---|---|
| `audio-v0.9.4-bin-windows-x64-cpu-portable.zip` | `9c11a03b7ea21979792fde05f2f355ea1fc0da26ccd8f675dd61c628250ae76f` |
| `audio-v0.9.4-bin-windows-x64-vulkan.zip` | `804f70cf47c7b8450ef37e76fc04ecee71728345061f6e749a412932dd7db7a7` |
| `audio-v0.9.4-bin-windows-x64-cuda12.4.zip` | `e85d829e121a424a960d9ad293536b7ada74ea845b1c12fcf2991ec09a224d1e` |
| `audio-v0.9.4-cudart-windows-x64-cuda12.4.zip` | `efb58667b95bcb32e89ddf87811664e6ffdced3fe7015ddcc077599ed5f44bb2` |
| `audio-v0.9.4-bin-windows-x64-cuda13.3.zip` | `b05eceb8aa0a29e618b3af87e0c2fd0fb665034d181096eb868ed856bf656b8b` |
| `audio-v0.9.4-cudart-windows-x64-cuda13.3.zip` | `b93fa9b9cb875ccea1aa81cb09fd6b02c9afda133de73bd119a73ff5d8db6d96` |
| `audio-v0.9.4-bin-ubuntu-x64-cpu.tar.gz` | `13529ee5366daeb13546190ba25e8118f46bece9c8811e7eb113c41bd121a41a` |
| `audio-v0.9.4-bin-ubuntu-x64-vulkan.tar.gz` | `e5d8af8eb6500d87eb2ef94c1bc52be7dfc63b26012ff9abf0adce6f1f960208` |
| `audio-v0.9.4-bin-macos-arm64-metal.tar.gz` | `5722c4f33e56114345965c0dee472a9239218f7499ace6393bba6a951a41b86a` |
| `audio-v0.9.4-bin-macos-x64-metal.tar.gz` | `be2a35aa004cc3d63978c77723ee3f2805129eedf726172c45145ef114664451` |
Run sha256sum <archive> on Linux, shasum -a 256 <archive> on macOS,
or Get-FileHash <archive> -Algorithm SHA256 in PowerShell and compare the
complete result with the table.
2. Set OMNIVOICE_AUDIOCPP_BIN to the audiocpp_server binary
(audiocpp_server.exe on Windows):
# macOS / Linux
echo 'export OMNIVOICE_AUDIOCPP_BIN=$HOME/apps/audio.cpp/audiocpp_server' >> ~/.zshrc
source ~/.zshrc
Alternatively set OMNIVOICE_AUDIOCPP_DIR to the directory containing it.
3. Restart VoiceStudio, open Model Catalogue (TTS tab → the engine's Weights), find
Breeze-TTS-2 Q8_0 for audio.cpp, review its research/non-commercial
license note, and click Install. Generation never starts this ~4.73 GiB
download automatically.
4. Pick audiocpp in Model Catalogue (TTS tab → Use). The server starts
lazily on first generate (server.json + server.log live under the app
data audiocpp/ directory).
To check that the stock release binary loads an installed model, run
uv run --no-sync python scripts/smoke_audiocpp.py audiocpp (or
audiocpp-dots). It uses only the runtime and model already installed, never
downloads anything, generates one sentence and prints where the WAV was written.
dots.tts¶
audiocpp-dots runs dots.tts SOAR on the same runtime, so it works on Windows
as well as macOS and Linux — unlike the Python dots.tts engine,
which has no Windows install path (#2665).
- Install the runtime as above.
- In Model Catalogue (TTS tab → audio.cpp · dots.tts → Weights), install
audio.cpp dots.tts SOAR (Q8_0) (~2.96 GB, from the same pinned
audio-cpp/audio.cpp-ggufrevision as Breeze-TTS-2). It is a separate package: installing or uninstalling it never touches Breeze-TTS-2 or Sortformer, and the reverse. - Pick
audiocpp-dotsand clone a voice: a reference clip plus its transcript (the transcript is optional but improves the match). It reads the language from the text. There is no voice design mode, and it uses its own tuned guidance (1.2) rather than the shared guidance slider.
It runs its own server on port 17861 with server.json and server.log
under the app data audiocpp-dots/ directory.
Fish Audio Drama 3¶
audiocpp-drama3 runs Fish Audio Drama 3 on the same runtime. It needs the
audio.cpp v0.9.4 runtime (an older app-managed runtime reports that it must be
reinstalled) and a GPU with about 24 GB of memory; its VRAM floor is 20 GB.
- Install the runtime as above.
- In Model Catalogue, install audio.cpp Fish Audio Drama 3 (Q3_K_S)
(~18.9 GB from the pinned
Jmica/Drama-3-GGUFrevision). It is a separate package and never touches Breeze-TTS-2, dots.tts or Sortformer. - Pick
audiocpp-drama3, accept its licence when asked, and clone a voice from a reference clip. It has no voice design mode, and it does not use the step or guidance sliders.
It runs its own server on port 17862 (OMNIVOICE_AUDIOCPP_DRAMA3_PORT
overrides it), with its files under the app data audiocpp-drama3/ directory.
Voice modes¶
Breeze-TTS-2 (audiocpp). All three go through the one speech endpoint — reference presence selects:
- Clone:
ref_audio+ref_text(exact transcript, as upstream). - Direction:
ref_audio+ref_text+instruct(e.g. "Speak slowly with a restrained, serious tone"). - Design:
description(orinstruct) with noref_audio(e.g. "A warm, thoughtful young woman…"). Upstream strengthens instruction-following withguidance_scale≈ 4.
Optional env knobs¶
| Variable | Default | Purpose |
|---|---|---|
OMNIVOICE_AUDIOCPP_BIN |
— | Absolute path to audiocpp_server. |
OMNIVOICE_AUDIOCPP_DIR |
— | Directory containing audiocpp_server. |
OMNIVOICE_AUDIOCPP_MODEL |
Model Catalogue cache | GGUF file or directory override. |
OMNIVOICE_AUDIOCPP_PACKAGE |
breeze-tts-2-q8_0.gguf |
Package filename (…-bf16.gguf for full precision). |
OMNIVOICE_AUDIOCPP_PORT |
17860 |
Loopback port. |
OMNIVOICE_AUDIOCPP_BACKEND |
Settings, then auto | Exact runtime: cuda, hip/rocm, vulkan, metal, or cpu. |
OMNIVOICE_AUDIOCPP_DEVICE |
best device | Backend-local non-negative device index; requires OMNIVOICE_AUDIOCPP_BACKEND. |
OMNIVOICE_AUDIOCPP_DOTS_MODEL |
Model Catalogue cache | dots.tts GGUF file or directory override. |
OMNIVOICE_AUDIOCPP_DOTS_PACKAGE |
dots-tts-soar-q8_0.gguf |
dots.tts package filename (dots-tts-soar-bf16.gguf for full precision). |
OMNIVOICE_AUDIOCPP_DOTS_PORT |
17861 |
dots.tts loopback port. |
OMNIVOICE_AUDIOCPP_BIN/_DIR/_BACKEND/_DEVICE apply to both engines; the
_MODEL/_PACKAGE/_PORT variables without DOTS apply to Breeze-TTS-2 only.
The audio.cpp overrides take precedence over the global Settings compute choice. A global CUDA/ROCm choice can match an NVIDIA/AMD GPU exposed through Vulkan. An unavailable explicit audio.cpp override is an error; an unavailable global preference falls back to CPU and is shown as a routing fallback.
Common errors¶
audiocpp_server not found ...¶
The binary isn't installed. Follow Install — the message carries the exact release URL and SHA for your platform.
audiocpp_server exited during startup ...¶
The managed loopback port may be taken. Check server.log next to
server.json in the app data audiocpp/ directory, or set a different
OMNIVOICE_AUDIOCPP_PORT and restart VoiceStudio.
Breeze-TTS-2 ... not installed, dots.tts ... not installed or package ... not completely installed¶
Install the model from Model Catalogue (TTS tab → the engine's Weights). If an interrupted install left it incomplete, use Reinstall there. If the error persists after a complete reinstall, file an issue with the package listing.
audio.cpp runs as a managed native server (no Python venv, no
transformers conflict). Only the downloaded GGUF counts toward
sidecar disk usage.
The catalogue checks each package (Breeze-TTS-2 + Sortformer, dots.tts) inside the shared GGUF repository on its own: one package never makes another appear installed, and uninstalling one removes only its own files. Required weight files must also satisfy the normal weight-size floor; empty or truncated placeholders remain incomplete. Broader native model discovery and execution are still pending integration.
Markdown source: View on AtomGit·Content from the open-source project om/VoiceStudio