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!

Boris Becker:'Whoever says a prison life is easy is lying–it's real punishment'

https://www.theguardian.com/sport/2025/nov/20/boris-becker-prison-tennis-interview
1•bookofjoe•45s ago•0 comments

Fixing kernel updates not applying in Fedora 43

https://nyanpasu64.gitlab.io/blog/fixing-fedora-kernel-updates/
1•speckx•1m ago•0 comments

AWS Lambda Processing Blip?

2•twosdai•1m ago•0 comments

Study: Kids' drip paintings more like Pollock's than those of adults

https://arstechnica.com/science/2025/11/study-kids-drip-paintings-more-like-pollocks-than-adults/
1•pseudolus•2m ago•0 comments

Why is software less efficient than hardware? (kbrecordzz)

https://kbrecordzz.com/2025/11/why-is-software-so-much-less-efficient-than-hardware/
1•kbzse•2m ago•0 comments

Blue Origin says it's just getting started with the New Glenn rocket

https://arstechnica.com/space/2025/11/blue-origin-says-its-just-getting-started-with-the-new-glen...
2•themgt•4m ago•0 comments

We built 60 polymarket prediction tools for sophisticated traders

https://polytools.market
2•idogrady•4m ago•1 comments

Java Quantum Computing Library

https://github.com/vijayanandg/quantum4j
2•vijayanandg•5m ago•1 comments

Nanochat d34 model (~$2,500)

https://github.com/karpathy/nanochat/discussions/314
3•danielfalbo•7m ago•0 comments

Ask HN: Comments in Code. Yay or Nay?

3•reconnecting•8m ago•3 comments

I built a Solfeggio frequency mixer using 10 hi-def crystal bowl recordings

https://play.google.com/store/apps/details?id=com.jon.frequencystudio&hl=en_US
2•jpdingdong•9m ago•2 comments

Implementing the Pipe Operator in C# 14

https://old.reddit.com/r/csharp/comments/1p1kwqk/implementing_the_pipe_operator_in_c_14/
2•ZeroClickOk•9m ago•0 comments

Dark Patterns: Are your games playing you?

https://www.youtube.com/watch?v=OCkO8mNK3Gg
2•ericzawo•11m ago•0 comments

Data-at-Rest Encryption in DuckDB

https://duckdb.org/2025/11/19/encryption-in-duckdb
3•chmaynard•13m ago•0 comments

Symmetric Power Transformers

https://manifestai.com/articles/symmetric-power-transformers/
2•ashvardanian•14m ago•0 comments

Baserow 2.0: A secure, self-hosted alternative to Airtable with built-in AI

https://github.com/baserow/baserow
3•trevorsullivan•14m ago•2 comments

Desktop Abstraction and OS Design – Video Discussion with Sam Smith

https://www.rfleury.com/p/desktop-abstraction-and-os-design
2•chmaynard•15m ago•0 comments

3D Slime Mold Based Digit Recognition

https://neuro-physarum-mnist-19185183848.us-west1.run.app/
2•zarathrusta•15m ago•0 comments

Phylogenomics unveil origin of morphological complexity in Coleochaetophyceae

https://www.sciencedirect.com/science/article/pii/S0960982225011121
2•PaulHoule•17m ago•0 comments

ActivityPub

https://activitypub.rocks/
2•udev4096•17m ago•0 comments

Virtual Vernier Caliper

https://www.stefanelli.eng.br/en/virtual-vernier-caliper-simulator-05-millimeter/
2•bobchadwick•17m ago•0 comments

Kohler's New In-Toilet Camera for Analyzing Gut Health

https://www.core77.com/posts/139072/Kohlers-New-In-Toilet-Camera-for-Analyzing-Gut-Health
2•surprisetalk•17m ago•0 comments

We need to design new proteins [video]

https://www.youtube.com/watch?v=EsAVwOEShtU
2•surprisetalk•18m ago•0 comments

Historically Accurate Airport Dioramas by AV Pro Designs

https://www.core77.com/posts/138995/Historically-Accurate-Airport-Dioramas-by-AV-Pro-Designs
2•surprisetalk•18m ago•0 comments

AI Friends Too Cheap to Meter

https://jasmi.news/p/ai-friends
2•surprisetalk•18m ago•0 comments

Predict the Sneakers

https://www.bloomberg.com/opinion/newsletters/2025-11-20/predict-the-sneakers
2•ioblomov•18m ago•1 comments

RunC Container Escape: What Docker and Kubernetes Users Need to Know

https://www.minimus.io/post/new-vulnerabilities-in-runc-allow-container-escape-what-docker-and-ku...
2•dimastopel•20m ago•0 comments

Sigler's Law

https://en.wikipedia.org/wiki/Stigler%27s_law_of_eponymy
1•nappy-doo•22m ago•0 comments

The Company of Friends: The Miracle of BBC Radio 3

https://neilk.substack.com/p/the-company-of-friends-the-miracle
1•mellosouls•22m ago•0 comments

Peer-to-peer ephemeral public communities

https://getaether.net/
1•udev4096•22m ago•0 comments