CodeBySonu95/VoxSherpa-TTS

🎙️ VoxSherpa TTS Offline Neural Text-to-Speech Engine for Android ⚡ Sherpa-ONNX powered 🔊 Natural voice synthesis 📱 Fully offline processing 🚀 No cloud • No limits

VoxSherpa TTS — What It Is

VoxSherpa TTS is an open-source Android app that turns text into speech entirely on your phone — no internet connection needed after you download the voice models. It's built for people who want studio-quality voices without sending their text to a cloud service.


Core Idea

Most high-quality text-to-speech apps (like ElevenLabs) sound great but require internet, send your text to remote servers, and charge per character. VoxSherpa breaks that tradeoff by running two professional-grade neural engines locally on your device.


The Two Engines

Engine Quality Speed Best For
Kokoro-82M Studio-grade, rivals ElevenLabs Slower on budget hardware Audiobooks, voiceovers, professional content
Piper / VITS Natural, clear, multi-speaker Fast on any device Daily use, dialogue, quick synthesis

Kokoro is an 82-million-parameter neural model supporting 50+ languages including Hindi, English, British English, French, Spanish, Chinese, and Japanese. Piper is lighter and faster, generating speech in seconds even on modest hardware.


Key Features

🔒 100% Offline & Private

  • All processing happens on your device
  • No account, no telemetry, no data collection
  • Your text never leaves your phone

🗣️ Multi-Speaker Dialogue (v4.0)

  • Generate full conversations in one pass using a [speaker] tag system:
    [speaker:1] Hello, how are you?
    [speaker:2] I'm good, thanks! How about you?
    
  • Voice style/tone controls and adjustable pause timing between lines
  • Ideal for audiobooks with multiple characters, podcasts, skits

📄 Document to Audio

  • Convert PDF and TXT files to audio
  • Share text from any app directly into VoxSherpa

📦 Model Management

  • Download models from within the app
  • Filter by language or type, preview voices before selecting
  • Import your own .onnx models from local storage
  • Install multiple models simultaneously

🔊 System-Wide TTS

  • Set VoxSherpa as your default Android TTS engine
  • Use its voices in Chrome, WhatsApp, TalkBack, and other apps
  • Pitch and speed control in system TTS mode

🎧 Audio Controls

  • Real-time waveform visualization
  • Adjustable speed and pitch
  • Export as WAV
  • Media-style notification with playback controls

📚 Speech Library

  • Save all generated audio locally
  • Favorites system, generation history with timestamps
  • Regenerate audio when you change voices

⚙️ Smart Settings

  • Smart punctuation (natural pauses after sentence breaks)
  • Emotion tags like [whisper], [angry], [happy]
  • Per-model voice selection (Kokoro supports 50+ speakers)

How It Works (Technical)

User Text
    │
    ├─── Kokoro Engine → Sherpa-ONNX JNI → ONNX Runtime → CPU/NNAPI
    │
    └─── Piper / VITS Engine → Sherpa-ONNX JNI → ONNX Runtime → CPU

Built on Sherpa-ONNX (the on-device neural inference library), Kokoro-82M (the multilingual TTS model), and Piper (the fast local TTS engine). Audio playback uses Android's AudioTrack API for low-latency PCM output.


Performance (Depends on Your Phone)

Device Tier Kokoro Piper
Flagship (Snapdragon 8 Gen 3) ~20–40 sec per min of audio ~5 sec per min
Mid-range (8-core) ~60–90 sec per min ~10 sec per min
Budget (6-core) ~2–3 min per min ~20 sec per min

Kokoro prioritizes quality over speed — running an 82M-parameter model on a mobile CPU is genuinely pushing hardware limits.


Requirements & Installation

  • Android 11+, ARM64 processor
  • ~500 MB free storage recommended (for voice models)
  • Available on Google Play (package: com.CodeBySonu.VoxSherpa)
  • Open source under GPL v3.0

Model Import (For Technical Users)

You can import custom Sherpa-ONNX-compatible TTS models:

  1. Place your .onnx model + tokens.txt on device storage
  2. Open Models tab → tap + → Import Local Model
  3. Select your files

Recognition

VoxSherpa is listed in the official README of Sherpa-ONNX (the core inference library powering it), and its models are hosted on HuggingFace.


Contributing

The project welcomes bug reports (via Issues), feature requests (via Discussions), and pull requests.


Bottom line: VoxSherpa is a privacy-first, offline text-to-speech app for Android that offers both high-end neural voices (Kokoro) and fast lightweight voices (Piper), with multi-speaker dialogue support, document conversion, and system-wide TTS integration — all without ever sending your text to a server.

Related

  • Project
  • Project
  • Project
  • Project