Skip to main content

Termux-TTS (Python)

PyPI Python License

Production-Grade 4-Tier On-Device Speech Synthesis Framework for Mobile & Edge (Zero-Dependency DSP Formant, C++ Vulkan GPU Neural Engine & Android Native Voice Bridge)

Installation

pip install termux-tts

1-Click Automated Engine Provisioning

termux-tts install --tier high

Quickstart

import termux_tts as tts

# 1. Studio Vulkan GPU Neural Engine
with tts.load(engine="vulkan", model_tier="high") as engine:
    result = engine.synthesize("Neural speech synthesis on mobile GPU.", output="speech.wav")
    print(f"Elapsed: {result.elapsed_ms:.1f}ms (RTF: {result.rtf:.4f}x)")

# 2. Zero-Dependency DSP Formant Mode
with tts.load(engine="dsp", preset="balanced") as engine:
    result = engine.synthesize("Instant speech generation.", output="dsp.wav")
    print(f"DSP Latency: {result.elapsed_ms:.1f}ms")

# 3. Direct Android Native Speaker Output
with tts.load(engine="native", language="en") as engine:
    engine.speak("Direct hardware speaker output.")

Benchmarks (Physical Devices)

Target Device Hardware Architecture Synthesis Engine Real-Time Factor (RTF) Status
Galaxy S25 Snapdragon 8 Elite / Adreno 830 Vulkan GPU (lessac-high-fp16) 0.993x Validated
Galaxy S25 Snapdragon 8 Elite / Adreno 830 Vulkan GPU (lessac-medium) 0.264x Validated
Galaxy A35 Exynos 1380 / Mali-G68 MP5 Vulkan GPU (lessac-medium) 1.146x Validated
ARM64 CPU All Core Profiles Parametric DSP Formant 0.0130x Validated

Documentation

License

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

Metadata

Release files for termux-tts 1.5.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.5.5
File Size Uploaded
termux_tts-1.5.5.tar.gz 76.8 kB Details

Built distribution (wheel)

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

Total release size: 151.0 kB

Release files / termux_tts-1.5.5.tar.gz

Download URL termux_tts-1.5.5.tar.gz
Size 76.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3ce88a4f56254f08d01b0031b112067afc99714283eca78b298850fcbe6f882e
BLAKE2b-256 checksum
How to use checksums
4c72150f460b63d99cec38b51f19b279759716c9150b05a52a0e4a100b781c99
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.5.5-py3-none-any.whl

Download URL termux_tts-1.5.5-py3-none-any.whl
Size 74.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d8602f61467404e0e4410e59cf85488c7e811cc30ad3a123f63824ef9dbf703
BLAKE2b-256 checksum
How to use checksums
84d158b93ee7c54f015134cfa62d4e6cdf267711fd74fe5f8dcec37d2332ca12
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.6.0

2 release files

This release

1.5.5 This release

2 release files

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

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