https://github.com/mytja-archive/gtts-wrapper
gTTS wrapper for Easy transition from Talkey library
https://github.com/mytja-archive/gtts-wrapper
gtts gtts-wrapper library python python2 python27 python3 talkey-library transition wrapper
Last synced: 8 months ago
JSON representation
gTTS wrapper for Easy transition from Talkey library
- Host: GitHub
- URL: https://github.com/mytja-archive/gtts-wrapper
- Owner: mytja-archive
- License: mit
- Archived: true
- Created: 2020-07-11T17:16:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T09:40:13.000Z (over 5 years ago)
- Last Synced: 2024-09-28T16:40:56.231Z (over 1 year ago)
- Topics: gtts, gtts-wrapper, library, python, python2, python27, python3, talkey-library, transition, wrapper
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gTTS-wrapper
gTTS wrapper for Easy transition from Talkey library
# Note
As of 28.1.2020, this library is unmaintained, archived and retired. It will not recieve any updates.
# How to do it
Include this library in same folder as your code.
Download gTTS and PyGame with pip:
```
pip install gtts
pip install PyGame
```
Then, if you have code like this
```
import talkey
tts = talkey.Talkey()
tts.say('Old McDonald had a farm')
```
You have to change it to this:
```
import gTTSwrapper as tts
tts.say('Old McDonald had a farm')
```
It is easy, you have to change only 2 lines of code. This makes it super simple for easy (simple) transition from Talkey library, if you are interested, what's better.
You get also a lot of options, like language or slow tts:
```
import gTTSwrapper as tts
tts.say('Old McDonald had a farm', language="en", slow=True)
```
But for more details, check this links:
- https://github.com/grigi/talkey
- https://github.com/pndurette/gTTS