frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•12mo ago

Comments

MaximosMK•12mo 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!

Give First, Build Right with Eric Ries

https://feld.com/archives/2026/04/give-first-build-right-with-eric-ries/
1•wslh•42s ago•0 comments

Tindie Now Owned by EETree

https://blog.adafruit.com/2026/04/29/tindie-is-back-online-and-now-owned-by-eetree-llc-a-suzhou-f...
1•abetusk•1m ago•0 comments

Address by King Charles III Before the U.S. Congress

https://brucebartlett.substack.com/p/address-by-king-charles-iii-before
1•zdw•1m ago•0 comments

A New Drug Concept to Treat Obesity and Type 2 Diabetes

https://idw-online.de/en/news870041
1•geox•2m ago•0 comments

Laws of UX

https://lawsofux.com/
2•bobbiechen•3m ago•0 comments

Tell HN: Apple iOS Password app loses passwords after added

2•kingleopold•3m ago•0 comments

Why Software Needs a Third Loop [audio]

https://www.heavybit.com/library/podcasts/third-loop/ep-3-give-it-a-name-why-software-needs-a-thi...
2•mooreds•5m ago•0 comments

Rise of the Forward Deployed Engineer

https://www.hfsresearch.com/research/fde-optional-ai-flywheel-spin/
3•nipponese•7m ago•1 comments

The Chip That Made Hardware Rewriteable

https://spectrum.ieee.org/fpga-chip-ieee-milestone
2•Brajeshwar•8m ago•0 comments

Virtualisation on Apple Silicon Macs is different

https://eclecticlight.co/2026/04/29/virtualisation-on-apple-silicon-macs-is-different/
2•zdw•10m ago•0 comments

Google Moves Forward with Pentagon AI Deal Despite Employee Pushback

https://www.cnet.com/tech/services-and-software/google-reportedly-signs-pentagon-ai-deal-despite-...
3•01-_-•10m ago•0 comments

Maryland becomes first state to ban surveillance pricing in grocery stores

https://www.theguardian.com/technology/2026/apr/29/maryland-grocery-stores-ban-surveillance-pricing
2•01-_-•11m ago•0 comments

We Tried Popular Linux Gaming Distros

https://www.lttlabs.com/articles/2026/04/29/we-tried-popular-linux-gaming-distros
2•LabsLucas•12m ago•1 comments

The USB Situation

https://randsinrepose.com/archives/the-usb-situation/
2•herbertl•12m ago•0 comments

EU bans for projects using Chinese inverters–will move the needle on cybersec?

https://www.pv-tech.org/eu-bans-funding-for-chinese-inverters-solar-cybersecurity/
2•dpXdq•13m ago•0 comments

A theoretical bridge between quantum physics and non-dual philosophy

https://pubs.aip.org/aip/adv/article/15/11/115319/3372193/Universal-consciousness-as-foundational...
2•bookofjoe•13m ago•0 comments

Chris Paik: The Rise of Veblen Services

https://docs.google.com/document/d/1zFNSbjGdrRryiDgr8nCnlRS-7u9oxUUCHg2X3tXve4g/edit?tab=t.4jhbi7...
1•jger15•13m ago•0 comments

Mercury now allows you to manage your finances through the CLI

https://github.com/MercuryTechnologies/mercury-cli
1•0xpiguy•14m ago•0 comments

The anti-AI position has an information problem

https://www.jonatkinson.co.uk/blog/anti-ai-information-problem/
2•JonAtkinson•15m ago•0 comments

I'm Making Strandfall, a Solarpunk Orienteering Larp

https://mssv.net/2026/04/29/im-making-strandfall-a-solarpunk-orienteering-larp/
2•adrianhon•15m ago•0 comments

Build programmatic agents with the Cursor SDK

https://cursor.com/blog/typescript-sdk
1•n2parko•17m ago•0 comments

AI Coding Firm Cognition in Funding Talks at $25B Value

https://www.bloomberg.com/news/articles/2026-04-23/ai-coding-firm-cognition-in-funding-talks-at-2...
2•gmays•18m ago•0 comments

Show HN: GrandPerspective-style treemaps for the web and disk usage visualizer

https://imbue-ai.github.io/gp-treemap/gallery/
1•thad_imbue•18m ago•0 comments

Because It Doesn't Have To

https://blog.computationalcomplexity.org/2026/04/because-it-doesnt-have-to.html
1•zdw•19m ago•0 comments

What Happens If a Merge Queue Builds on the Wrong Commit

https://trunk.io/blog/what-happens-if-a-merge-queue-builds-on-the-wrong-commit
1•elischleifer•19m ago•0 comments

'It took nine seconds': Claude AI agent deletes company's database

https://www.the-independent.com/tech/claude-ai-agent-deletes-startup-anthropic-b2966176.html
1•bigbugbag•21m ago•1 comments

Slow Down to Speed Up

https://dhruvasagar.dev/posts/slow-down-to-speed-up/
1•lisperforlife•26m ago•0 comments

Humanoid robots start sorting luggage in Tokyo airport test amid labor shortage

https://arstechnica.com/ai/2026/04/japan-airlines-tests-having-robots-instead-of-humans-handle-tr...
2•Brajeshwar•27m ago•0 comments

The Mix-Up at the Heart of the Supreme Court's Conversion Therapy Ruling

https://nautil.us/the-mix-up-at-the-heart-of-the-supreme-courts-conversion-therapy-ruling-1280307
2•Tomte•28m ago•0 comments

IATA Chief Warns of Possible Jet Fuel Shortages This Summer

https://airlinegeeks.com/2026/04/28/iata-chief-warns-of-possible-jet-fuel-shortages-this-summer/
2•cf100clunk•28m ago•0 comments