VoiceBag

Project Url: Renakoni/VoiceBag
Introduction: VoiceBag (formerly Voicebox) — 最好用的 Android 离线多模型 TTS 与音色克隆(误),支持 GPU/NPU 加速 | Offline multi-model TTS & voice cloning on Android with GPU/NPU acceleration.
More: Author   ReportBugs   
Tags:

Voicebox app icon

Voicebox

On-device multi-model speech workstation for Android
Run open-source TTS and voice cloning models offline on your phone, with no cloud or desktop GPU required

中文 · 日本語 · English

Latest release Android 11+ ARM64 AGPL-3.0 License
ONNX Runtime and ggml WebGPU, Vulkan, and OpenCL Qualcomm QNN and Hexagon

Download APK · Models · Getting Started · Performance · Build · Issues

Voicebox brings multiple open-source speech models to Android in one offline app, combining voice cloning, delivery controls, streaming playback, and a local API. Clone a voice with roughly 5 seconds of reference audio and its transcript.

[!NOTE] Voicebox is specifically tuned for Qualcomm Snapdragon chips; use a Snapdragon device for the full experience. As for MediaTek Dimensity—godspeed. I simply can't afford a Dimensity phone to optimize for it.

https://github.com/user-attachments/assets/aca3f5e3-c458-4756-a44f-0a513cffe7f9

▶ Demo (33 seconds, with sound and Chinese captions). Every Roxy line in the video was generated on a Xiaomi 14 using Voicebox.

Voicebox uses a modular backend architecture. Each model runtime and resource pack is downloaded and uninstalled independently inside the app, sharing the same voice library, audio export, QQ voice sending, and local HTTP API.

Model Status Highlights
GPT-SoVITS ✅ Supported V2 Pro, V2 Pro Plus, V4, and V5 Turbo; cross-lingual cloning, community voice browsing, and on-device .ckpt / .pth conversion
Ming-TTS 0.5B ✅ Supported 93 built-in official voices, single-clip cloning, emotion and dialect controls, reading instructions, and streaming playback
Qwen3-TTS-0.6B ✅ Supported Official 0.6B-Base Q4_K_M weights, 10 languages, zero-shot cloning and direct speech, streaming playback, and on-device .safetensors conversion
VoxCPM 1.5 ✅ Supported Official Q8_0 weights, Chinese and English, zero-shot cloning and default voice, 44.1 kHz output, streaming playback, and CFG / sampling-step controls
CosyVoice3-0.5B-2512 🔧 Inference Ready Mobile inference verified; app integration pending
IndexTTS-2.5 🗺️ Planned Planned for mobile support
Fish Audio S1-mini 🗺️ Planned Planned for mobile support
OmniVoice 🗺️ Planned Planned for mobile support

Features

  • On-demand model packs: The app and inference backends are decoupled. Download, verify, or uninstall individual model runtimes and packs on demand inside the app without bloating the APK.
  • Offline inference with hardware acceleration: Everything runs locally once models are ready, with no network calls or cloud GPUs. Built for GPU-accelerated mobile devices (WebGPU / Vulkan / OpenCL), with additional Qualcomm NPU hybrid acceleration (QNN / Hexagon HTP) on compatible Snapdragon phones.
  • Zero-shot cloning and expressive controls: GPT-SoVITS supports V2 Pro, V2 Pro Plus, V4, and V5 Turbo, cross-lingual voice transfer, and community voice browsing; Ming-TTS 0.5B includes 93 official voices, single-clip cloning, speed/pitch/volume controls, emotions, dialects, natural-language reading instructions, and real-time streaming playback; Qwen3-TTS-0.6B adds 10-language synthesis, zero-shot cloning and reference-free speech, streaming playback, and Talker/Subtalker sampling controls; VoxCPM 1.5 delivers 44.1 kHz Chinese/English synthesis with zero-shot cloning, a built-in default voice, and streaming playback.
  • Native QQ voice messages: Send generated audio directly as native, tap-to-play QQ voice messages rather than audio attachments. Watch QQ demo
  • Local HTTP API: Lightweight 127.0.0.1 server for audiobook readers, Tasker, or other clients, with desktop access supported via ADB port forwarding.
  • Verified in-app updates: Check GitHub for new releases inside the app, with automatic verification of file size, SHA-256, package name, and version.

Getting Started

Download Voicebox 1.2.5 from Releases (requires an ARM64 device running Android 11 or later; Qwen3-TTS-0.6B requires Android 12+ and Vulkan 1.2 with 16-bit storage buffers, and VoxCPM 1.5 requires Android 12+).

[!WARNING] Versions 1.2.0 and later cannot be installed over releases prior to 1.2.0. If you are upgrading from an older pre-1.2.0 build, uninstall it first (1.2.0+ releases update in place).

  1. Install models: Open Models and install GPT-SoVITS, Ming-TTS 0.5B, Qwen3-TTS-0.6B, or VoxCPM 1.5 as needed.
  2. Set up voices: Open Voices to pick an official voice, browse community voices (available after installing GPT-SoVITS common resources), or record/import a reference clip with its transcript to clone a voice. You can also import local .ckpt / .pth weights for GPT-SoVITS, or .safetensors + config.json checkpoints for Qwen3-TTS-0.6B.
  3. Create and export: Open Create, pick a voice and adjust your settings, enter text, and generate. Play, save, share, or send the result to QQ.
One-time setup for QQ voice messages
  1. Turn on Wireless debugging in Android's Developer options.
  2. On the Send to QQ screen, tap Connect and enter the six-digit pairing code shown by Android. Pairing is only needed once.
  3. Tap Choose contact and send, then open the target chat in QQ. Voicebox will record a placeholder voice message, replace its audio, and send it. Leave QQ untouched until it finishes.

Each message must be shorter than 60 seconds.

Performance and Quality

All mobile benchmarks were measured on a Xiaomi 14 (Snapdragon 8 Gen 3, 16 GB RAM) using the same Chinese short sentence (3.5–5 s) and long passage (19–26 s), with official weights or fixed presets and seeds. Once models and caches were warm, each configuration and length ran 10 times at normal ambient temperature with no thermal throttling; values are reported as mean ± standard deviation.

Model Execution Path Short RTF Long RTF ASR Agreement
GPT-SoVITS V2 Pro Plus GPU 0.614 0.556 99.34%
GPT-SoVITS V2 Pro Plus GPU + NPU 0.627 0.511 99.72%
GPT-SoVITS V4 GPU 1.992 1.822 100.00% / 100.00%
GPT-SoVITS V4 GPU + NPU 1.267 0.927 100.00% / 99.21%
GPT-SoVITS V5 Turbo GPU 2.038 1.816 99.72%
GPT-SoVITS V5 Turbo GPU + NPU 1.313 0.954 99.62%
Ming-TTS 0.5B GPU 1.821 1.055 100.00% / 100.00%
Ming-TTS 0.5B GPU + NPU 1.599 0.574 100.00% / 99.89%
Qwen3-TTS-0.6B GPU 1.105 0.781 100.00% / 100.00%
Qwen3-TTS-0.6B GPU + NPU 0.991 0.707 100.00% / 100.00%
VoxCPM 1.5 GPU 0.861 0.865 100.00% / 100.00%
VoxCPM 1.5 GPU + NPU 0.504 0.462 100.00% / 100.00%
  • RTF (Real-Time Factor): Inference time ÷ audio duration. Values below 1.0 run faster than real-time playback.
  • ASR agreement: Transcribed offline with SenseVoice and scored after stripping punctuation as (1 − character edit distance ÷ reference length) × 100%. For GPT-SoVITS V4, Ming-TTS 0.5B, Qwen3-TTS-0.6B, and VoxCPM 1.5, values show short / long results respectively.
  • Execution paths: GPU runs on CPU + WebGPU (GPT-SoVITS / Ming-TTS), CPU + Vulkan (Qwen3-TTS), or CPU + OpenCL (VoxCPM 1.5); GPU + NPU adds Qualcomm QNN or Hexagon HTP heterogeneous acceleration.
GPT-SoVITS detailed benchmarks

1. Mobile vs. desktop GPU latency

The desktop baseline runs the official repository CUDA implementation on an RTX 3070 Ti Laptop (8 GB VRAM, 16 GB RAM), using official weights and the same Chinese reference clip (~4 s short sentence, ~22 s long passage).

Model Implementation / Device Short time (s) Short RTF Long time (s) Long RTF
V2 Pro Plus GPT-SoVITS · RTX 3070 Ti Laptop 1.380 ± 0.382 0.341 ± 0.089 6.153 ± 0.301 0.265 ± 0.007
V2 Pro Plus Voicebox · GPU 2.587 ± 0.182 0.614 ± 0.043 12.637 ± 0.453 0.556 ± 0.005
V2 Pro Plus Voicebox · GPU + NPU 2.618 ± 0.927 0.627 ± 0.286 11.955 ± 0.608 0.511 ± 0.007
V4 (4-step) Voicebox · GPU 7.767 ± 0.253 1.992 ± 0.058 41.348 ± 2.913 1.822 ± 0.050
V4 (4-step) Voicebox · GPU + NPU 5.197 ± 0.284 1.267 ± 0.046 20.700 ± 1.141 0.927 ± 0.018
V5 Turbo GPT-SoVITS · RTX 3070 Ti Laptop 1.680 ± 0.326 0.416 ± 0.086 6.217 ± 0.566 0.278 ± 0.021
V5 Turbo Voicebox · GPU 8.173 ± 0.429 2.038 ± 0.102 40.676 ± 2.589 1.816 ± 0.043
V5 Turbo Voicebox · GPU + NPU 5.367 ± 0.301 1.313 ± 0.074 21.479 ± 0.867 0.954 ± 0.021

2. Waveform error and transcription accuracy

Waveform error compares phone GPU + NPU output against official PyTorch FP32 under identical inputs and noise. SenseVoice transcribed all clips generated in the latency runs.

Model RMS Short RMS Long ASR · Official CUDA ASR · Phone GPU ASR · Phone GPU + NPU
V2 Pro Plus 0.2323% 0.2351% 99.06% 99.34% 99.72%
V4 (4-step) — — — 100.00% / 100.00% 100.00% / 99.21%
V5 Turbo 1.4489% 0.6537% 99.25% 99.72% 99.62%
  • V4 (4-step) notes: Measured on Voicebox 1.2.4 with GPT-SoVITS runtime v10 (custom ONNX Runtime) and official V4 weights, outputting 48 kHz mono 16-bit PCM WAV (3.904 ± 0.222 s / 4.104 ± 0.222 s short, 22.676 ± 1.115 s / 22.320 ± 0.873 s long for GPU / GPU + NPU). Under GPU + NPU, each acoustic chunk runs 3 Hexagon HTP steps and 1 WebGPU step, lowering short RTF by 36.4% (1.992 → 1.267) and long RTF by 49.1% (1.822 → 0.927, faster than real time). Across all 40 formal clips, 0 PCM samples clipped, skin temperature stayed 32.9–44.0 °C at request start (44.6 °C peak), and Android thermal status remained 0.
  • Relative RMS error: RMS(phone − official) ÷ RMS(official) × 100%; lower means closer numerical match to FP32.
  • See Architecture and Optimizations for model analysis and scheduling details.
Ming-TTS 0.5B detailed benchmarks

Repeated runs used the official Chinese preset 灵小柔, outputting 44.1 kHz mono 16-bit PCM WAV.

Execution Path Passage Audio Length (s) End-to-End Time (s) Inference RTF ASR Agreement
GPU Short 3.57 ± 0.11 11.88 ± 0.50 1.821 ± 0.068 100.00%
GPU Long 19.19 ± 0.40 25.70 ± 1.03 1.055 ± 0.044 100.00%
GPU + NPU Short 3.59 ± 0.11 11.20 ± 0.42 1.599 ± 0.031 100.00%
GPU + NPU Long 19.17 ± 0.30 16.42 ± 0.52 0.574 ± 0.009 99.89%
  • NPU speedup: Accelerating acoustic synthesis via QNN reduces long-passage RTF by 45.5% and cuts end-to-end latency from 25.70 s to 16.42 s.
  • Timing breakdown: Inference RTF divides core synthesis time by output WAV duration. End-to-end time also includes app preparation, session setup, and WAV export (~5.4 s on long passages).
  • Cold start and cache: Cold short-sentence requests take 12.87 s on GPU. First-time NPU graph compilation takes 17.53 s and caches a ~205 MB QNN context; subsequent runs reuse the cache and drop to 11.39 s.
  • Additional checks: All generated WAV files decoded cleanly with zero clipping; NPU checks for Chinese voice cloning and English presets both reached 100.00% ASR agreement.
Qwen3-TTS-0.6B detailed benchmarks

Measured on Voicebox 1.2.3 with the official Qwen3 runtime v6 and Qwen3-TTS-0.6B-Base Q4_K_M weights in the foreground (screen on), performing ICL voice cloning with the same 4.325 s Chinese reference clip (seed 42, sampling enabled), outputting 24 kHz mono float32 WAV.

Execution Path Passage Audio Length (s) End-to-End Time (s) Core Inference (s) First PCM (s) Inference RTF ASR Agreement
GPU Short 4.48 ± 0.00 5.03 ± 0.03 4.95 ± 0.03 1.50 ± 0.01 1.105 ± 0.006 100.00%
GPU Long 22.00 ± 0.00 17.31 ± 0.17 17.19 ± 0.18 1.50 ± 0.01 0.781 ± 0.008 100.00%
GPU + NPU Short 4.24 ± 0.00 4.26 ± 0.07 4.20 ± 0.07 1.48 ± 0.01 0.991 ± 0.017 100.00%
GPU + NPU Long 23.68 ± 0.00 16.85 ± 0.62 16.74 ± 0.62 1.48 ± 0.01 0.707 ± 0.026 100.00%
  • Backend and NPU speedup: Talker runs on 4 CPU threads (int8mm kernel), the codec runs on Vulkan (Vulkan0), and GPU + NPU offloads DAC layers to Hexagon v75 (HTP0). Enabling NPU lowers short-sentence RTF from 1.105 to 0.991 (faster than real time) and long-passage RTF by 9.5% (0.781 → 0.707).
  • v6 runtime improvement: Compared with Voicebox 1.2.2 / Qwen3 runtime v5 on the same device and inputs, v6 cuts inference RTF by 11.2% (GPU short), 9.6% (GPU long), 14.9% (GPU + NPU short), and 15.5% (GPU + NPU long), with 10/10 bit-exact sample parity against v5 across all four configurations.
  • Cold start and direct synthesis: In single-run short-sentence checks, fresh-process first cloning (reusing disk cache) takes 10.89 s (1.148 s load, 4.946 s first PCM, RTF 1.889) on GPU and 7.87 s (1.067 s load, 3.559 s first PCM, RTF 1.498) on GPU + NPU. Warm reference-free synthesis starts streaming in 0.320 s / 0.307 s with total time 4.61 s / 3.76 s and RTF 0.799 / 0.651 (GPU / GPU + NPU).
  • Additional checks: Across all 44 generated clips (40 warm + 4 single-run checks), SenseVoice ASR edit distance was 0 (100.00% agreement), peak amplitude stayed at 0.5474 with 0 clipped samples, and skin temperature remained 31.8–43.7 °C with Android thermal status 0.
VoxCPM 1.5 detailed benchmarks

Measured on Voicebox 1.2.4 (integration build) with VoxCPM 1.5 runtime v7 and Q8_0 weights (4 CPU threads, CFG 2.0, 10 sampling steps, seed 12345), performing foreground whole-utterance voice cloning with the same 4.325 s Chinese reference clip and transcript, outputting 44.1 kHz mono 16-bit PCM WAV.

Execution Path Passage Audio Length (s) End-to-End Time (s) Core Inference (s) First PCM (s) Inference RTF ASR Agreement
GPU (CPU + Adreno) Short 4.96 ± 0.00 4.34 ± 0.16 4.27 ± 0.17 1.30 ± 0.03 0.861 ± 0.034 100.00%
GPU (CPU + Adreno) Long 24.32 ± 0.00 21.15 ± 0.72 21.03 ± 0.72 1.46 ± 0.02 0.865 ± 0.030 100.00%
GPU + NPU (CPU + Adreno + HTP) Short 4.96 ± 0.00 2.57 ± 0.03 2.50 ± 0.03 0.93 ± 0.01 0.504 ± 0.006 100.00%
GPU + NPU (CPU + Adreno + HTP) Long 25.86 ± 0.20 12.05 ± 0.13 11.93 ± 0.13 1.11 ± 0.02 0.462 ± 0.004 100.00%
  • Backend and NPU speedup: Both paths decode audio on Adreno OpenCL; enabling Hexagon HTP lowers mean per-request median LocDiT patch latency on long passages from 111.11 ms to 42.33 ms, cutting short-sentence RTF by 41.5% (0.861 → 0.504) and long-passage RTF by 46.6% (0.865 → 0.462).
  • Timing definitions: Inference RTF divides core inference time by output audio duration. First PCM measures from the start of core inference until the decoder delivers the first audio batch (interactive streaming tap-to-play latency was not measured in this run).
  • Transcription and thermal checks: All 40 clips reached 0 character edit distance on offline SenseVoice (100.00% agreement). Android thermal status remained 0 throughout, with device skin temperature at 31.7–43.4 °C (GPU) and 24.4–37.5 °C (GPU + NPU; after an interruption following 3 rounds, the remaining 7 rounds were completed after restart and warmup, excluding incomplete and warmup runs).
  • Reference audio edge cases: Valid 100 ms clips are handled safely on GPU in v7 (with byte-identical full-clip outputs vs. v6), whereas ultra-short (~100 ms) or truncated WAV inputs on the HTP path can still crash the worker process; standard ~5 s reference clips are recommended.

Building from Source

Requires JDK 21, Android SDK 37 (with NDK and CMake), and Python 3.12+.

git clone https://github.com/Renakoni/Voicebox.git
cd Voicebox/Android
.\gradlew.bat :app:assembleDebug

:app:assembleDebug builds the app shell, which downloads model runtimes from Releases on demand. To package a WebGPU-enabled GPT-SoVITS backend yourself, build the custom ONNX Runtime (build script, patches) and pass -PvoiceboxOrtAar=<path-to-AAR> when running :model:gptsovits:bundleDebugBridge or :model:gptsovits:bundleReleaseBridge; omitting it builds a CPU-only backend package.

Feedback and Contributing

Issues and pull requests are welcome. When reporting a bug, please include the app version, phone model, TTS model used, and steps to reproduce.

Credits and License

Special thanks to the open-source projects and authors behind Voicebox:

Voicebox's original code and modifications are licensed under GNU AGPL-3.0.

Third-party components retain their own copyrights and licenses; see licenses, the native dependencies in app, core, and GPT-SoVITS, and the *-licenses assets in the app and bridge packages. Releases include the corresponding source for relevant dependencies.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools
AI Daily Digest