Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

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 and Vulkan 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.

Models and Roadmap

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.

ModelStatusHighlights
GPT-SoVITS✅ SupportedV2 Pro, V2 Pro Plus, and V5 Turbo; cross-lingual cloning and on-device .ckpt / .pth conversion
Ming-TTS 0.5B✅ Supported93 built-in official voices, single-clip cloning, emotion and dialect controls, reading instructions, and streaming playback
Qwen3-TTS-0.6B✅ SupportedOfficial 0.6B-Base Q4_K_M weights, 10 languages, zero-shot cloning and direct speech, streaming playback, and on-device .safetensors conversion
CosyVoice3-0.5B-2512🔧 Inference ReadyMobile inference verified; app integration pending
IndexTTS-2.5🗺️ PlannedPlanned for mobile support
Fish Audio S1-mini🗺️ PlannedPlanned for mobile support
OmniVoice🗺️ PlannedPlanned 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), with additional Qualcomm NPU hybrid acceleration (QNN / Hexagon HTP) on compatible Snapdragon phones.
  • Zero-shot cloning and expressive controls: GPT-SoVITS supports cross-lingual voice transfer and direct on-device import of native .ckpt and .pth checkpoints; 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, Talker/Subtalker sampling controls, and on-device .safetensors checkpoint conversion.
  • 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.3 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).

[!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, or Qwen3-TTS-0.6B as needed.
  2. Set up voices: Open Voices to pick an official voice, 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–4.5 s) and long passage (~19–24 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.

ModelExecution PathShort RTFLong RTFASR Agreement
GPT-SoVITS V2 Pro PlusGPU0.6140.55699.34%
GPT-SoVITS V2 Pro PlusGPU + NPU0.6270.51199.72%
GPT-SoVITS V5 TurboGPU2.0381.81699.72%
GPT-SoVITS V5 TurboGPU + NPU1.3130.95499.62%
Ming-TTS 0.5BGPU1.8211.055100.00% / 100.00%
Ming-TTS 0.5BGPU + NPU1.5990.574100.00% / 99.89%
Qwen3-TTS-0.6BGPU1.1050.781100.00% / 100.00%
Qwen3-TTS-0.6BGPU + NPU0.9910.707100.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 Ming-TTS 0.5B and Qwen3-TTS-0.6B, values show short / long results respectively.
  • Execution paths: GPU runs on CPU + WebGPU (GPT-SoVITS / Ming-TTS) or CPU + Vulkan (Qwen3-TTS); 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).

ModelImplementation / DeviceShort time (s)Short RTFLong time (s)Long RTF
V2 Pro PlusGPT-SoVITS · RTX 3070 Ti Laptop1.380 ± 0.3820.341 ± 0.0896.153 ± 0.3010.265 ± 0.007
V2 Pro PlusVoicebox · GPU2.587 ± 0.1820.614 ± 0.04312.637 ± 0.4530.556 ± 0.005
V2 Pro PlusVoicebox · GPU + NPU2.618 ± 0.9270.627 ± 0.28611.955 ± 0.6080.511 ± 0.007
V5 TurboGPT-SoVITS · RTX 3070 Ti Laptop1.680 ± 0.3260.416 ± 0.0866.217 ± 0.5660.278 ± 0.021
V5 TurboVoicebox · GPU8.173 ± 0.4292.038 ± 0.10240.676 ± 2.5891.816 ± 0.043
V5 TurboVoicebox · GPU + NPU5.367 ± 0.3011.313 ± 0.07421.479 ± 0.8670.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.

ModelRMS ShortRMS LongASR · Official CUDAASR · Phone GPUASR · Phone GPU + NPU
V2 Pro Plus0.2323%0.2351%99.06%99.34%99.72%
V5 Turbo1.4489%0.6537%99.25%99.72%99.62%
  • 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 PathPassageAudio Length (s)End-to-End Time (s)Inference RTFASR Agreement
GPUShort3.57 ± 0.1111.88 ± 0.501.821 ± 0.068100.00%
GPULong19.19 ± 0.4025.70 ± 1.031.055 ± 0.044100.00%
GPU + NPUShort3.59 ± 0.1111.20 ± 0.421.599 ± 0.031100.00%
GPU + NPULong19.17 ± 0.3016.42 ± 0.520.574 ± 0.00999.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 PathPassageAudio Length (s)End-to-End Time (s)Core Inference (s)First PCM (s)Inference RTFASR Agreement
GPUShort4.48 ± 0.005.03 ± 0.034.95 ± 0.031.50 ± 0.011.105 ± 0.006100.00%
GPULong22.00 ± 0.0017.31 ± 0.1717.19 ± 0.181.50 ± 0.010.781 ± 0.008100.00%
GPU + NPUShort4.24 ± 0.004.26 ± 0.074.20 ± 0.071.48 ± 0.010.991 ± 0.017100.00%
GPU + NPULong23.68 ± 0.0016.85 ± 0.6216.74 ± 0.621.48 ± 0.010.707 ± 0.026100.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.

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.

关于 About

最好用的Android 离线多模型 TTS 与音色克隆(误),支持 GPU/NPU 加速 | The best Offline multi-model TTS & voice cloning on Android (jk) with GPU/NPU acceleration.
androidandroid-appandroid-ttsedge-aigpt-sovitsmultilingualnpuoffline-aion-device-aionnx-runtimeqnnsnapdragonspeech-synthesisstreaming-ttstext-to-speechttsvoice-cloningwebgpuzero-shot-tts

语言 Languages

Kotlin83.4%
Python9.7%
C++5.2%
Java0.9%
CMake0.5%
PowerShell0.2%
HTML0.1%
C0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
51
Total Commits
峰值: 30次/周
Less
More

核心贡献者 Contributors