Skip to main content

Termux-TTS (Python)

PyPI Python License

High-Performance Multi-Backend Speech Synthesis Framework for Android Termux & Edge Linux
Supports Zero-Dependency Parametric DSP Formant Vocoder, Deep Learning ONNX Neural Runtime, and Android Native System Voice Bridge.

Installation

pip install termux-tts

Quickstart

import termux_tts as tts

# 1. Zero-Dependency DSP Formant Mode (Default)
with tts.load(engine="dsp", language="ko") as engine:
    res = engine.synthesize("안녕하세요, 텀묵스 음성 합성입니다.", output="dsp.wav")
    print(f"Synthesized in {res.elapsed_ms:.1f}ms (RTF: {res.rtf:.4f}x)")

# 2. Deep Learning ONNX Mode
with tts.load(engine="onnx", model="vits_ko.onnx", language="ko") as engine:
    res = engine.synthesize("신경망 고품질 음성 합성입니다.", output="onnx.wav")

# 3. Android System Native Speak Mode
with tts.load(engine="native", language="ko") as engine:
    engine.speak("스피커로 즉시 발화합니다.")

Features

  • Zero-Dependency DSP Engine: Instant CPU execution with 0MB download overhead (Rosenberg Glottal Pulse + 5-Band Biquad Filters).
  • Authentic ONNX Neural Runtime: Deep learning acoustic model execution for VITS, Piper, and FastSpeech ONNX models.
  • Android Native Bridge: Direct speaker speech playback via Termux IPC.
  • Cross-Platform CLI & Node.js Binding: First-class support for Python, npm, and shell scripts.

Documentation

License

Apache-2.0 License. Copyright (c) 2026 Eunho Kim (@uno-km).

Release files for termux-tts 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termux-tts 1.1.3
File Size Uploaded
termux_tts-1.1.3.tar.gz 34.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for termux-tts 1.1.3
File Interpreter ABI Platform
termux_tts-1.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 69.5 kB

Release files / termux_tts-1.1.3.tar.gz

Download URL termux_tts-1.1.3.tar.gz
Size 34.8 kB
Tags Source
SHA-256 checksum
How to use checksums
085a2ca551dcc5c2e2dbf44ed9431c27ed4bae45eb44070f3671f8fc90a55937
BLAKE2b-256 checksum
How to use checksums
096fae29907e70ec8c63aa6ab20cbb0bfc70708878ad8f39e5f2622f138cef44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / termux_tts-1.1.3-py3-none-any.whl

Download URL termux_tts-1.1.3-py3-none-any.whl
Size 34.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59eca45930d64db5982f28aa5b5468bad3c07da12e040d08b13ceedfc960bff4
BLAKE2b-256 checksum
How to use checksums
1906b61218ba96ba5dc83ce4be779d921036628d29275cc5e38efc459cf847b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

1 release file

1.1.5

2 release files

This release

1.1.3 This release

2 release files

1.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page