-
-
Notifications
You must be signed in to change notification settings - Fork 253
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to change Foliate's TTS client? #723
Comments
(use man espeak-ng or man festival to see all the options) |
You can run
I think Glate is a GUI program. If you'd like to use Google's TTS with Foliate, I'd recommend using gTTS. Once gTTS is installed, save the following script (as described in the FAQ) to any location, say #!/bin/bash
gtts-cli -l $FOLIATE_TTS_LANG_LOWER --file /dev/stdin | play -t mp3 - &
trap 'kill $!; exit 0' INT
wait Then, in Foliate, set |
In Ubuntu, in addition to
|
Now I am almost there. I installed gtts (since there was some problem with my pip command I solve it with this.) Then install that libsox as @apandada1 said. Now, where and how I will "save" that script? Did you mean in .sh file on text editor? Sorry if I am silly. :) |
Yeah, pasting it into a text editor and saving the file should work. |
I did everything you've said and preferences look like that now: |
ops sorry user shouldn't be folder name but mine :) |
Try marking the script as executable.
The script works for me in KDE Neon 20.04. It is hard to debug why it is not working for you. First check if gtts works in terminal.
If not, does it produce any error? |
@apandada1 yes it says hello with that command. |
Run foliate from the Terminal, and check the output when you run a text to speech in it. |
sox not good worked for me and not play first line.
mpv:
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Question:
I am not a fan of reading books from a computer screen.
I install Foliate to listen to my epub books while I am working on the PC. It uses festival tts by default.
I have Glate on Ubuntu 20.04. And they say that Glate has Google TTS included. Can I and how can I use Google TTS on Foliate instead of festival tts?
Thank you in advance!
Version:
The text was updated successfully, but these errors were encountered: