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

Comments

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

Restaurant Shift Scheduling via Linear Optimization and Staff Constraints

1•emmahexa•27s ago•0 comments

Algebris CEO Warns of 'Significant' Correction for Big AI Stocks

https://www.bloomberg.com/news/articles/2025-11-19/algebris-ceo-warns-of-significant-correction-f...
1•zerosizedweasle•5m ago•0 comments

Testing Out Time Travel with DuckLake

https://datamethods.substack.com/p/testing-out-time-travel-with-ducklake
2•zekrom•8m ago•0 comments

Microsoft admits almost all major Windows 11 core features are broken

https://www.neowin.net/news/microsoft-finally-admits-almost-all-major-windows-11-core-features-ar...
3•josephcsible•11m ago•0 comments

AI Caught in a Lie: A Corrective Conversation with Perplexity AI

https://shastasfog.wordpress.com/2024/10/23/ai-caught-in-a-lie-a-corrective-conversation-with-per...
1•Pocomon•12m ago•1 comments

Rust: No Linux/Proton, says games supporting them 'not serious about anti-cheat'

https://www.pcgamer.com/games/survival-crafting/rust-developer-has-no-plans-for-linux-or-proton-s...
1•josephcsible•12m ago•0 comments

Ask HN: How would you architect a RAG system for 10M+ documents today?

2•Ftrea•15m ago•0 comments

Toward fast, containerized, user-space filesystems

https://lwn.net/Articles/1044432/
2•signa11•17m ago•0 comments

Show HN: Changelogai.to – Turn GitHub Commits into Changelogs with AI

https://changelogai.to/
2•ivanramos•19m ago•0 comments

Cell-Free Platform for 1-Alkene Production Using Engineered Metalloenzyme UndB

https://pubs.acs.org/doi/10.1021/acscentsci.5c01099
2•PaulHoule•23m ago•0 comments

Al-Shabaab Hacks MN Welfare Process

https://www.thecentersquare.com/minnesota/article_4ec1e3b3-1503-451d-8e50-25d2607568e5.html
2•mensetmanusman•23m ago•0 comments

Show HN: Boostyourreach.io – improve LinkedIn reach by changing your identity

https://boostyourreach.io/
2•hermit85•25m ago•0 comments

Nursing Excluded as 'Professional' Degree by Department of Education

https://nurse.org/news/nursing-excluded-as-professional-degree-dept-of-ed/
50•ourmandave•25m ago•13 comments

Moss in space: spores survive nine-month ride on outside of ISS

https://www.theguardian.com/science/2025/nov/20/moss-spores-survive-outside-international-space-s...
2•pseudolus•27m ago•0 comments

The 'toughest crop': Can tech help cardamom farmers?

https://www.bbc.com/news/articles/cn0g2xxnrj3o
2•1659447091•31m ago•0 comments

YASA (Yet Another Static Analyzer)

https://github.com/antgroup/YASA-Engine
2•adgnaf•32m ago•1 comments

Ultrasonic device dramatically speeds harvesting of water from the air

https://news.mit.edu/2025/ultrasonic-device-dramatically-speeds-harvesting-water-air-1118
3•gmays•34m ago•0 comments

Kyber vs. RSA-2048

https://blog.ellipticc.com/posts/kyber-vs-rsa-2048/
3•iliasabs•43m ago•1 comments

Alphabet's Intrinsic Forms Joint Venture with Foxconn

https://www.intrinsic.ai/blog/posts/foxconn-and-intrinsic-launch-joint-venture-to-build-the-ai-fa...
2•kscottz•46m ago•0 comments

Why top firms paradoxically fire good workers

https://www.rochester.edu/newscenter/employee-turnover-why-top-firms-churn-good-workers-681832/
3•hhs•50m ago•0 comments

Keys Inc. Proposes U.S. National Locksmith Licensing

https://www.locksmithledger.com/home/article/55302123/keys-inc-proposes-national-locksmith-licensing
2•walterbell•52m ago•0 comments

Report URI – Script and Style Hasher for CSP

https://report-uri.com/home/hash
2•Brysonbw•53m ago•0 comments

Lecture on the Wigner-Dyson nearest-neighbour distribution

https://github.com/msuzen/leymosun/blob/main/lectures/wigner_dyson_spacing.ipynb
2•northlondoner•54m ago•1 comments

Homeschooling Hits Record Numbers

https://reason.com/2025/11/19/homeschooling-hits-record-numbers/
8•bilsbie•54m ago•0 comments

"I'm Building an Algorithm That Doesn't Rot Your Brain" Jack Conte

https://www.youtube.com/watch?v=EO14wPQw89c
3•kalinkochnev•56m ago•0 comments

Ancient ‘animal GPS’ identified in magnetic fossils

https://www.cam.ac.uk/research/news/ancient-animal-gps-identified-in-magnetic-fossils
3•hhs•59m ago•0 comments

Samuel Johnson's Online Dictionary

https://johnsonsdictionaryonline.com/index.php
2•gaws•1h ago•0 comments

Suno is the walking dead, the new Napster 2.0

https://jperla.com/blog/suno-walking-dead
4•ljlolel•1h ago•0 comments

Use Reading Mode in Chrome

https://support.google.com/chrome/answer/14218344?hl=en
2•kamaraju•1h ago•0 comments

RI judge intervenes after ICE mistakenly detains Superior Court intern

https://www.wpri.com/news/local-news/providence/ri-judge-intervenes-after-ice-mistakenly-detains-...
15•vm•1h ago•4 comments