[slint] Re: How to let slint support google tts?

  • From: Jordan Livesey <jordanlivesey9@xxxxxxxxx>
  • To: slint@xxxxxxxxxxxxx
  • Date: Mon, 23 May 2022 14:19:06 +0100

the problem with using google tts in linux is its slow to respond if you
have a hard drive and requires internet connection as it has to communicate
with googles servers, and google tts is not open source either unless you
were developing chromium OS , I like the idea but I don't see it working
out, especially since I tried jenux, where this is already a thing but it
doesn't work properly

On Mon, May 23, 2022 at 10:39 AM 高生旺 <coscell@xxxxxxxxx> wrote:

I've installed gtts-cli and want to create a text reader with functions
such as pause, foward, backward etc. but failed.

On Mon, 23 May 2022, Didier Spaier wrote:

Date: Mon, 23 May 2022 11:05:42 +0200
From: Didier Spaier <didier@xxxxxxxx>
Reply-To: slint@xxxxxxxxxxxxx
To: slint@xxxxxxxxxxxxx
Subject: [slint] Re: How to let slint support google tts?

I have found the repository and the documentation:
https://github.com/pndurette/gTTS
https://gtts.readthedocs.io/en/latest/

I will look at packaging it after the release of Slint 15.0

Meanwhile you can install it if not yet done with this command:

pip install --user gTTS

Then add .local/bin to your $PATH or to run it directly:

$HOME/.local/bin/gtts-cli

Cheers,

Didier


Le 23/05/2022 à 04:40, 高生旺 a écrit :
Google tts can speak Chinese very well and there is a gtts python
module.
How can let slint support it?

===============================================================================
The Slint mailing list.
Archive: https://www.freelists.org/archive/slint
To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the
subject
'subscribe' or 'unsubscribe', then answer the email you will receive.
More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or
'commands'.

Other related posts: