Coder Social home page Coder Social logo

eja / tts-server Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 1.0 252 KB

An Android app for text-to-speech via HTTP requests.

Home Page: https://play.google.com/store/apps/details?id=it.eja.ttsserver

License: GNU General Public License v3.0

Kotlin 100.00%
android http tts

tts-server's Introduction

TTS Server

TTS Server is an Android application that functions as an HTTP server, enabling the usage of the Android Text-to-Speech (TTS) engine to generate speech from text input via HTTP requests.

Features

  • Provides an HTTP server interface to utilize the Android Text-to-Speech engine.
  • Supports generating speech from text input received via HTTP requests.
  • Easy integration into existing Android projects or applications.
  • Lightweight and efficient implementation.

Getting Started

To get started with TTS Server, follow these steps:

  1. Clone this repository:

    git clone https://github.com/eja/tts-server.git
  2. Open the project in Android Studio.

  3. Build and run the project on your Android device or emulator.

  4. Once the application is running, it will start the HTTP server automatically.

  5. Send the requests with the text you want to convert to speech to the server endpoint.

Usage

To use TTS Server in your project, follow these steps:

  1. Ensure that the TTS Server application is installed and running on your Android device.

  2. Send requests to the server endpoint http://<your_device_ip>:<port> with the text you want to convert to speech.

  3. The server will respond with the synthesized speech audio.

  4. Integrate the HTTP request mechanism into your application to dynamically generate speech from text input.

Example

curl "http://<your_device_ip>:<port>/?text=test&locale=it-IT" --output output.wav

This command sends a request with the text "test" and locale "it-IT" to the TTS Server running on your device and saves the synthesized speech audio to output.wav.

License

TTS Server is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.