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!

OpenAI Loses Key Discovery Battle as It Cedes Ground to Authors in AI Lawsuits

https://www.hollywoodreporter.com/business/business-news/openai-loses-key-discovery-battle-why-de...
1•CharlesW•1m ago•0 comments

Show HN: Splintr – Rust BPE tokenizer, 12x faster than tiktoken for batches

https://github.com/farhan-syah/splintr
1•fs90•1m ago•0 comments

Ask HN: Why would you downvote without replying?

1•txrx0000•2m ago•0 comments

How 'Stranger Things' Defined the Era of the Algorithm

https://www.nytimes.com/interactive/2025/11/26/arts/television/stranger-things-streaming-netflix....
1•pseudolus•3m ago•1 comments

Warning: The Fed Can't Rescue AI

https://paulkrugman.substack.com/p/warning-the-fed-cant-rescue-ai
3•xqcgrek2•7m ago•0 comments

Apple's Preventing Some Apps from Working on Older iPhones [video]

https://www.youtube.com/watch?v=WXqVV8_GORE
1•barbs•11m ago•0 comments

Collabora Online Desktop Released with Improved UI from LibreOffice

https://www.collaboraonline.com/blog/collabora-online-now-available-on-desktop/
1•nogajun•12m ago•0 comments

Why is OpenAI lying about the data its collecting on users?

2•kypro•13m ago•0 comments

What Does "Capitalism" Mean, Anyway?

https://www.newyorker.com/magazine/2025/12/01/capitalism-a-global-history-sven-beckert-book-review
2•pseudolus•13m ago•1 comments

SM9 – Chinese National Cryptography Standard

https://en.wikipedia.org/wiki/SM9_(cryptography_standard)
1•uneven9434•14m ago•0 comments

Taking down Next.js servers for 0.0001 cents a pop

https://www.harmonyintelligence.com/taking-down-next-js-servers
6•polymathist•15m ago•1 comments

IPSW.me – Download iOS Firmware

https://ipsw.me/
1•uneven9434•16m ago•0 comments

Designable Emergence: The Next Frontier After the Artificial Nucleolus

https://medium.com/@peter_9588/designable-emergence-the-next-frontier-after-the-artificial-nucleo...
1•aniijbod•19m ago•0 comments

2025 Edelman Trust Barometer Flash Poll: Trust and AI at a Crossroad [pdf]

https://www.edelman.com/sites/g/files/aatuss191/files/2025-11/2025%20Edelman%20Trust%20Barometer%...
2•layer8•19m ago•0 comments

Beep-8: A Fantasy Console with an ARM-Based Architecture and C/C++ SDK

https://github.com/beep8/beep8-sdk
3•beep8_official•22m ago•1 comments

Dead, 279 missing in Hong Kong fire

https://www.scmp.com/news/hong-kong/society/article/3334217/major-fire-hong-kongs-tai-po-leaves-2...
3•nsoonhui•22m ago•1 comments

Show HN: Statements to Sheets – Convert Bank Statement PDFs to CSV

https://statementstosheets.com
2•spiked•25m ago•1 comments

DSP 101 Part 1: An Introductory Course in DSP System Design

https://www.analog.com/en/resources/analog-dialogue/articles/dsp-101-part-1.html
1•teleforce•30m ago•0 comments

Has the bailout of generative AI begun?

https://garymarcus.substack.com/p/has-the-bailout-of-generative-ai
3•chmaynard•36m ago•0 comments

The weirdest tool I own is also one of the most useful

https://www.zdnet.com/article/the-weirdest-tool-i-own-is-also-one-of-the-most-useful-and-its-14-o...
1•fcpguru•46m ago•0 comments

What we know about the Hong Kong apartment fires

https://www.bbc.com/news/articles/cdxe9r7wjgro
2•thunderbong•47m ago•0 comments

To Meld A.I. With Supercomputers, National Labs Are Picking Up the Pace

https://www.nytimes.com/2025/11/20/technology/national-laboratories-ai-supercomputers.html
1•bookofjoe•49m ago•1 comments

Chinese Pharma Is on the Cusp of Going Global

https://www.economist.com/china/2025/11/23/chinese-pharma-is-on-the-cusp-of-going-global
1•m463•50m ago•0 comments

AdBlock and Signal are for terrorists, according to the French government [video]

https://www.youtube.com/watch?v=1q1hjmwLqe4
10•pabs3•52m ago•1 comments

Show HN: HN Alerts

https://hnalerts.com/
2•davidbarker•53m ago•0 comments

Is France standing up for encryption and privacy?

https://tuta.com/blog/france-law-encryption
2•pabs3•54m ago•0 comments

SmartTube App Publishing Key Exposed

https://www.patreon.com/posts/144473602
1•akersten•54m ago•0 comments

The GitHub Infrastructure Powering North Korea's Contagious Interview NPM

https://socket.dev/blog/north-korea-contagious-interview-npm-attacks
1•feross•55m ago•0 comments

Education your developers never got

https://doingsoftwarewrong.com/blog/support-as-learning/
1•ChunkyAu•56m ago•2 comments

Big batteries hit world-leading 40 pct share of evening demand

https://reneweconomy.com.au/big-batteries-hit-world-leading-40-pct-share-of-evening-demand-in-stu...
2•locallost•1h ago•0 comments