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

Comments

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

America Is Flying Blind on Immigration

https://www.apricitas.io/p/america-is-flying-blind-on-immigration
1•m-hodges•36s ago•0 comments

Meta considering cuts to Metaverse division

https://daringfireball.net/2025/12/meta_says_fuck_that_metaverse_shit
1•linhns•2m ago•0 comments

Can ChatGPT Land an Airplane?

https://www.youtube.com/watch?v=TLMBu0KxTnU
1•sacs0ni•3m ago•0 comments

Saudi Arabia Will Sell You Alcohol Now, If You're Rich Enough

https://www.nytimes.com/2025/12/06/world/middleeast/saudi-arabia-alcohol-riyadh-store.html
1•bookofjoe•4m ago•1 comments

AWS Graviton5 Strikes a Different Balance for Server CPUs

https://www.nextplatform.com/2025/12/04/aws-graviton5-strikes-a-different-balance-for-server-cpus/
2•rbanffy•4m ago•0 comments

Paramount launches $108.4B hostile bid for Warner Bros Discovery

https://www.theguardian.com/business/2025/dec/08/paramount-skydance-warner-bros-bid
1•n1b0m•5m ago•0 comments

Exercise-induced extracellular vesicles increase adult hippocampal neurogenesis

https://www.sciencedirect.com/science/article/pii/S0006899325005669?via%3Dihub
1•PaulHoule•6m ago•0 comments

Training Ising Machines with Equilibrium Propagation

https://idp.nature.com/authorize?response_type=cookie&client_id=grover&redirect_uri=https%3A%2F%2...
1•tesserato•6m ago•0 comments

The Universal Weight Subspace Hypothesis

https://arxiv.org/abs/2512.05117
1•handojin•8m ago•1 comments

Lance Armstrong on Chicago-Based Schwinn

https://www.chicagotribune.com/2025/12/04/lance-armstrong-schwinn-chicago-documentary/
1•thunderbong•9m ago•0 comments

Google's Gemini AI Is Overwriting Volunteer Work on Support Mozilla

https://www.quippd.com/writing/2025/12/08/mozillas-betrayal-of-open-source-googles-gemini-ai-is-o...
1•speckx•9m ago•0 comments

Show HN: PyGraphina – A Graph Library for Python

1•habedi0•11m ago•1 comments

Narrative String Theory (NST)-String walls littered with paperwork by obsessives

https://www.vaultofculture.com/nst
1•sogen•12m ago•0 comments

X bans EU ad account over 'exploit' used to announce €120M fine

https://techoreon.com/x-bans-eu-commission-ad-account-120m-fine/
8•ashishgupta2209•12m ago•0 comments

Online Business

1•totamania•12m ago•0 comments

Trump EPA Nearly Doubles Amount of Formaldehyde Considered Safe to Inhale

https://www.propublica.org/article/epa-formaldehyde-risk-assessment
3•hn_acker•12m ago•1 comments

VK_EXT_present_timing: The Journey to Frame Pacing in Vulkan

https://www.khronos.org/blog/vk-ext-present-timing-the-journey-to-state-of-the-art-frame-pacing-i...
1•ibobev•16m ago•0 comments

Focus on Your Algorithm–Nvidia CUDA Tile Handles the Hardware

https://developer.nvidia.com/blog/focus-on-your-algorithm-nvidia-cuda-tile-handles-the-hardware/
1•ibobev•16m ago•0 comments

The IMP programming language and compiler [pdf]

https://www.ancientgeek.org.uk/EMAS/EMAS_Papers/The_IMP_language_and_compiler.pdf
1•fanf2•16m ago•0 comments

AI Craze Just Made Your New PC Build More Expensive

https://itsfoss.com/news/ai-causes-ram-prices-skyrocket/
3•speckx•16m ago•0 comments

A rotten system ensures miscarriages of justice will continue

https://theconversation.com/convicting-the-innocent-how-a-rotten-system-ensures-miscarriages-of-j...
3•YeGoblynQueenne•17m ago•0 comments

GLM-4.6V

https://z.ai/blog/glm-4.6v
2•mudkipdev•18m ago•0 comments

Why Text in Vampire Survivors Used to Look Like This

https://jslegenddev.substack.com/p/why-text-in-vampire-survivors-used
1•ibobev•18m ago•0 comments

Economic Confidence Slips; Holiday Spending Plans Plummet

https://news.gallup.com/poll/699311/economic-confidence-slips-holiday-spending-plans-plummet.aspx
1•hn_acker•19m ago•0 comments

Most Lebanese Say Only Army Should Have Weapons

https://news.gallup.com/poll/699071/lebanese-say-army-weapons.aspx
2•hn_acker•20m ago•0 comments

Scientists capture most detailed look inside DNA droplets

https://www.sciencedaily.com/releases/2025/12/251208014625.htm
1•ashishgupta2209•21m ago•0 comments

Show HN: Transcribe Any YouTube Video – Fast Caption Extraction

https://youtubetotranscript.org/
3•reverseCh•23m ago•0 comments

Tsunami warning issued after 7.6-magnitude earthquake strikes Japan

https://earthquake.usgs.gov/earthquakes/map/?currentFeatureId=us6000rtdt&extent=-5.61599,111.2695...
48•oumua_don17•25m ago•1 comments

I Successfully Recreated the 1996 Space Jam Website with Claude

https://theahura.substack.com/p/i-successfully-recreated-the-1996
14•theahura•25m ago•8 comments

Twitter Claims It Banned the EC's Ad Account. The EC Hadn't Used Ads for 2 Years

https://gizmodo.com/x-claims-it-banned-the-european-commissions-ad-account-it-says-it-wasnt-using...
7•phoronixrly•27m ago•1 comments