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 IRS Moved IT and HR Staff to Process Taxes. It's Not Going Well

https://www.notus.org/policy/irs-tax-processing-detail-hr-it-test
2•everybodyknows•3m ago•0 comments

Tech Influence Watch

https://influence.citationneeded.news/
1•Tomte•3m ago•0 comments

Turn a $3M AI bill into $1.9M

https://willhackett.com/opus-tax/
1•speckx•4m ago•0 comments

We Saw What AI Data Centers Don't Want You to See [video]

https://www.youtube.com/watch?v=5p426fSlYH4
1•askl•6m ago•0 comments

Judge blocks Trump's $100k H-1B visa fee

https://www.cnbc.com/2026/06/08/trump-h1b-visa-fee-blocks.html
2•goshx•9m ago•0 comments

Nex N2 Pro: Frontier agentic performance at 400B

https://huggingface.co/nex-agi/Nex-N2-Pro
2•himata4113•10m ago•0 comments

When is detecting AI-generated text worthwhile?

https://statmodeling.stat.columbia.edu/2026/06/06/when-is-detecting-ai-generated-text-worthwhile/
1•caminanteblanco•10m ago•0 comments

Egg Allergy Prevalence Before and After Guidelines for Earlier Egg Introduction

https://jamanetwork.com/journals/jamapediatrics/article-abstract/2849462
2•michaefe•11m ago•0 comments

A CS new grad applied to 200 internships, landed only one unpaid role

https://twitter.com/Hesamation/status/2054695714148556822
2•USTECH_WORKER•11m ago•0 comments

The weather and climate science AI revolution isn't revolutionary

https://arstechnica.com/science/2026/06/the-weather-and-climate-science-ai-revolution-isnt-revolu...
1•counters•11m ago•0 comments

Steven Spielberg Does 2001: A Space Odyssey on the Rewatchables

https://blog.mattglassman.net/steven-speilberg-on-the-rewatchables/
1•speckx•12m ago•0 comments

We Cut Semgrep's Taint Analysis Time by 75%

https://semgrep.dev/blog/2026/how-we-cut-semgreps-taint-analysis-time-by-75-percent/
2•ajbt200128•14m ago•0 comments

Jailed crypto founder Sam Bankman-Fried seeks Trump pardon

https://www.bbc.com/news/articles/cjwgd6jqd5do
1•reconnecting•14m ago•1 comments

Hands on with Intelligent Terminal, an AI-Powered Windows Terminal

https://www.bleepingcomputer.com/news/microsoft/hands-on-with-intelligent-terminal-an-ai-powered-...
1•thunderbong•18m ago•0 comments

Show HN: ListenDock now supports free TTS and bring-your-own API keys

https://listendock.com
1•janpmz•19m ago•0 comments

Three Regimes. One model. Yet none speak to the Deployer

https://www.cognitivefusion.systems/insights/glasswing-004
1•JohnsonSLC•19m ago•0 comments

Apple's WWDC conference kicks off, investors want to know if AI will save Siri

https://www.reuters.com/business/apples-wwdc-conference-kicks-off-investors-want-know-if-ai-will-...
1•tartoran•21m ago•0 comments

Are We Designing Products for Users or for AI Agents?

https://medium.com/@csal_19296/what-happens-when-we-start-designing-for-ai-instead-of-people-103e...
1•plr_cl•23m ago•0 comments

Claude Dynamic Workflows Inaccurate Permissions Docs

https://www.promptarmor.com/resources/claude-dynamic-workflows-use-incorrect-permissions
1•hackerBanana•23m ago•0 comments

Why Doesn't Apple Take Action Against App Store Copycats?

https://www.kapwing.com/blog/apples-inadequate-response-to-app-store-trademark-fraud/
3•jenthoven•23m ago•0 comments

Full Reverse Engineering of the TI-84 Plus Operating System

https://siraben.github.io/ti84p-re/
18•siraben•24m ago•0 comments

Apple Announces Liquid Glass Improvements and Transparency Slider

https://www.macrumors.com/2026/06/08/apple-announces-liquid-glass-improvements/
2•samtheDamned•25m ago•0 comments

Test Coverage Won't Save You

https://forestwalk.ai/blog/test-coverage-wont-save-you-from-incoherence/
1•jeromechoo•25m ago•0 comments

Sam Bankman-Fried files for a presidential pardon from Trump

https://www.theblock.co/post/404001/ftx-sam-bankman-fried-officially-files-presidential-pardon-trump
3•Anon84•25m ago•0 comments

Apple unveils new Siri AI, dedicated app, enhanced Apple Intelligence in iOS27

https://9to5mac.com/2026/06/08/new-siri-whats-new/
1•mmq•25m ago•0 comments

A Git/LFS-backed unified tool-output format for AI agents, with 95% token cut

https://old.reddit.com/r/codex/comments/1u0amqg/a_gitlfsbacked_unified_format_of_tool_output_for/
2•syumei•26m ago•0 comments

Why all new flags look the same

https://www.worksinprogress.news/p/good-design-is-ruining-american-flags
3•deunamuno•27m ago•1 comments

Repair Cafes urge consumers to fix their goods, not toss them

https://apnews.com/article/repair-cafes-economy-anticonsumerism-affordability-buy-nothing-d3acac3...
1•geox•27m ago•0 comments

Hard truths about (some) US farmers

https://www.youtube.com/watch?v=pgdLYugmkX8
1•darth_avocado•27m ago•0 comments

Show HN: A 15-minute backup audit framework for self-hosted homelabs

https://scholar.0xpi.com/blog/homelab-backup-audit-checklist
1•scholarnet-AI•27m ago•0 comments