frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: I built a GUI/API wrapper for Piper TTS to handle large files

https://github.com/MaximosMK/piper-tts-api-demo
1•MaximosMK•1y ago

Comments

MaximosMK•1y ago
Hi HN,

I often found myself wanting to convert large text files (like book chapters or long articles) into audio using the excellent open-source Piper TTS engine. Handling very large inputs directly can be a bit tricky, and I wanted a smoother workflow.

So, I built this project: 1. A simple Flask/Gunicorn API server (`server/piper_api.py`) that wraps the Piper executable. 2. A PySide6 GUI client (`client/piper_api_gui.py`) that interacts with the server.

The key feature is that the client automatically splits large text files into smaller chunks (sentence-like segments), sends these chunks to the API server to be processed in parallel (using Python's `ThreadPoolExecutor`), and then combines the resulting WAV audio snippets back into a single file. This makes synthesizing long texts much more manageable and faster than doing it sequentially.

The tech stack is Python, Flask, Gunicorn, PySide6, and Requests. It's all open source on GitHub.

Happy to answer any questions or hear feedback!

Situational Awareness got the future right but misread the past

https://www.ft.com/content/20af5836-51b0-4a37-a820-9de1583a18b4
1•sbulaev•1m ago•0 comments

Google Just Ruined One of Its Most Important Tools

https://www.theatlantic.com/technology/2026/07/google-earth-ai-images/688145/
1•sbulaev•1m ago•0 comments

Demographic Profiles

https://visquill.com/gallery/world-demographics/
1•gmays•2m ago•0 comments

AI migrated legacy COBOL programs to Java, bugs included

https://arxiv.org/abs/2607.28271
1•felineflock•2m ago•0 comments

Trump offering early access to online posts

https://www.theguardian.com/us-news/2026/aug/01/trump-truth-social-early-access
1•hrldcpr•4m ago•0 comments

World-renowned mountaineer Nirmal Purja confirmed dead after Pakistan avalanche

https://www.cnn.com/2026/08/01/asia/climber-nirmal-purja-killed-avalanche-pakistan-intl
1•ashu1461•4m ago•1 comments

I'm (mostly) picking models on speed now, not intelligence

https://martinalderson.com/posts/speed-vs-intelligence/
2•vinhnx•5m ago•0 comments

Show HN: AI Visibility: Check whether ChatGPT/Claude/Gemini recommend your brand

https://aivisibility.pro/
1•Baliy•5m ago•0 comments

Demystifying Deep Learning Compiler Front End Bugs: An LLM-Aided Empirical Study

https://arxiv.org/abs/2607.25651
1•matt_d•7m ago•0 comments

Apple engineer says he was fired after refusing to send cust. device IDs to AT&T

https://runtimewire.com/article/exclusive-apple-engineer-says-he-was-fired-after-refusing-to-send...
3•ryanmerket•7m ago•0 comments

South Korea records its highest

https://www.theguardian.com/world/2026/aug/03/south-korea-highest-temperature
1•tosh•10m ago•0 comments

Alexander Graham Bell's Tetrahedral Kites (1903–9)

https://publicdomainreview.org/collection/alexander-graham-bell-s-tetrahedral-kites-1903-9/
2•tzury•11m ago•0 comments

Ask HN: What Is Stripe Today?

1•Taikhoom2010•12m ago•0 comments

Show HN: AI Face Analyzer

https://lookblueprint.com
1•nuco•13m ago•0 comments

Be the best in the world, for a few real people

https://herbertlui.net/be-the-best-in-the-world-for-a-few-real-people/
1•herbertl•23m ago•0 comments

Don't Pave the Cow Path

https://alearningaday.blog/2026/08/02/dont-pave-the-cow-path/
1•herbertl•25m ago•0 comments

Aquila Voice Assistant Test Suite for Home Assistant

1•aquila416•26m ago•0 comments

The Shooter Didn't Expect This [video]

https://www.youtube.com/watch?v=XXXKnUnc8Sg
1•Bender•29m ago•0 comments

First open-source firmware for AM5 officially launches

https://www.tomshardware.com/pc-components/motherboards/first-open-source-firmware-for-am5-offici...
1•peter_d_sherman•30m ago•0 comments

Print Your Speakers

https://printyourspeakers.com
1•michael_michael•32m ago•0 comments

Qwen 3.8-Max and Qwen3.8-27B are going open weight

https://twitter.com/Alibaba_Qwen/status/2084100707423289643
3•ahmadawais•33m ago•3 comments

MiniMax-H3 weights are up

https://huggingface.co/MiniMaxAI/MiniMax-H3
2•dagaci•35m ago•1 comments

OpenAI's super PAC is funding AI-generated news site attacking industry critics

https://www.modelrepublic.org/articles/the-reporters-at-this-news-site-are-ai-bots.-openai%E2%80%...
5•JSR_FDED•38m ago•1 comments

PirateBox: An "artistic provocation" in lunchbox form (2011)

https://arstechnica.com/tech-policy/2011/01/piratebox-an-artistic-provocation-in-lunchbox-form/
1•cardamomo•43m ago•0 comments

Local vs. Frontier: Benchmarks for My Digital Nervous System

https://humanparadox.org/local-vs-frontier-benchmarks-for-my-personal-assistant/
1•colingauvin•44m ago•0 comments

Southern California radio station lays off staff switches to all-music format

https://ktla.com/news/california/socal-radio-station-lays-off-entire-staff/
2•Bender•44m ago•0 comments

OneRaccoonAway – Jimothy-inspired Seattle bus times

https://www.oneraccoonaway.org/
1•aaronbrethorst•46m ago•0 comments

Linux 7.2-Rc6 Released: "This RC Is Huge"

https://www.phoronix.com/news/Linux-7.2-rc6-Released
2•Bender•46m ago•0 comments

Qwen 3.8 Max Live Now

https://www.qwencloud.com/models/qwen3.8-max
20•zkmon•49m ago•2 comments

The VP is not ignoring you

https://ganzefolge.substack.com/p/the-vp-isnt-ignoring-you
1•neinasaservice•51m ago•0 comments