this post was submitted on 05 Apr 2024
48 points (94.4% liked)

Ask Lemmy

26831 readers
1439 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try [email protected]


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

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.

all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 7 months ago (1 children)

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

[–] [email protected] 2 points 7 months ago (2 children)

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

[–] [email protected] 1 points 7 months ago

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.

[–] [email protected] 1 points 7 months ago

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

[–] [email protected] 6 points 7 months ago

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.

[–] [email protected] 4 points 7 months ago

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.

[–] [email protected] 2 points 7 months ago (1 children)

Selecting text on both apps brings up an option for TTS

[–] [email protected] 1 points 7 months ago (1 children)

Okular

Thanks. That looks like something I needed, just not urgently enough to look for it.

[–] [email protected] 1 points 7 months ago

no worries🤗
I'm glad this helps!

[–] [email protected] 1 points 7 months ago

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.

[–] [email protected] 1 points 7 months ago

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.