Renakoni/VoiceBag
À propos
VoiceBag permet d’utiliser hors ligne plusieurs modèles de synthèse vocale et le clonage de voix sur Android, avec accélération GPU/NPU (la meilleure appli, c’était pour rire).
IA et apprentissage automatiqueWhat you can do
- On-demand model packs: The app shell and inference backends stay separate to keep the APK small. Download or uninstall individual model runtimes and packs inside the app, and manage disk usage under Settings → Storage management.
- Offline hardware acceleration: Inference runs entirely on device once assets are ready, with no cloud calls or desktop GPU. Supports WebGPU, Vulkan, OpenCL, and QNN GPU acceleration, plus Qualcomm QNN and Hexagon HTP hybrid acceleration on compatible Snapdragon phones.
- Official voices, cloning, and local weights: Use built-in official voices, import community voices in one tap, or clone a speaker across languages from a short recording. Supported models add emotion, dialect, reading-instruction, and streaming controls, plus on-device conversion for local .ckpt, .pth, and .safetensors weights.
- Native QQ voice messages: Send generated audio as native, tap-to-play QQ voice messages rather than plain audio attachments. Watch QQ demo
Progression mesurée des étoiles
- in 24h
- Historique en cours
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
VoiceBag
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
Download APK · CNB Mirror · Models · Getting Started · Performance · Build · Issues
VoiceBag integrates multiple open-source speech models into one offline Android app, providing voice cloning, delivery controls, streaming playback, and a local HTTP API. Clone a voice on device with roughly 5 seconds of reference audio and its transcript.
[!NOTE] VoiceBag 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.
Create speech · Models · My voices · Community voices
Models and Roadmap
VoiceBag 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 | ✅ Supported | Official 0.5B Q4 weights, 9 languages, zero-shot cloning and official voice, reading instructions, and streaming playback |
| OmniVoice | ✅ Supported | Official FP16 weights, 9 languages, zero-shot cloning, voice-attribute / accent / dialect instructions, and speed / duration controls |
| IndexTTS-2.5 | 🗺️ Planned | Planned for mobile support |
| Fish Audio S1-mini | 🗺️ Planned | Planned for mobile support |
Features
- On-demand model packs: The app shell and inference backends stay separate to keep the APK small. Download or uninstall individual model runtimes and packs inside the app, and manage disk usage under Settings → Storage management.
- Offline hardware acceleration: Inference runs entirely on device once assets are ready, with no cloud calls or desktop GPU. Supports WebGPU, Vulkan, OpenCL, and QNN GPU acceleration, plus Qualcomm QNN and Hexagon HTP hybrid acceleration on compatible Snapdragon phones.
- Official voices, cloning, and local weights: Use built-in official voices, import community voices in one tap, or clone a speaker across languages from a short recording. Supported models add emotion, dialect, reading-instruction, and streaming controls, plus on-device conversion for local
.ckpt,.pth, and.safetensorsweights. - Native QQ voice messages: Send generated audio as native, tap-to-play QQ voice messages rather than plain audio attachments. Watch QQ demo
- Local HTTP API: Lightweight
127.0.0.1server for audiobook readers, Tasker, or other clients, with desktop access via ADB port forwarding.
Demo
https://github.com/user-attachments/assets/67a03ecb-e05f-4551-a5f9-5caa80f1a1ae
▶ 33-second demo with sound and Chinese captions. Every Roxy line was generated on a Xiaomi 14 running VoiceBag.
Getting Started
Download VoiceBag 1.2.5 from GitHub Releases or the CNB mirror for ARM64 devices running Android 11 or later. VoxCPM 1.5, CosyVoice3-0.5B, and OmniVoice require Android 12+, and OmniVoice also requires Snapdragon QNN GPU.
CosyVoice3-0.5B, OmniVoice, in-app guides, storage management, and in-app CNB mirrors are currently available in the 1.3.0 pre-release.
[!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. When upgrading from 1.2.0–1.2.5, download the latest APK in a browser and install it over the existing app to keep your local models and voices.
First synthesis
The walkthrough below uses Qwen3-TTS-0.6B as an example. It runs on Android 11+, supports 10 languages, and generates speech directly without a reference recording.
- Install and open VoiceBag, go to Models, expand Qwen3-TTS-0.6B, and install the inference bridge and Audio codec.
- Go to Voices, find Qwen3-TTS-0.6B under Official, download it, and tap to select.
- Go to Create, select the output language if needed, enter text or tap Sample, choose Full audio or Stream, and tap Generate speech.
- Once the clip appears under Latest audio, tap Play to listen, then save, share, or send it to QQ.
Per-model setup steps, reference rules, and synthesis parameters are available inside the app: tap the book icon on a card in Models for the Model guide, and tap the help icon in Create → Advanced settings for the Parameter guide.
Other ways to get started
- Clone a voice from audio: Install the target model's components in Models, tap Clone voice in Voices, pick the model, name the voice, add 3 to 10 seconds of clean speech with a transcript, and save to use it in Create. See each model's Model guide for its reference rules.
- Import local weights: Supported for GPT-SoVITS and Qwen3-TTS-0.6B. Tap Import voice in Voices, pick the model family, and select
.ckpt/.pthorconfig.json/.safetensorsfiles as prompted for on-device conversion. - Browse community voices: Install the GPT-SoVITS inference bridge and V 2/4/5 shared resources in Models, then tap the store icon in the top-right corner of Voices to open Community voices and import in one tap.
Downloads in mainland China
Users in mainland China can download the APK directly from CNB Releases. In-app models and voice assets use mainland China mirrors automatically.
One-time setup for QQ voice messages
- Turn on Wireless debugging in Android's Developer options.
- On the Send to QQ screen, tap Connect, enter the six-digit pairing code shown by Android, and tap Pair and connect. Pairing is only needed once.
- Tap Choose contact and send, then open the target chat in QQ. VoiceBag 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% |
| CosyVoice3-0.5B | GPU | 0.730 | 0.610 | 100.00% / 100.00% |
| CosyVoice3-0.5B | GPU + NPU | 0.868 | 0.650 | 100.00% / 100.00% |
| OmniVoice | GPU | 2.917 | 3.436 | 100.00% / 100.00% |
| OmniVoice | GPU + NPU | 0.879 | 1.019 | 100.00% / 100.00% |
- RTF (Real-Time Factor): Inference time ÷ audio duration. Values below
1.0run faster than real-time playback. - ASR agreement: Transcribed offline with SenseVoice and scored after stripping punctuation as
(1 − character edit distance ÷ reference length) × 100%. Where two percentages are shown, values correspond to short / long results respectively. - Execution paths: GPU runs on CPU + WebGPU (GPT-SoVITS / Ming-TTS), CPU + Vulkan (Qwen3-TTS), CPU + OpenCL (VoxCPM 1.5 / CosyVoice3-0.5B), or CPU + QNN GPU (OmniVoice); 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 | VoiceBag · GPU | 2.587 ± 0.182 | 0.614 ± 0.043 | 12.637 ± 0.453 | 0.556 ± 0.005 |
| V2 Pro Plus | VoiceBag · GPU + NPU | 2.618 ± 0.927 | 0.627 ± 0.286 | 11.955 ± 0.608 | 0.511 ± 0.007 |
| V4 (4-step) | VoiceBag · GPU | 7.767 ± 0.253 | 1.992 ± 0.058 | 41.348 ± 2.913 | 1.822 ± 0.050 |
| V4 (4-step) | VoiceBag · 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 | VoiceBag · GPU | 8.173 ± 0.429 | 2.038 ± 0.102 | 40.676 ± 2.589 | 1.816 ± 0.043 |
| V5 Turbo | VoiceBag · 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 VoiceBag 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 sshort,22.676 ± 1.115 s/22.320 ± 0.873 slong 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 stayed32.9–44.0 °Cat request start (44.6 °Cpeak), and Android thermal status remained0. - 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 VoiceBag 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 (
int8mmkernel), the codec runs on Vulkan (Vulkan0), and GPU + NPU offloads DAC layers to Hexagon v75 (HTP0). Enabling NPU lowers short-sentence RTF from1.105to0.991(faster than real time) and long-passage RTF by 9.5% (0.781 → 0.707). - v6 runtime improvement: Compared with VoiceBag 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 sload,4.946 sfirst PCM, RTF1.889) on GPU and7.87 s(1.067 sload,3.559 sfirst PCM, RTF1.498) on GPU + NPU. Warm reference-free synthesis starts streaming in0.320 s/0.307 swith total time4.61 s/3.76 sand RTF0.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 at0.5474with0clipped samples, and skin temperature remained31.8–43.7 °Cwith Android thermal status0.
VoxCPM 1.5 detailed benchmarks
Measured on VoiceBag 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 msto42.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
0character edit distance on offline SenseVoice (100.00%agreement). Android thermal status remained0throughout, with device skin temperature at31.7–43.4 °C(GPU) and24.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.
CosyVoice3-0.5B detailed benchmarks
Measured on VoiceBag 1.2.6 (versionCode 18) with CosyVoice3 runtime v7 and published 0.5B Q4 weights (seed 1986, Top-K 25, Top-P 0.8, speed 1.0), performing foreground whole-utterance voice cloning with the same 4.325 s Chinese reference clip and transcript, 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 (CPU + Adreno OpenCL) |
Short | 4.08 ± 0.00 | 3.05 ± 0.02 | 2.98 ± 0.02 | 2.98 ± 0.02 | 0.730 ± 0.004 | 100.00% |
GPU (CPU + Adreno OpenCL) |
Long | 21.92 ± 0.00 | 13.50 ± 0.12 | 13.38 ± 0.13 | 7.37 ± 0.11 | 0.610 ± 0.006 | 100.00% |
GPU + NPU (CPU + Adreno OpenCL + HTP) |
Short | 4.08 ± 0.00 | 3.62 ± 0.03 | 3.54 ± 0.03 | 3.55 ± 0.03 | 0.868 ± 0.007 | 100.00% |
GPU + NPU (CPU + Adreno OpenCL + HTP) |
Long | 21.92 ± 0.00 | 14.36 ± 0.13 | 14.24 ± 0.13 | 7.58 ± 0.07 | 0.650 ± 0.006 | 100.00% |
- Backend and HTP comparison: The GPU path runs Flow on Adreno OpenCL (MNN) and LLM via
cosyvoice.cpp/ggml, already well faster than real time (0.730short /0.610long). Offloading part of the HiFT decoder to Hexagon HTP changes mean inference RTF by +19.0% on short sentences and +6.5% on long passages, making pure GPU faster on Xiaomi 14. - Warmup and timing: Initial GPU long-passage warmup took
44.27 sto build OpenCL shape caches (excluded from formal stats; after an interruption at 10 GPU samples, the run resumed with fresh warmup). First PCM is measured from bridge request start, including warm setup. - Transcription, waveform, and thermals: Across all 40 formal clips, SenseVoice total edit distance was
0 / 2120(100.00%agreement), peak amplitude stayed at0.5369with0clipped samples (≥ 1.0), Android thermal status stayed0, and skin temperature remained33.35–36.71 °C(GPU) and34.71–37.65 °C(GPU + NPU).
OmniVoice detailed benchmarks
Measured on VoiceBag 1.2.6 (faa7c0f) with OmniVoice runtime v6, official FP16 weights and clone encoders v1, and shared QNN/ORT v1 (32 steps, speed 1.0×, guidance 2.0, position temperature 5.0, seed 42, post-processing on, auto duration), performing Chinese zero-shot voice cloning via the local API with the same 4.325 s reference clip and transcript, outputting 24 kHz mono 16-bit PCM WAV.
| Execution Path | Passage | Audio Length (s) | Request Time (s) | Inference Time (s) | Inference RTF | ASR Agreement |
|---|---|---|---|---|---|---|
GPU (CPU + QNN GPU) |
Short | 3.880 ± 0.000 | 11.334 ± 0.332 | 11.316 ± 0.331 | 2.917 ± 0.085 | 100.00% |
GPU (CPU + QNN GPU) |
Long | 20.000 ± 0.000 | 68.747 ± 1.070 | 68.729 ± 1.070 | 3.436 ± 0.053 | 100.00% |
GPU + NPU (CPU + QNN GPU + HTP) |
Short | 3.880 ± 0.000 | 3.427 ± 0.006 | 3.412 ± 0.006 | 0.879 ± 0.002 | 100.00% |
GPU + NPU (CPU + QNN GPU + HTP) |
Long | 20.000 ± 0.000 | 20.401 ± 0.086 | 20.386 ± 0.088 | 1.019 ± 0.004 | 100.00% |
- NPU speedup: Enabling Hexagon HTP accelerates short sentences by 3.32× (
2.917 → 0.879, faster than real time) and full single-request long passages (6 internal segments on graphb384) by 3.37× (3.436 → 1.019, near real time). - Timing definitions: Inference RTF uses the app-reported value, inference time is computed as
RTF × WAV duration, and request time is app-reportedgenerationDurationMs. - Transcription, waveform, and thermals: All 40 formal clips achieved
0SenseVoice edit distance (100.00%agreement) and0clipped samples, with Android thermal status0before and after every formal run (1 attempt,htp-long-06, reached thermal status 3 and was re-run after cooling). Pre-request battery temperature stayed below38 °C, and skin temperature ranged37.6–43.7 °C(GPU) and33.8–45.7 °C(GPU + NPU).
Building from Source
Requires JDK 21, Android SDK 37 (with NDK and CMake), and Python 3.12+.
git clone https://github.com/Renakoni/VoiceBag.git
cd VoiceBag/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 VoiceBag:
- Models and inference: GPT-SoVITS, Ming-3.0-tts, Qwen3-TTS, VoxCPM, VoxCPM.cpp, CosyVoice, cosyvoice.cpp, OmniVoice, ggml, MNN, Genie-TTS, RinStel Android, and gsv.cpp.
- UI and component references: Microsoft Fluent UI Android and NextVol.
- The Roxy voice in the demo video comes from Shinowing's Shinowing_AI_model. Thank you for sharing it.
VoiceBag'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.
Explorer des projets similaires
Chargement…