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!

The lawyer who beat Elon Musk, twice

https://www.theverge.com/column/959270/elon-musk-open-ai-bill-savitt-twitter
1•1vuio0pswjnm7•1m ago•0 comments

Looking into the Past with Nano Banana Pro

https://jacob.gold/posts/looking-into-the-past-with-nano-banana-pro/
1•oweiler•1m ago•0 comments

Mag 7 value shrinks by $2.3T amid AI spending jitters

https://www.cnbc.com/2026/06/30/magnificent-7-stocks-sell-off-investors-grow-jittery-on-ai-spendi...
1•1vuio0pswjnm7•2m ago•0 comments

Reply to: On the robustness of topological gap detection via transport

https://www.nature.com/articles/s41586-026-10568-7
1•doener•6m ago•0 comments

Amazon EC2 C9g and C9gd instances powered by AWS Graviton5 now available

https://aws.amazon.com/blogs/aws/amazon-ec2-c9g-and-c9gd-instances-powered-by-aws-graviton5-proce...
1•synack•6m ago•0 comments

Hyperbola declines FSF stance regarding machine learning (2024)

https://www.hyperbola.info/news/hyperbola-declines-fsf-stance-regarding-machine-learning/
1•keyle•6m ago•0 comments

Meta loses bid to dismiss states' claims Facebook, Instagram addict children

https://www.reuters.com/legal/government/meta-loses-bid-dismiss-us-states-claims-that-facebook-in...
1•1vuio0pswjnm7•9m ago•0 comments

Persona Fails on Vertical IDs

https://mketab.org/blog/broken_persona/
1•wps•10m ago•0 comments

Study reveals what people see when they read lips

https://news.ku.edu/news/article/study-reveals-what-people-really-see-when-they-read-lips
1•giuliomagnifico•12m ago•0 comments

Matrix Orthogonalization Improves Memory in Recurrent Models

https://ayushtambde.com/blog/matrix-orthogonalization-improves-memory-in-recurrent-models/
4•at2005•20m ago•0 comments

AI systems out-persuade expert humans

https://arxiv.org/abs/2606.16475
2•heyimada•21m ago•0 comments

The first early human eggs from stem cells

https://www.conception.bio/science-and-updates/the-first-early-human-eggs-from-stem-cells
8•dsr12•23m ago•2 comments

The Job archetypes of the future, according to Claude Code's creator

https://www.businessinsider.com/job-archetypes-ai-claude-codes-boris-cherny-2026-6
2•backlit4034•24m ago•0 comments

From Slop to Determinism – Shifting the Narrative Space

2•pyeri•26m ago•0 comments

The coach-horn: what to blow and how to blow it (1907)

https://www.gutenberg.org/ebooks/78978
2•petethomas•26m ago•0 comments

Investigating Linux Graphics

https://roscidus.com/blog/blog/2025/06/24/graphics/
3•signa11•31m ago•0 comments

We pay engineers to cut our infra bill

https://rootly.com/blog/we-pay-engineers-to-cut-our-infra-bill
4•backlit4034•31m ago•0 comments

RFC 9980 Post-Quantum Cryptography in OpenPGP

https://www.rfc-editor.org/info/rfc9980/
2•ognyankulev•31m ago•0 comments

Anthropic Is Hitting a Wall

https://www.vincentschmalbach.com/anthropic-is-hitting-a-wall/
3•vincent_s•32m ago•0 comments

What's new in Claude Sonnet 5

https://simonwillison.net/2026/Jun/30/claude-sonnet-5/
6•ankitg12•35m ago•0 comments

Indigenous leaders criticize claim that Ontario evacuees burdening Niagara Falls

https://www.theglobeandmail.com/canada/article-kashechewan-first-nation-evacuees-niagara-falls/
2•petethomas•39m ago•0 comments

GSApp2AppImage: Bundle a GNUStep app as a standalone AppImage

https://lists.gnu.org/archive/html/discuss-gnustep/2026-06/msg00000.html
2•tedge•40m ago•1 comments

Anthropic says US lifts export ban on Fable 5

https://www.bbc.com/news/articles/cdr42623e1do
4•tobr•45m ago•1 comments

ESA declares private Minecraft servers 'illegal' in StopKillingGames hearing

https://www.pcgamer.com/gaming-industry/esa-bafflingly-declares-private-minecraft-servers-illegal...
3•N_Lens•46m ago•0 comments

The Supreme Court just worsened the Democrats's fundraising

https://www.politico.com/news/2026/06/30/the-supreme-court-just-made-the-dncs-fundraising-woes-a-...
2•Alien1Being•48m ago•0 comments

Commerce Department gives green light for Anthropic to bring back Fable 5

https://www.nbcnews.com/business/business-news/commerce-department-gives-green-light-anthropic-br...
4•rw2•51m ago•1 comments

Show HN: The Sword of Ghix – a retro game made by a 13 yo with AI Assisted tools

https://paulinatorrr.itch.io/sword-of-ghix-chapter-1
3•fredliu•52m ago•2 comments

Google sunsets Tenor API, breaking GIFs in Discord and X

https://aiweekly.co/alerts/google-sunsets-tenor-api-breaking-gifs-in-discord-and-x
2•Gaishan•54m ago•2 comments

GovScape lets you easily search government documents

https://www.washington.edu/news/2026/06/24/govscape-lets-you-easily-search-millions-of-government...
3•gnabgib•58m ago•0 comments

Fable 5 up to 50% of weekly usage limits through July 7

https://twitter.com/theo/status/2072173365318840573
3•bentaber•58m ago•2 comments