Some novels that I want to read don’t have audiobooks so I’m looking for a foss text to speech software that help with this.
It really depends on your use case. If you want something that sounds pretty okay, and is decently fast, Piper fits the bill. However, this is just a command line TTS system; you’ll need to build all the supporting infrastructure if you want it to read audiobooks. https://github.com/rhasspy/piper
An extension for the free and open source NVDA screen reader to use piper lives here: https://github.com/mush42/piper-nvda
If you want something that can run in realtime, though sounds somewhat robotic, you want dectalk. This repo comes with libraries and dlls, as well as several sample applications. Note, however, that the licensing status of this code is…uh…dubious to say the least. Dectalk was abandonware for years, and the developer leaked the sourcecode on a mailing list in the 2000’s. However, ownership of the code was recently re-established, and Dectalk is now a commercial product once again. But the new owners haven’t come after the repo yet: https://github.com/dectalk/dectalk
If you want a robotic but realtime voice that’s fully FOSS with known licensing status, you want espeak-ng: https://github.com/espeak-ng/espeak-ng
If you want a fully fledged software application to read things to you, but don’t need a screen reader and don’t want to build scripts yourself, you want bookworm: https://github.com/blindpandas/bookworm
Note, however, that you should build bookworm from source. While the author accepts pull requests, because of his circumstances, he’s no longer able to build new releases: https://github.com/blindpandas/bookworm/discussions/224
If you are okay with using closed-source freeware, Balabolka is another way to go to get a full text to speech reader: https://www.cross-plus-a.com/balabolka.htm
Do you have any idea about their top speeds? I’m looking for a real fast reader but also want a UI.
I got very use to cocoa speech synthesis on Mac and Windows readers feel slow in comparison
If you use Bookworm and use the built-in support for espeak, you can get up to 600 words per minute or so. Dectalk can go well over 900 words per minute. As far as I know, cocoa tops out at around 500 words per minute. So all of the options accept piper should be fine for you.
Also, if you don’t feel comfortable building bookworm from source yourself, and you feel like you can trust me, Here’s a build of the latest bookworm code from github for 64-bit Windows: https://www.sendspace.com/pro/dl/rd388d
I’ve dabbled in a couple recently, xTTS v2 in Coqui sounds pretty good and is pretty quick. Especially if you use one of the built in voices. Has a weird “only for non commercial use” licence if that bothers you.
What platform?
Here some open source text-to-speech software: https://alternativeto.net/software/naturalreader/?license=opensource
You can apply the platform filter to narrow it down.
- Okular on desktop (Linux + Windows)
- Librera Reader aka Librera FD on Android
Selecting text on both apps brings up an option for TTS
Okular
Thanks. That looks like something I needed, just not urgently enough to look for it.
no worries🤗
I’m glad this helps!
Searching for text to speech led me to this post, I am also looking for something I can share webpages to for reading. I listen to podcasts constantly and this just seems like the next logical step for news I want to read.
Like the Klasky-Csupo logo?
I’ve been wondering if folks have a good way to do this for web pages. There are so many things I’d like to read but I have to pass on for time management’s sake.
NaturalReaders did alright, but I wanted something that worked in Firefox, and as good as NaturalReaders was, I found the pauses super jarring at times. Like, it would do a long pause for no punctuation and then a short pause for a period at times … just confused me so much.