tts-server-android  by jing332

Android TTS app for network reading and custom TTS engines

created 2 years ago
3,970 stars

Top 12.6% on sourcepulse

GitHubView on GitHub
Project Summary

This Android application provides a Text-to-Speech (TTS) server with advanced customization for reading apps and general use. It targets users who need flexible and powerful TTS capabilities on their Android devices, offering features like custom HTTP requests, local TTS engine integration, and intelligent speech parsing for dialogue.

How It Works

The app integrates multiple TTS engines, including Microsoft's Edge TTS and optional plugins for Azure and iFlytek. It features a rule-based system for parsing text, enabling it to distinguish between narration and dialogue (indicated by Chinese quotation marks) for more natural speech output. Users can import custom rules and language detection models via network links.

Quick Start & Requirements

  • Installation: Download stable releases from Releases or development builds from Actions (requires GitHub login). Mirror downloads are available at https://jing332.lanzn.com/b09jpjd2d.
  • Prerequisites: Android device. For building from source, Android Studio is required.
  • Setup: Basic usage involves downloading and installing the APK. Building from source requires configuring signing keys via local.properties or GitHub Actions secrets.

Highlighted Details

  • Supports Microsoft Edge TTS and offers plugins for Azure and iFlytek TTS.
  • Includes a rule management system for parsing dialogue and narration from text.
  • Allows importing custom rules and language detection models via URLs.
  • Features automatic retries, fallback configurations, and text replacement.

Maintenance & Community

The project is actively maintained by jing332. Community resources are not explicitly linked in the README.

Licensing & Compatibility

The project's licensing is not explicitly stated in the README. It utilizes libraries with various licenses, including Apache 2.0 (Hutool, ExoPlayer), MIT (Splitties), and others. Compatibility for commercial use or closed-source linking would require clarification of the project's specific license.

Limitations & Caveats

The Azure TTS API mentioned in the description is noted as "deprecated" (已猝). Building from source requires careful configuration of signing keys, and the process for setting up GitHub Actions secrets is detailed but may be complex for novice users.

Feedback? Help us improve.