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

  • From: 高生旺 <coscell@xxxxxxxxx>
  • To: slint@xxxxxxxxxxxxx
  • Date: Mon, 23 May 2022 17:39:43 +0800 (CST)

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: