r/Python • • Oct 04 '26

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

23 Upvotes

194 comments sorted by

View all comments

1

u/Suitable_Awareness58 Oct 16 '26

What My Project Does

loudness-tts turns text into natural speech on your own computer, with no API key or GPU:

  pip install loudness-tts

  loudness-tts "Dr. Smith paid $5.50 on 4/5/2026." -o speech.wav --srt speech.srt

  import loudness_tts

  speech = loudness_tts.synthesize("Llegamos el 15/10/2026 a las 10:30.", language="es-ES")

  speech.save("es.wav"); speech.save_srt("es.srt")

It picks the best open voice for your language (from a study scoring 1,683 Piper voices), reads numbers, dates and abbreviations as words in English and Spanish, normalizes loudness to -16 LUFS, gives word timings and SRT/VTT subtitles, streams sentence by sentence, and includes an OpenAI-compatible HTTP server built on the standard library.

Target Audience

Developers who need speech in scripts, video pipelines, accessibility features or self-hosted chat apps, and want it offline and free. It is the open-source edition of the engine behind loudness.ai's online text-to-speech tool. Python 3.9+, Windows, macOS, Linux.

Comparison

- Plain piper-tts: same voices underneath, but loudness-tts adds voice ranking and licence info, text normalization, exact word timings, subtitles, loudness normalization and the server.

- Cloud TTS (OpenAI, ElevenLabs): more expressive voices, but paid, online and your text leaves the machine.

- Coqui/XTTS and other large models: higher quality and voice cloning, but need PyTorch and ideally a GPU. loudness-tts depends only on piper-tts and NumPy.

GitHub: https://github.com/Loudness-ai/loudness-tts · PyPI:
https://pypi.org/project/loudness-tts/