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.5

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.5
File Size Uploaded
termux_tts-1.1.5.tar.gz 36.6 kB Details

Built distribution (wheel)

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

Total release size: 73.4 kB

Release files / termux_tts-1.1.5.tar.gz

Download URL termux_tts-1.1.5.tar.gz
Size 36.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7324536f16481cde4fd2dff10374ca2c6508c6ba44800b8c2ffdb84d93e0f073
BLAKE2b-256 checksum
How to use checksums
6b9e2e912645c4bec51d76de70f004b79339ff5337a68ab17420e5618e3752d3
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.5-py3-none-any.whl

Download URL termux_tts-1.1.5-py3-none-any.whl
Size 36.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0d75025ae955a8f29894688c2100c525c247ddb410b51d8afd20f129a9da525
BLAKE2b-256 checksum
How to use checksums
e1591ff44aa01ef457d0b5dbdde0396fe7df43d5f9f4606cfd4c237afe20f83b
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

This release

1.1.5 This release

2 release files

1.1.3

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